Django-components

Latest version: v0.82

Safety actively analyzes 642283 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.70

What's Changed

Breaking changes
- `{% if_filled %}` tags were replaced with context variables `{{ component_vars.is_filled.<slot_name> }}`. [See docs](https://github.com/EmilStenstrom/django-components/blob/3fc90e49569ef1b26265ef75b9d58fbf05831a06/README.md#conditional-slots).
- `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](https://github.com/EmilStenstrom/django-components/blob/3fc90e49569ef1b26265ef75b9d58fbf05831a06/README.md#context-behavior)

Feat
* feat: Allow multiple slots with the same name in the same template by JuroOravec in https://github.com/EmilStenstrom/django-components/pull/457
* feat: Support both sync and async in ComponentDependencyMiddleware by TheSteveBurgess in https://github.com/EmilStenstrom/django-components/pull/466
* feat: merge context settings, replace if_filled tag with var by JuroOravec in https://github.com/EmilStenstrom/django-components/pull/465

Fix
* refactor: fix context vars missing in isolated slot by JuroOravec in https://github.com/EmilStenstrom/django-components/pull/455
* refactor: fix slot fills for components nested in themselves by JuroOravec in https://github.com/EmilStenstrom/django-components/pull/456

Chore
* build(deps-dev): bump black from 24.4.0 to 24.4.2 by dependabot in https://github.com/EmilStenstrom/django-components/pull/459
* build(deps-dev): bump tox from 4.14.2 to 4.15.0 by dependabot in https://github.com/EmilStenstrom/django-components/pull/460
* build(deps-dev): bump mypy from 1.9.0 to 1.10.0 by dependabot in https://github.com/EmilStenstrom/django-components/pull/461
* build(deps-dev): bump pytest from 8.1.1 to 8.2.0 by dependabot in https://github.com/EmilStenstrom/django-components/pull/462
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/EmilStenstrom/django-components/pull/463

New Contributors
* TheSteveBurgess made their first contribution in https://github.com/EmilStenstrom/django-components/pull/466

**Full Changelog**: https://github.com/EmilStenstrom/django-components/compare/0.68...0.70

0.68

What's Changed
* chore: Drop support for Django 3.2, 4.0, 4.1 by JuroOravec in https://github.com/EmilStenstrom/django-components/pull/443
* Documentation fixes by tanssinet in https://github.com/EmilStenstrom/django-components/pull/448
* refactor: fix slot context behavior by JuroOravec in https://github.com/EmilStenstrom/django-components/pull/445

New Contributors
* tanssinet made their first contribution in https://github.com/EmilStenstrom/django-components/pull/448

**Full Changelog**: https://github.com/EmilStenstrom/django-components/compare/0.67...0.68

0.67

What's Changed
* build(deps): bump sqlparse from 0.4.4 to 0.5.0 by dependabot in https://github.com/EmilStenstrom/django-components/pull/440
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/EmilStenstrom/django-components/pull/439
* build(deps-dev): bump black from 24.3.0 to 24.4.0 by dependabot in https://github.com/EmilStenstrom/django-components/pull/438
* feat: slot context resolution + slot fill mgmt refactor by JuroOravec in https://github.com/EmilStenstrom/django-components/pull/437
* chore: release v0.67 by JuroOravec in https://github.com/EmilStenstrom/django-components/pull/442


**Full Changelog**: https://github.com/EmilStenstrom/django-components/compare/0.66...0.67

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.