Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

claude: Clarify which version to use in API changelog notes.

whilstsomebody4a9d919281ac
diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md
index e3f6817d5bd..875d4b39cde 100644
--- a/.claude/CLAUDE.md
+++ b/.claude/CLAUDE.md
@@ -130,9 +130,17 @@ Structure changes as clean commits:
of the additions or changes, formatted to match `api_docs/changelog.md`.
In the OpenAPI yaml (`zerver/openapi/zulip.yaml`), reference the same
filename stem in **Changes** notes, e.g.,
- `**Changes**: New in Zulip 12.0 (feature level ZF-XXXXXX).` The merge
- process replaces the placeholder with the final feature level.
- Never update `API_FEATURE_LEVEL` manually.
+ `**Changes**: New in Zulip 13.0 (feature level ZF-XXXXXX).` The merge
+ process matches the `Zulip <version> (feature level ZF-XXXXXX)` shape
+ and overwrites both the version and the placeholder with the real
+ release version and final feature level. Use the upcoming release's
+ version — the next major release after the latest one shipped (e.g.,
+ 13.0 while 12.0 is the current release), which you can read from the
+ first `## Changes in Zulip X.Y` heading in `api_docs/changelog.md`.
+ You must keep the literal `New in Zulip X.Y` format, or the merge
+ tooling won't recognize the note and CI (`check-feature-level-updated`)
+ will fail with the `ZF-` placeholder still in the file. Never update
+ `API_FEATURE_LEVEL` manually.
- Frontend UI changes (with tests and user-facing documentation
updates). Remember to plan to use your visual test skill to check
your work whenever you change web app code (HTML, CSS, JS).