Changelog
Follow up on the latest improvements and updates.
RSS
new
flow_v2
With flow_v2 trigger you can trigger any Shopify Flow. Refer to our Shopify Flow Integration docs for more details.
new
New filters
DataJet now supports webhook filters. Maximum one script responding to webhook with filters is allowed. You can add filter when creating new webhook script. Read more here
DataJet Admin App is now using Polaris 13.9.0.
When inline comment contained a single quote - editor was throwing an error:
tag {% liquid not closed
Issue has been resolved and quotes are now allowed in inline comments.
In HTTP scripts you can now use
return
tag to return HTTP response:{% json res %}
{
"body": {
"status": "ok"
},
"code": 200
}
{% endjson %}
{% return res %}
Old way of returning response (using variable called
response
to set script HTTP response) is still supported and can be used alternatively with return
tagYou can now change how logs are displayed in Developer Console. Navigate to Settings and change
Logs ordering
field to one of possible options:- Most recent at the top(default)
- Most recent at the bottom
Returns a string indicating the type of the operand's value.
{% assign v1 = "string_variable" %}
{% assign v2 = 3 %}
{% json v3 %}
{
"A": "B"
}
{% endjson %}
{% capture msg %}{{v1 | type}}, {{v2| type}}, {{v3 | type}}, {{v4 | type}}{% endcapture %}
{{ msg | log }}
Above snippets logs:
string, number, object, undefined
new
improved
New tag: push
Improvement for adding items to an array.
Previously you could add items to an array using push filter like so:
{% json array_example %}
[ 1,2,3 ]
{% endjson %}
{% assign array_example = array_example | push: 4 %}
This method is not efficient for large arrays because every time time an item is pushed to array - new array is created.
With
push
tag you add an item to array without creating a new array. {% json array_example %}
[ 1,2,3 ]
{% endjson %}
{% push array_example, 4 %}