Skip to content

Commit

Permalink
Update 0.5 release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ellmetha committed May 24, 2024
1 parent c2fa0cb commit 8c47e5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/docs/the-marten-project/release-notes/0.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ article.category # => Category::BLOG
* The [`include`](../../templates/reference/tags.md#include) template tag now supports `isolated` and `contextual` suffixes that allow specifying whether the included templates should have access to the outer context variables. Unless specified, the default behavior is controlled by the new [`templates.isolated_inclusions`](../../development/reference/settings.md#isolated_inclusions) setting.
* A new [`capture`](../../templates/reference/tags.md#capture) template tag was introduced to make it possible to easily assign the output of a block of code to a new variable.
* The output of the [`csrf_token`](../../templates/reference/tags.md#csrf_token) template tag can now be outputted to a variable by leveraging the `as` keyword.
* The `loop` variable, which is available when using the [`for`](../../templates/reference/tags.md#for) template tag, now supports `even?` and `odd?` attributes.

#### Development

Expand Down

0 comments on commit 8c47e5c

Please sign in to comment.