Skip to content

Commit aa69423

Browse files
committed
update release notes
1 parent e461e36 commit aa69423

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/views/pages/release-notes/unreleased.liquid

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,13 @@ metadata:
1717
* **Clearer error messages for `record_update` and `record_destroy`**: When a record with the provided ID cannot be found, the error message now clearly specifies which table was being searched. For example:
1818
* Before: `Couldn't find Customization with 'id'=123`
1919
* After: `Can't find Boats with id=123`
20+
* **`assign` tag now supports hash/array operations directly**: The `assign` tag has been extended with capabilities previously only available through `hash_assign` (which is now deprecated). You can now use a single, unified syntax for all variable assignments, including initializing hash and array:
21+
* **Empty hash/array literals**: {% raw %}`{% assign foo = {} %}`, `{% assign bar = [] %}`{% endraw %} (no need to do {% raw %}`'{}' | parse_json`{% endraw %} anymore)
22+
* **Bracket notation**: {% raw %}`{% assign foo["bar"] = "baz" %}`{% endraw %}
23+
* **Dot notation**: {% raw %}`{% assign foo.bar = "baz" %}`{% endraw %}
24+
* **Mixed notation** (combining dots and brackets): {% raw %}`{% assign foo.bar["baz"] = "qux" %}`{% endraw %}
25+
* **Array append with `<<`**: {% raw %}`{% assign foo << 'bar' %}`{% endraw %} (no need to use `array_add` filter)
26+
* **Nested operations**: Full support for deeply nested hash and array assignments
27+
* **Performance**: Key lookups are pre-computed at parse time for faster rendering
2028

2129
<!-- <h4 class="release-note release-note__fixed">FIXED</h4> -->

0 commit comments

Comments
 (0)