Skip to content

chore: prepare the Citry 0.9.0 release - #685

Merged
JuroOravec merged 11 commits into
mainfrom
release/0.9.0-versions
Nov 15, 2026
Merged

JuroOravec merged 11 commits into
mainfrom
release/0.9.0-versions

Conversation

@JuroOravec

@JuroOravec JuroOravec commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

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.

Package Version Notes
citry 0.9.0 pins citry-core==2.0.0
citry-core 2.0.0 exact pin from citry; major bump because parse_template() now raises SyntaxError for a reserved v-for or v-slot name
citry-lsp 0.4.0 needs citry>=0.9.0; SERVER_VERSION, MINIMUM_CITRY_VERSION and its distribution verifier moved with it
citry-ui 0.5.0 needs citry>=0.9.0 (pyproject, README, quality docs, wheel qualifier, tests, distribution verifier)
pygments-citry 0.3.0
VS Code extension 0.4.0 lspVersion 0.4.0, README pairing line, ^0\.[1-4]\. version check, pip hints citry-lsp>=0.1,<0.5, rebuilt tracked out/ bundle

What each commit does:

  1. Raises citry to 0.9.0 and citry-core to 2.0.0, and pins them together.
  2. Prepares citry-lsp 0.4.0 and citry-ui 0.5.0, each with its citry>=0.9.0 floor and changelog.
  3. Writes the 0.9.0 release notes (root changelog) and the citry-core 2.0.0 notes: an intro, a complete "Upgrading from 0.8.x" list, and the entries that landed on main since 0.8.0.
  4. Refreshes uv.lock.
  5. Leaves 0.8.0 out of the docs versions (exclude: ["0.8.0"] in docs_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.
  6. Moves the whitespace parity work (Whitespace differs between Python-rendered HTML and Vue's render #152) in docs/design/whitespace_parity.md to after 1.0.0.
  7. Prepares pygments-citry 0.3.0 and the VS Code extension 0.4.0.
  8. Says in docs that the lsp pip hints upgrade Citry too, and when extension plugin scripts run.
  9. Stops docs/design/docs_site.md slice 3d from counting the built-in tags.

What I left alone on purpose

  • docs_site/static/playground/runtime.json and docs_site/versions: the Release docs workflow moves them after the publish.
  • Example and benchmark pins, and older changelog sections.
  • A few small changes on main that a user would not notice have no changelog entry.

Checks I ran

  • scripts/validate.py passes, uv lock --check passes, and the release, distribution and playground tests pass.
  • citry-ui: the version and wheel tests, and the whole non-browser suite (3646 passed, 1 skipped).
  • citry-lsp: 1121 passed, 71 skipped, 1 failed. test_engine.py::test_v_for_alias_with_a_reserved_prefix_marks_the_attribute fails because my local Rust extension was built before the v-for alias check landed. A rebuild is needed; CI builds it fresh.
  • VS Code: pnpm run check passes (124 tests, the tracked bundle matches a rebuild).
  • Docs release-notes and guard tests pass.
  • I did not run the Rust build or the full scripts/check.py gate locally. CI does.
  • The advisory survey check (Mechanism 8) needs access to the private security repository, so it is not done. A maintainer with access should run it before the publish.

Merge order and what merging starts

  • This is rebased onto main at 21b17136e. Every 0.9.0 change is already on main.
  • Merging starts Prepare release candidate on its own, because the changelogs and package manifests are among that workflow's paths. It qualifies the six packages above for the merge commit.
  • Hold other merges to main until 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.
  • Nothing is published by merging. Publishing starts only when a maintainer runs Release qualified packages with the candidate run ID.

Release steps after the merge

  1. Inspect the candidate run and confirm every package's artifacts.
  2. A maintainer runs gh workflow run repo--release.yml -f candidate_run_id=<id>.
  3. The publish runs in layers: citry-core and pygments-citry; then citry; then citry-lsp and citry-ui; then the VS Code extension (Open VSX can take up to 45 minutes).
  4. Release docs and Deploy docs move runtime.json and add the 0.9.0 docs snapshot.
  5. Run the playground, live-code and preview tests by hand against the published files:
    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.py
  6. Open the PyPI and Marketplace README links, and install the packages in a clean environment.
  7. Publish the security advisory for the fixes in this release, then write the security review record.

Checklist

  • This change moves versions, floors, changelogs, docs notes and the lockfile, so it adds no tests; the required CI checks run on it
  • CHANGELOG.md updated: the 0.9.0 and citry-core 2.0.0 release notes, plus the citry-lsp, citry-ui, pygments-citry and VS Code notes
  • Docs updated where a note needed it (plugin script order, lsp pip hints, 0.8.0 docs exclusion)
  • No grammar, AST, compiler or binding change; the cross-language contract stays in step

🤖 Generated with Claude Code

JuroOravec and others added 11 commits November 15, 2026 00:28
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]>
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]>
@JuroOravec
JuroOravec merged commit 7b39652 into main Nov 15, 2026
38 checks passed
@JuroOravec
JuroOravec deleted the release/0.9.0-versions branch November 15, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant