pypi django-components 0.70

latest releases: 0.102, 0.101, 0.100...
6 months ago

What's Changed

Breaking changes

  • {% if_filled %} tags were replaced with context variables {{ component_vars.is_filled.<slot_name> }}. See docs.
  • context_behavior and slot_context_behavior settings were merged into context_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

New Contributors

Full Changelog: 0.68...0.70

Don't miss a new django-components release

NewReleases is sending notifications on new releases.