Repository navigation
docs: add the Versioning and support page - #695
Merged
Merged
Conversation
Add docs_site/content/about/versioning.md, which states the Citry 1.x promise: what an upgrade may and may not change, the experimental features, new check rules, deprecations (a deprecated name warns for the rest of 1.x and is removed only in 2.0.0), supported versions, rolling deploys, the frozen citry-events/1 protocol, citry-lsp compatibility, the 24-hour State token default, and the Python and browser policy. Link it from the nav, README.md and SECURITY.md, and list every published package in the SECURITY.md supported-versions table. Add sms: to the allowed link schemes in security.md, update the CitryDeprecationWarning docstring to the new deprecation window, say in template-linting.md that only most rules have a rule_* setting, and fix the citry/__init__.py comment that called every _ name internal. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Write the page for readers already on 1.x, reorder it from the most common questions (pinning, supported versions, Python and browsers, deprecations) to the detailed coverage lists, turn enumerations into sub-lists, and mark the nav entry for review. Align the security-fix wording with the merged Events spec (#693) and list EventsDispatcher and TransportContext as experimental. Co-Authored-By: Claude Opus 5.5 <[email protected]>
JuroOravec
force-pushed
the
docs/versioning-page
branch
from
November 15, 2026 12:02
c024a00 to
536dca5
Compare
Align the Versioning page with the C6 and C7 behavior: a page that gets a State token, render or fragment it cannot read reloads once. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 15, 2026
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.
Part of #624 (item 14, plus the item 4 comment fix and the #601
sms:docs follow-up).What changes
about/versioning.md("Versioning and support"), linked from the nav,README.mdandSECURITY.md. It states the maintainer's 1.0.0 decisions for users:citry>=1.0.0,<2once 1.0.0 is out, one 0.x minor before that, one minor forcitry-ui;_options, templates, settings, hooks, node class names but not constructors, CLI and rule names, VS Code settings and commands, the browser JavaScript API and HTTP routes as PR docs(events): freeze Events v1 #693 sections 4.10 and 4.11 list them, server events) and what it does not;EventsDispatcherandTransportContext;vue-prepared/1renders;citry-events/1protocol;citry-lsp1.x working with anycitry1.x;SECURITY.md: the supported-versions table lists all six published packages and stays true before and after 1.0.0.security.md: addssms:to the allowed link schemes, matchingcitry_ui/components/_url.py, and says what Citry UI does with a refused URL.ide/template-linting.md: says "most rules" have arule_*setting, and points to the Diagnostics page, which marks the rules you can change.CitryDeprecationWarningdocstring: the new deprecation window, and a correct description of when Python shows the warning.citry/__init__.pycomment: the documented_configuration names are covered.No changelog entry. This is a docs and docstring change.
Depends on, or must land with
EventsDispatcherandTransportContextexperimental in their docstrings. Until it lands, the page's claim that every experimental name has an Experimental box is false for those two.security.md("With the default storage and no_max_age, it never expires") and thestate.pydocstring when it adds the 24-hour default. The page says "From 1.0.0".https://citry.dev/about/versioning/links inREADME.mdandSECURITY.mdreturn 404 until the 1.0.0 docs are published.Checks
python -m docs_site build-check --strictwith the docs venv: 0 errors, 0 warnings. The 26 info notes are all on other pages.ruff checkandruff format --checkon the two Python files: pass._options (ext/events/handlers.py,extension.py:351-361for the four app-wide ones), theExperimental:docstring sections, the rule catalog (_diagnostic_catalog.py,_checker.pyhard-codesjs-data.unsupported-typeas a warning), render cache entries keyed by the Citry version (ext/cache/artifact.py:38-40), token handling (ext/events/tokens.py), the Citry UI URL checks, the weekly PyPy 3.11 and 3.14t workflow, the VS Code commands, and every anchor.Review (Mechanism 6)
An independent fact and prose reviewer and the
docs-cold-readerboth ran. Folded in:_option list: four Events options are app-wide only; added_debounceand_throttle;citry.analysisfunctions andOnTemplateForeign*classes;protocol_mismatch;invalid_statewith no reload prompt;citry-uipin advice is in its own bullet;Not changed:
invalid_stateversus the decision's "treated as missing" for a new token format. That is a code change (map a wrong format version tostale_state), listed for the rolling-deploy work.citry-lsp1.x. It is not decided yet.🤖 Generated with Claude Code