From acffb6221e92958631beff06df7be9831dd093ad Mon Sep 17 00:00:00 2001 From: Lloyd Ramey Date: Sun, 30 May 2021 17:52:15 -0400 Subject: [PATCH 1/2] update CHANGELOG --- CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6849595..d9555fcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,24 @@ ## v0.5.0 (WIP) * [components] ErrorTag: Renamed prop `phx_trigger_action` to `trigger_action` + * Introduce new notation for template and slot nodes (`<#template>` and `<#slot>` respectively) + * Add `<:slotname>` shorthand for `<#template slot="slotname">` + * Introduce block expressions for surface templates (`{#if}..{/if}`, `{#for}...{/for}`, etc.) + * Introduce `{#if}` block expression with support for `{#elseif}` and `{#else}` sub blocks + * Introduce `{#unless}` block expression + * Introduce `{#for}` block expression with support for `{#else}` sub block + * Introduce `s-` prefix as an alternative to `:` for directives (i.e. `s-if` and `:if` are now equivalent) + * Added a convert task to aid migrating to the new syntax + +### Deprecations + * `` was deprecated in favor of `{#if}...{/if}` + * `