What's Changed
Feat
- Spread operator
...dict
inside template tags. See Spread operator) (#596){% component "card" ...card_props / %}
- Use template tags inside string literals in component inputs. See Use template tags inside component inputs) (#605)
{% component "card" text="Hello {{ person.name }}" / %}
- Dynamic slots, fills and provides - The
name
argument for these can now be a variable, a template expression, or via spread operator (#609){% component "table" %} {% fill "header-{{ current_column }}" %} <b> {{ current_column }} </b> {% endfill %} {% endcomponent %}
- Component library authors can now configure
CONTEXT_BEHAVIOR
andTAG_FORMATTER
settings independently from user settings (#615)
Fix
- fix: mypy checking with django plugin is broken by @batistadasilva in #595
Refactor
- refactor: move kwargs resolution to render-time + cleanup by @JuroOravec in #594
Docs
New Contributors
- @batistadasilva made their first contribution in #595
Full Changelog: 0.92...0.93