diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ae16564..de98e1d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,7 +30,7 @@ repos: hooks: - id: rstcheck additional_dependencies: - - tomli==2.0.1 + - tomli==2.5.0 - repo: https://github.com/adamchainz/django-upgrade rev: 1.33.0 hooks: @@ -42,7 +42,7 @@ repos: additional_dependencies: - black==26.10.1 - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.17.0 + rev: v0.17.2 hooks: - id: ruff-check args: [ --fix ] diff --git a/CHANGELOG.md b/CHANGELOG.md index 0756cfd..3ed078b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Unreleased + +- Updates daisyUI to 5.7.50 in the v4 template and standalone mode; +- Updates postcss to 8.5.31 in the npm-based templates; +- Updates postcss-nested to 9 in the npm-based v4 template. Nested selectors with more than one `&` under a parent selector list now expand to every combination, matching Sass and native CSS nesting; + ## 4.6.0 **Breaking changes:** diff --git a/example/theme/static_src/package.json b/example/theme/static_src/package.json index 4d22733..51c6ae4 100644 --- a/example/theme/static_src/package.json +++ b/example/theme/static_src/package.json @@ -14,11 +14,11 @@ "license": "MIT", "devDependencies": { "@tailwindcss/postcss": "^4.3.3", - "daisyui": "^5.7.48", + "daisyui": "^5.7.50", "cross-env": "^10.1.0", - "postcss": "^8.5.30", + "postcss": "^8.5.31", "postcss-cli": "^12.0.0", - "postcss-nested": "^8.0.1", + "postcss-nested": "^9.0.1", "postcss-simple-vars": "^7.0.1", "rimraf": "^6.1.3", "tailwindcss": "^4.3.3" diff --git a/src/tailwind/app_template_v3/{{cookiecutter.app_name}}/static_src/package.json b/src/tailwind/app_template_v3/{{cookiecutter.app_name}}/static_src/package.json index 41cb72f..21fcbe3 100644 --- a/src/tailwind/app_template_v3/{{cookiecutter.app_name}}/static_src/package.json +++ b/src/tailwind/app_template_v3/{{cookiecutter.app_name}}/static_src/package.json @@ -18,7 +18,7 @@ "@tailwindcss/forms": "^0.5.11", "@tailwindcss/typography": "^0.5.20", "cross-env": "^7.0.3", - "postcss": "^8.5.30", + "postcss": "^8.5.31", "postcss-import": "^16.1.1", "postcss-nested": "^7.0.2", "postcss-simple-vars": "^7.0.1", diff --git a/src/tailwind/app_template_v4/{{cookiecutter.app_name}}/static_src/package.json b/src/tailwind/app_template_v4/{{cookiecutter.app_name}}/static_src/package.json index 1a80405..aa60585 100644 --- a/src/tailwind/app_template_v4/{{cookiecutter.app_name}}/static_src/package.json +++ b/src/tailwind/app_template_v4/{{cookiecutter.app_name}}/static_src/package.json @@ -14,11 +14,11 @@ "license": "MIT", "devDependencies": { "@tailwindcss/postcss": "^4.3.3", -{% if cookiecutter.include_daisy_ui == 'yes' %} "daisyui": "^5.7.48",{% endif %} +{% if cookiecutter.include_daisy_ui == 'yes' %} "daisyui": "^5.7.50",{% endif %} "cross-env": "^10.1.0", - "postcss": "^8.5.30", + "postcss": "^8.5.31", "postcss-cli": "^12.0.0", - "postcss-nested": "^8.0.1", + "postcss-nested": "^9.0.1", "postcss-simple-vars": "^7.0.1", "rimraf": "^6.1.3", "tailwindcss": "^4.3.3" diff --git a/src/tailwind/management/commands/tailwind.py b/src/tailwind/management/commands/tailwind.py index 60d12e0..37b2ae8 100644 --- a/src/tailwind/management/commands/tailwind.py +++ b/src/tailwind/management/commands/tailwind.py @@ -25,7 +25,7 @@ # Pinned to the daisyUI release matching the npm-based v4 template, so standalone and # npm projects generated by the same django-tailwind version ship the same daisyUI. -DAISYUI_STANDALONE_VERSION = "v5.7.48" +DAISYUI_STANDALONE_VERSION = "v5.7.50" DAISYUI_STANDALONE_FILES = ("daisyui.mjs", "daisyui-theme.mjs") DAISYUI_STANDALONE_PLUGIN_LINE = '@plugin "./daisyui.mjs";'