What's Changed
Breaking changes
{% if_filled %}
tags were replaced with context variables{{ component_vars.is_filled.<slot_name> }}
. See docs.context_behavior
andslot_context_behavior
settings were merged intocontext_behavior
. Now there's only 2 options -"isolated"
and"django"
."isolated"
is the default. See docs
Feat
- feat: Allow multiple slots with the same name in the same template by @JuroOravec in #457
- feat: Support both sync and async in ComponentDependencyMiddleware by @TheSteveBurgess in #466
- feat: merge context settings, replace if_filled tag with var by @JuroOravec in #465
Fix
- refactor: fix context vars missing in isolated slot by @JuroOravec in #455
- refactor: fix slot fills for components nested in themselves by @JuroOravec in #456
Chore
- build(deps-dev): bump black from 24.4.0 to 24.4.2 by @dependabot in #459
- build(deps-dev): bump tox from 4.14.2 to 4.15.0 by @dependabot in #460
- build(deps-dev): bump mypy from 1.9.0 to 1.10.0 by @dependabot in #461
- build(deps-dev): bump pytest from 8.1.1 to 8.2.0 by @dependabot in #462
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #463
New Contributors
- @TheSteveBurgess made their first contribution in #466
Full Changelog: 0.68...0.70