Repository navigation
release: 0.151.1 - require djc-core 1.3.1 (multiline string fix) - #1669
Merged
Merged
Conversation
Raise the djc-core floor to 1.3.1 so component tags accept multiline plain-string values again (regression from djc-core 1.3.0, fixed in djc-core 1.3.1 / PR #37). - pyproject.toml: djc-core>=1.3.1 (runtime + dev), version 0.151.1 - tox.ini: djc-core==1.3.1 (testenv + e2e) - uv.lock: refreshed to djc-core 1.3.1 / django-components 0.151.1 - CHANGELOG.md: v0.151.1 entry - tests/test_tag_parser.py: regression test mirroring djc-core's source-of-truth (test_template_parser__tag.py) Verified against djc-core 1.3.1 from PyPI: ruff, ruff format, and mypy clean; full non-e2e suite green (1209 + 58 passed); the multiline regression test passes. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Contributor
Performance Benchmark ResultsComparing PR changes against master branch: Benchmarks that have stayed the same:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(Opus 4.8)
Release django-components 0.151.1, raising the
djc-corefloor to 1.3.1.Why
djc-core1.3.0 introduced aSyntaxErrorregression: a component input whosevalue is a quoted string spanning multiple lines and containing no
{{ }}expressions (e.g. an Alpine.js / hyperscript handler) failed to compile:
djc-core1.3.1 (published to PyPI) fixes it. This PR raises our minimum so usersget the fix.
Changes
pyproject.toml:djc-core>=1.3.1(runtime + dev), version0.151.1tox.ini:djc-core==1.3.1(testenv + e2e)uv.lock: refreshed todjc-core1.3.1 (surgical - only the djc-core wheels + project version changed)CHANGELOG.md:v0.151.1entrytests/test_tag_parser.py: regression test for the multiline case, mirroringdjc-core's source-of-truthtest_template_parser__tag.py(which previously hadno such case)
Verification (against
djc-core==1.3.1from PyPI)ruff check .,ruff format --check .,mypy .- all cleantest_string_multiline_valuepasses (it raisesSyntaxErroron 1.3.0, passes on 1.3.1)After merge
Tag
0.151.1to trigger the PyPI publish.🤖 Generated with Claude Code