From 468a593a472c35379fe7567918e8a534b2d53748 Mon Sep 17 00:00:00 2001 From: Juro Oravec Date: Fri, 6 Dec 2024 08:48:49 +0100 Subject: [PATCH] chore: bump v0.116 (#822) * chore: bump v0.116 * docs: update changelog --- CHANGELOG.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc716955..44e29f8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,50 @@ # Release notes +## v0.116 + +#### Fix + +- Fix the order of execution of JS scripts: + - Scripts in `Component.Media.js` are executed in the order they are defined + - Scripts in `Component.js` are executed AFTER `Media.js` scripts + +- Fix compatibility with AlpineJS + - Scripts in `Component.Media.js` are now again inserted as ` + + + {% component 'my_alpine_component' / %} + {% component_js_dependencies %} + + + ``` + + Option 2 - AlpineJS loaded in `` AFTER `{% component_js_depenencies %}`: + ```html + + + {% component_css_dependencies %} + + + {% component 'my_alpine_component' / %} + {% component_js_dependencies %} + + + + + ``` + ## v0.115 #### Fix diff --git a/pyproject.toml b/pyproject.toml index a4929e34..9862e913 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "django_components" -version = "0.115" +version = "0.116" requires-python = ">=3.8, <4.0" description = "A way to create simple reusable template components in Django." keywords = ["django", "components", "css", "js", "html"]