Repository navigation
chore: prepare the Citry 0.9.0 release - #685
Merged
Merged
Conversation
Set citry to 0.9.0 and citry-core to 2.0.0, and pin citry to citry-core 2.0.0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Set citry-lsp to 0.4.0 and raise its citry floor to 0.9.0, because it reads only the editor data that citry 0.9.0 writes. The floor is in pyproject.toml, MINIMUM_CITRY_VERSION, the expected requirement in the distribution verifier, the README, and the compatibility tests. Move the changelog's Unreleased notes under 0.4.0 and say that the release requires citry 0.9.0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Set citry-ui to 0.5.0 and raise its citry floor to 0.9.0. The floor is in pyproject.toml, the expected requirement in the wheel qualifier and the distribution verifier, the READMEs, and the tests that read it. Move the changelog's Unreleased notes under 0.5.0 and state the new floor as a breaking change, with the reason: the rendered-fill checks need the 0.9.0 parser. Reword the comment in _validation.py that said Citry UI runs on older releases. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Move the Unreleased notes under v0.9.0 and v2.0.0. Rewrite the citry intro to name the main changes, and move the entries that need action on upgrade (the reserved v-for and v-slot names, the c-bind errors on c-slot and c-fill, and the citry-lsp upgrade) into "Upgrading from 0.8.x". Say in both changelogs that the reserved-name check also covers a v-slot or #name pattern on a template element. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Citry 0.8.0 does not import on Pyodide, so the docs playground cannot run on a 0.8.0 snapshot and the Release docs run for it failed. The docs release builds only the tag it is given, and the versions check compares the manifest with the built folders, so nothing expects a 0.8.0 entry. Only `docs build-all`, which rebuilds every release tag, would pick up the [email protected] tag, so list 0.8.0 under versions.exclude. The v0.8.0 release notes say why the version picker has no 0.8.0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The maintainer moved the whitespace parity work (#152) to a release after 1.0.0. Say so in the design's status line, and write "the release that builds this" where the design named 0.9.0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Set pygments-citry to 0.3.0, move the changelog's Unreleased notes under 0.3.0, and refresh uv.lock. This is a separate commit so the release can leave pygments-citry out. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Set the extension to 0.4.0 and its lspVersion to 0.4.0. The extension accepted only citry-lsp 0.1.x to 0.3.x and would have refused 0.4.x, so extend that range to 0.4.x, including the pip hints, the error text and the test, and rebuild the committed out/ files. The README says that Citry 0.9.0 pairs with citry-lsp 0.4.x, and the changelog gets a 0.4.0 entry. This is a separate commit so the release can leave the extension out. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s run The VS Code extension's two pip hints (citry-lsp>=0.1,<0.5) now say that citry-lsp 0.4.x needs Citry 0.9.0 or later, so the install upgrades Citry too, and the committed out/ files are rebuilt. The "When scripts run" page now says that a script registering an extension's browser plugin, such as the i18n runtime, runs after Citry's own browser code and before every dependency file and component script, which matches the code in _vue/serialization.py and the 0.9.0 changelog entry. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…3d notes The notes said the Built-in tags page covers "all 15 public tags", seven component-backed and eight syntax-backed. Citry owns 18 tag names today, so the page covers every public built-in tag, and the current list stays in template_grammar.md#built-in-tag-names, which the entry already links a few lines further down. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
What this does
Prepares the release values for Citry 0.9.0 and the packages that ship with it. It changes versions, floors, changelogs, a few docs notes and the lockfile. It adds no runtime code.
citrycitry-core==2.0.0citry-corecitry; major bump becauseparse_template()now raisesSyntaxErrorfor a reservedv-fororv-slotnamecitry-lspcitry>=0.9.0;SERVER_VERSION,MINIMUM_CITRY_VERSIONand its distribution verifier moved with itcitry-uicitry>=0.9.0(pyproject, README, quality docs, wheel qualifier, tests, distribution verifier)pygments-citrylspVersion0.4.0, README pairing line,^0\.[1-4]\.version check, pip hintscitry-lsp>=0.1,<0.5, rebuilt trackedout/bundleWhat each commit does:
citryto 0.9.0 andcitry-coreto 2.0.0, and pins them together.citry>=0.9.0floor and changelog.mainsince 0.8.0.uv.lock.exclude: ["0.8.0"]indocs_site/docs_versions.yml) and adds a note to the v0.8.0 release notes: 0.8.0 does not import on Pyodide, so the playground and docs picker start at 0.9.0.docs/design/whitespace_parity.mdto after 1.0.0.docs/design/docs_site.mdslice 3d from counting the built-in tags.What I left alone on purpose
docs_site/static/playground/runtime.jsonanddocs_site/versions: the Release docs workflow moves them after the publish.mainthat a user would not notice have no changelog entry.Checks I ran
scripts/validate.pypasses,uv lock --checkpasses, and the release, distribution and playground tests pass.test_engine.py::test_v_for_alias_with_a_reserved_prefix_marks_the_attributefails because my local Rust extension was built before thev-foralias check landed. A rebuild is needed; CI builds it fresh.pnpm run checkpasses (124 tests, the tracked bundle matches a rebuild).scripts/check.pygate locally. CI does.Merge order and what merging starts
mainat21b17136e. Every 0.9.0 change is already onmain.mainuntil the candidate run and the Check, Python tests, Rust tests and examples runs for the merge commit have finished, so a newer push does not cancel them.Release steps after the merge
gh workflow run repo--release.yml -f candidate_run_id=<id>.citry-coreandpygments-citry; thencitry; thencitry-lspandcitry-ui; then the VS Code extension (Open VSX can take up to 45 minutes).runtime.jsonand add the 0.9.0 docs snapshot.CITRY_PLAYGROUND_PINS_MATCH_CHECKOUT=1 uv run --no-sync pytest docs_site/tests/e2e/test_playground_e2e.py docs_site/tests/e2e/test_live_code_e2e.py docs_site/tests/e2e/test_preview_bridge_e2e.pyChecklist
CHANGELOG.mdupdated: the 0.9.0 and citry-core 2.0.0 release notes, plus the citry-lsp, citry-ui, pygments-citry and VS Code notes🤖 Generated with Claude Code