Skip to content

19.0.0 大版本:PROTOCOL_VERSION 升到 19.0.0(预发布模式进入之后) #37229

Backlog

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

④ sub-issue of #36890 · Source: ruling 7153441862 on #36890 (the route to 19.0.0, maintainer 「A」), item 2: "A small PR moves PROTOCOL_VERSION to 19.0.0." Zone a4-S chose to file it as its own card rather than a second commit in #37223, because it moves a published @objectstack/spec constant (spec-lane surface) while #37223 is an i18n changeset. Part of #36890.

维护者速读

  • 下一版是 19.0.0 大版本(7153326968),走预发布模式、next 标签(7153441862「A」)。
  • @objectstack/spec 的 PROTOCOL_VERSION 现在是 18.0.0。测试要求它的大版本号和 spec 包的大版本号一致,所以要跟着升到 19.0.0。
  • 这一张只改这个常量和它的测试/文档,不跑发版,不进预发布模式。

What

  • packages/spec/src/kernel/protocol-version.ts:22: PROTOCOL_VERSION = '18.0.0' → '19.0.0', plus whatever the constant's own docblock and any derived baseline or doc that quotes the protocol major need. Measure every place that does; don't guess.
  • One changeset for @objectstack/spec. Read the level rule in check-changeset-no-major.mjs ("The LEVEL axis") and Metadata-protocol: / Clause-②: from scripts/pm/clause2-line.mjs. The protocol major moving is a semantic change to the protocol, so judge the line from the content and say why.
  • Before the PR leaves draft: run node scripts/check-changeset-no-major.mjs on the tree with .changeset/pre.json on main and 大版本声明:18.6.0 已发布、主干已删除的界面文案统一写入发版说明(约 35 条) #37223's '@object-ui/i18n': major pending. Confirm that "The protocol lockstep evidence" reads the fixed-group major as a pending @objectstack/spec major and admits the constant one major ahead. If it reads only a major written for @objectstack/spec itself, stop and report: then either this card or 大版本声明:18.6.0 已发布、主干已删除的界面文案统一写入发版说明(约 35 条) #37223 must also carry '@objectstack/spec': major, and that is the seat's call.

Done when

Notes

Activity

  1. added
    priority:p2
    domain:spec
    pm:blocked
    on Nov 25, 2026
  2. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    Scope update · 2026-11-25T06:43Z · from #37223's os-dev report 7155025948, measured on PR #37230 at e43e989948

    • Still needed: yes. The version step does sync the constant: in a throwaway worktree, scripts/sync-protocol-version.mjs prints PROTOCOL_VERSION 18.0.0 -> 19.0.0. But release.yml's version-PR validation flags any version pass that rewrites protocol-version.ts as UNVALIDATED and refuses it. The reason: examples/app-crm, examples/app-showcase and examples/app-todo declare engines.protocol: '^18', and the ADR-0087 D1 handshake would refuse them under 19.
    • So this card's surface widens. In one reviewed PR, move PROTOCOL_VERSION to 19.0.0 AND those three engines.protocol ranges. Measure on claim every other engines.protocol declaration in the tree (examples, templates, docs snippets, test fixtures), and every reader that compares it, and move or pin each.
    • Landing order is unchanged: after 大版本声明:18.6.0 已发布、主干已删除的界面文案统一写入发版说明(约 35 条) #37223 (PR chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads #37230: pre.json plus the pending @objectstack/spec major) merges. With both present the protocol lockstep admits the constant one major ahead. Re-run check-changeset-no-major and protocol-version.test.ts on the claim's tree to confirm.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxdomain:specpm:blockedpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions