Skip to content

release: citry 1.3.0 and citry-lsp 1.0.1 - #882

Merged
JuroOravec merged 4 commits into
mainfrom
release/1.3.0
Nov 25, 2026
Merged

JuroOravec merged 4 commits into
mainfrom
release/1.3.0

Conversation

@JuroOravec

@JuroOravec JuroOravec commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

(Opus 5.5)

Release changes for citry 1.3.0 and citry-lsp 1.0.1, steps 1 to 4 of "Current release process" in docs/codebase.md.

This branch started from security/1.3.0-fixes (#881), which is now merged into main (31bc11e), and has main merged in. Its diff against main is only the release changes below.

Packages

Package Last tag Decision Evidence
citry 1.2.0 1.3.0 New features (#858, #866, #868), fixes, and the security fixes from #881. The citry-core==2.1.2 pin is unchanged.
citry-core 2.1.2 none Since the tag, only Cargo.lock (url 2.5.9 for RUSTSEC-2026-0592, form_urlencoded, rustix) and package metadata (author email, Typing :: Typed) changed. cargo tree -p citry_core_py -e normal,build --target all (also with --features abi3-py311 and --all-features) contains no url, form_urlencoded or rustix. url is an optional dependency of ruff_db that the wheel build does not enable, and rustix comes only through a dev-dependency. The wheel ships the same code as 2.1.2.
citry-lsp 1.0.0 1.0.1 app_worker.py now reads detached from the handler record that citry 1.3.0's dispatcher uses, and falls back to the function's options on an older citry. The bundled Babel type stubs got a patch update (#691). The floor stays citry>=1.0.0,<2.
citry-ui 0.7.0 none #845 changed only citry_ui/quality/, which pyproject.toml excludes from the wheel. The other changes are metadata and the dev group.
vscode-citry 1.0.1 none No changes. citry.lspVersion stays 1.0.0, because the extension accepts any citry-lsp 1.x.

scripts/release.py plan --packages auto selects exactly citry 1.3.0 and citry-lsp 1.0.1, in one layer.

Changes

  • packages/py/citry/pyproject.toml, packages/py/citry_lsp/pyproject.toml, uv.lock: version bumps.
  • packages/py/citry_lsp/CHANGELOG.md: new ## [1.0.1] - 2026-11-25 entry.
  • packages/py/citry_lsp/tests/test_project.py: the late-detached test skips itself on a citry whose handler record has no detached field. Release qualification runs citry-lsp's tests against citry 1.0.0 (scripts/lsp_citry_pairs.py old-citry), where the test failed with AttributeError.
  • CHANGELOG.md v1.3.0: clear problems from a cold read are fixed:
    • the intro points readers at the Changed section and the Security: entries;
    • the https Origin entry says it covers calls other than GET and is marked Security:;
    • the header/query token mismatch is folded into the GET header entry;
    • the Dispatch entry says citry: was already refused;
    • the PyPy entry says the limit dropped from 64 to 32 levels;
    • 1.2.x becomes 1.2.0;
    • two long entries are split into shorter sentences;
    • an unsupported claim about the data-cid attribute is removed.

Not changed: docs_site/static/playground/runtime.json stays on the released 1.2.0, 2.1.2 and 0.7.0 wheels, as the release docs require. Historical mentions of 1.2.0 (comparisons in docs, tests, the benchmark baselines) stay as they are.

Checks

  • scripts/validate.py: all validators passed.
  • uv lock --check: passed.
  • Release tests, run in a venv with this checkout's citry and the published citry-core 2.1.2 (the crates are unchanged since that tag): test_release_controller, test_release_tag, test_release_links, test_release_security_policy, test_pypi_release, test_playground_release, test_supported_versions, test_release_dependency_wheels, test_lsp_citry_pairs_script, test_release_closeout, test_release_site_update, test_lsp_support_module, test_ci_workflows, test_citry_core_wheel, and docs_site/tests/test_release_notes.py, test_versioning.py, test_versions_guards.py: all passed.
  • The whole citry-lsp test suite against citry 1.0.0 from PyPI, run the same way as the old-citry check: 1169 passed, 74 skipped.
  • ruff on the changed test file: passed.

Versioning

citry 1.3.0 is a minor release. It adds APIs (local_url_or, is_local_url, RouteRequest.scheme), adds a citry check finding for switch, and contains security fixes that refuse input 1.2.0 accepted. The 1.x rules allow such refusals in a minor release, and the changelog describes each one. citry-lsp 1.0.1 is a patch release with a bug fix, and its floor is unchanged.

Before merging

  • The three advisories linked from the changelog (GHSA-gj9m-wwqx-m37j, GHSA-2jch-pr4c-gf9m, GHSA-29wx-2wvw-8962) are still drafts, so the links 404 until they are published after release (Releasing advisory fixes, step 7).
  • The citry-lsp changelog is dated 2026-11-25. If publishing moves to a later day, update the date.

🤖 Generated with Claude Code

JuroOravec and others added 4 commits November 25, 2026 01:55
Bumps citry to 1.3.0 and citry-lsp to 1.0.1 in their manifests and
uv.lock, and adds a dated citry-lsp changelog entry for the editor's
`detached` fix. citry-core stays at 2.1.2: the `url` 2.5.9 update is
not in the dependency tree that builds the wheel. citry-ui and the
VS Code extension are not bumped.

The test that a late `@event(detached=True)` does not change the
editor's hint now skips itself on a citry whose handler record has no
`detached` field. Release qualification runs citry-lsp's tests against
citry 1.0.0, where the late decorator does apply when the call runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From a cold read of the merged entries: the intro points readers at the
Changed section and the Security entries, the Origin entry says it
covers calls other than GET and is marked Security, the header/query
token mismatch joins the GET header entry, the Dispatch entry says
`citry:` was already refused, the PyPy depth entry says the limit fell
from 64 to 32, "1.2.x" becomes 1.2.0, two long entries are split into
readable sentences, and an unsupported claim about a second compiled
template is dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The intro explains `stale_state` and says the PyPy rules apply to every
implementation except CPython. The PyPy depth entry keeps the two cases
that can still end the process, the serializer entry says which case
refuses the extra shapes, the header mismatch names GET calls, the guard
entry lists examples after the rule, and the citry-lsp entry says the
editor reports an error.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JuroOravec
JuroOravec marked this pull request as ready for review November 25, 2026 01:20
@JuroOravec
JuroOravec merged commit 08079f4 into main Nov 25, 2026
38 checks passed
@JuroOravec
JuroOravec deleted the release/1.3.0 branch November 25, 2026 03:38
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