Skip to content

Commit 085f26c

Browse files
docs(releases/v19): date the four next.2 breaking changes, add #38810 and name each late-listed set (#39477)
<!-- claude-projects-attribution: {"github_login":"os-elon-musk"} --> _Requested by **Elon** · [project thread](https://claude.ai/code/project/chan_01WedDzV26nniwxv7jC88B9D?thread=cmsg_01WedDzV26nniwxv7jC88B9DJ7npdJXwxZoLMseExo4xN7)_ Fixes #38300 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:升级到 19 预发布版的客户在 v19 发布说明页上看到四条破坏性改动正确标为第二个预发布版已发出,新增「已关闭状态下审批期间记录被锁定」这条破坏性改动,并有一节列出每次发版晚一版才进更新说明的条目。 - 为什么做:执行你对「19 预发布版的更新说明晚一版才补全」的裁定(维持发版流程不变,事后补正升级指南),替照着指南升级的客户把日期和漏项补齐。 - 出错会怎样:只改一页文档,写错只会让读者看到错误的版本标注,不影响任何代码或发版,可直接撤回。 - 要你做什么:无。 ## What changes One file, `content/docs/releases/v19/index.mdx`, per ruling 7397389525 (route D) and `docs/releases-maintenance.md` step 3: - **Re-dated to `next.2`.** #37929, #37971, #37963 and #37896 were marked "on `main`" (defined on the page as first shipping in `19.0.0-next.3`). Each landed before the `19.0.0-next.2` version commit `9d111a7f` and shipped in it; their lines now carry "`next.2`". - **Added #38810 under 需手动处理** (Access section), marked "`next.3`": on an object that declares `closedStates`, an edit while the approval is between steps or after its last decision is refused `409 RECORD_LOCKED`, with the changeset's one-line fix. - **New subsection "Listed one prerelease late"** under "How a breaking change lands on this line", naming the pending set at each version commit: next.2 (7 changesets: the four above plus #37897, #38059, #38067), next.3 (19 changesets, all #38810, one breaking), next.4 (1 changeset, #39342, not breaking). - The intro defines the new markers, and the "How this list was built" sentence on the 30 pending breaking changesets now says four of them shipped in next.2. No release-procedure change, no gate, no edit to a generated `CHANGELOG.md` or a pending changeset. ## Tests Docs only; no tested behaviour changed. Measurements behind every date, on objectstack-ai/objectstack at `6ba7fa8f3` (history fetched from origin): <details><summary>Ship version of each PR</summary> - `packages/spec/package.json` version at `9d111a7f` / `ea6e312a` / `779ff419`: `19.0.0-next.2` / `next.3` / `next.4`; at `9d111a7f^`: `next.1`. - `git merge-base --is-ancestor C V`: #37929 `58b513a6`, #37971 `35506654`, #37963 `9351562c`, #37896 `560b558f` are ancestors of `9d111a7f` (exit 0); #38810 `440574f6` is not an ancestor of `9d111a7f` (exit 1, landed after it) and is of `ea6e312a` (exit 0); #39342 `ac14a744` is an ancestor of `779ff419` only. - `git ls-tree --name-only V .changeset/` (root `*.md`, README excluded): 7 at `9d111a7f`, 19 at `ea6e312a`, 1 at `779ff419`; each mapped to its landing commit with `git log --diff-filter=A`. - `classifyReleaseBullet` over those 27 bodies: next.2 set: 36495 migrated, 37307 migrated, 37467 manual, runtime-object-less-action manual, the other three not breaking; next.3 set: only `37767-hold.md` breaking (manual); next.4: not breaking. - Late entries in the tarball CHANGELOGs at `779ff419`: `packages/spec/CHANGELOG.md` lists `58b513a` and `3550665` under `## 19.0.0-next.3` with "Shipped in 19.0.0-next.2"; `packages/plugins/plugin-approvals/CHANGELOG.md` lists `440574f` under `## 19.0.0-next.4` with "Shipped in 19.0.0-next.3". </details> ## Acceptance notes - Step 3 says to name each pending changeset, so the new subsection also names the three non-breaking next.2 fixes (#37897, #38059, #38067), which the ruling did not list by number. They appear only in that subsection, not in the breaking list. - The status blockquote ("Read on 2026-12-03") and the page's other counts are unchanged. - The analysis noted a possible wording point on step 1 of `docs/releases-maintenance.md` (its list cannot see queue entries ahead of the Version PR). It is outside this claim's file surface and was not touched. ## Verification Read first: `content/docs/releases/v19/index.mdx`, the new "Listed one prerelease late" subsection and the #38810 line in the Access section. Two-minute check: `git merge-base --is-ancestor 58b513a 9d111a7; echo $?` prints `0` (the action-locations change is in the next.2 version commit). <details><summary>Local gates at 6ba7fa8</summary> `node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --ran FILE`: "Run reconciliation — 52 derived, 52 run, 0 NOT-MEASURED, 0 UNRUN", "a DERIVED zero — all 52 recorded an exit code and none of them is 3". All 52 exited 0, including: - `pnpm check:release-notes`: "OK — every released major has a curated, navigable release page." - `pnpm check:release-page-status`: exit 0 - `node scripts/check-release-section-coverage.mjs --strict`: exit 0 - `pnpm check:doc-anchors`: "1232 internal #fragment link(s) across 369 source file(s) all resolve to a real heading" Three lint/spec gates first exited 3 (prerequisite not met: `@objectstack/lint` and `@objectstack/client-react` not built); after building those closures they exited 0. </details> --- _Generated by [Claude Code](https://claude.ai/code/session_016WV4cxRh6Sbfo2Xm49JPx6)_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5baf187 commit 085f26c

1 file changed

Lines changed: 47 additions & 11 deletions

File tree

‎content/docs/releases/v19/index.mdx‎

Lines changed: 47 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ prerelease. The second,
2525
below landed on `main` after 18.6.0, each with its own changeset saying what
2626
breaks and how to move. It ships in a `19.0.0-next.N` prerelease. A line
2727
marked "on `main`" landed after `19.0.0-next.2` and first ships in
28-
`19.0.0-next.3`; a line marked "`next.4`" first ships in `19.0.0-next.4`.
28+
`19.0.0-next.3`; a line marked "`next.4`" first ships in `19.0.0-next.4`. A
29+
line marked "`next.2`" or "`next.3`" first ships in that prerelease, and its
30+
`CHANGELOG.md` entry comes one prerelease late
31+
([Listed one prerelease late](#listed-one-prerelease-late)).
2932

3033
## Breaking changes
3134

@@ -37,8 +40,10 @@ pending for the next cut. Each changeset body was classified by
3740
function that groups a GitHub Release body: **159 are breaking**, from 155
3841
pull requests. 98 need you to act and 61 carry a registered ADR-0087 entry
3942
that `os migrate meta` lists for you. 30 of the 159 (13 to act on, 17
40-
registered) are among the pending changesets, and their lines say "on
41-
`main`"; the `19.0.0-next.3` version pass (2026-12-01) consumed all 219
43+
registered) are among the pending changesets. Four of the 30 landed before
44+
the `19.0.0-next.2` version commit and shipped in it, and their lines say
45+
"`next.2`"; the lines of the others say "on `main`". The `19.0.0-next.3`
46+
version pass (2026-12-01) consumed all 219
4247
pending changesets. It also consumed 76 that landed after `6eb23c87`, and 19
4348
of those are breaking (6 to act on, 13 registered). This list does not carry
4449
those 19 yet: read them in each package's `CHANGELOG.md` under
@@ -152,8 +157,7 @@ the same 102 among those changesets at `6eb23c87`.
152157
[#36132](https://github.com/objectstack-ai/objectstack/pull/36132)
153158
- An action not bound to an object accepts no record: a call carrying a
154159
`recordId` or a `params._selectedIds` is refused `400 VALIDATION_FAILED`.
155-
[#37896](https://github.com/objectstack-ai/objectstack/pull/37896) — on
156-
`main`
160+
[#37896](https://github.com/objectstack-ai/objectstack/pull/37896) — `next.2`
157161
- Every data door judges environment membership.
158162
[#36134](https://github.com/objectstack-ai/objectstack/pull/36134)
159163
- The restriction profile is served on the unscoped route only; its
@@ -171,6 +175,13 @@ the same 102 among those changesets at `6eb23c87`.
171175
[#35716](https://github.com/objectstack-ai/objectstack/pull/35716),
172176
[#35741](https://github.com/objectstack-ai/objectstack/pull/35741),
173177
[#36695](https://github.com/objectstack-ai/objectstack/pull/36695)
178+
- On an object that declares `closedStates`, a record is held for the whole
179+
approval: an edit between two steps, or after the last decision until the
180+
approval is over, is refused `409 RECORD_LOCKED`, also when an automation
181+
that runs as a user outside the approval's own flow makes it. Make the edit
182+
before submitting or after the approval is over, or from the approval's own
183+
flow; run such an automation with `runAs: 'system'`.
184+
[#38810](https://github.com/objectstack-ai/objectstack/pull/38810) — `next.3`
174185
- On an object with `sharingModel: 'public_read_write'` and an owner field, a
175186
delete follows the record's owner, as on a private object: the owner, a
176187
manager above the owner, or a Modify All holder deletes it, and who created
@@ -405,8 +416,7 @@ the same 102 among those changesets at `6eb23c87`.
405416
- The knowledge field gate stops asking about a field named `title`; a source
406417
whose index could still hold an earlier-rule title is searched only once its
407418
index is proven built under the current recipe.
408-
[#37963](https://github.com/objectstack-ai/objectstack/pull/37963) — on
409-
`main`
419+
[#37963](https://github.com/objectstack-ai/objectstack/pull/37963) — `next.2`
410420
- A knowledge source naming a platform object the host does not serve is
411421
refused at publish, for a write naming no package and under a stated
412422
package closure.
@@ -513,8 +523,7 @@ of the other 30 landed after 18.6.0 on the protocol-18 step, which
513523
`main`
514524
- An action's `locations` say what it acts on: `list_toolbar`, `list_item`,
515525
`record_header` and `record_more` are retired, and `record` is new.
516-
[#37929](https://github.com/objectstack-ai/objectstack/pull/37929) — on
517-
`main`
526+
[#37929](https://github.com/objectstack-ai/objectstack/pull/37929) — `next.2`
518527
- A form view no longer declares `modalSize`.
519528
[#38168](https://github.com/objectstack-ai/objectstack/pull/38168) — on
520529
`main`
@@ -640,8 +649,7 @@ of the other 30 landed after 18.6.0 on the protocol-18 step, which
640649

641650
- A knowledge source is checked for its object, its fields and the search
642651
gates that need no caller, in `os validate` and at publish.
643-
[#37971](https://github.com/objectstack-ai/objectstack/pull/37971) — on
644-
`main`
652+
[#37971](https://github.com/objectstack-ai/objectstack/pull/37971) — `next.2`
645653
- A `knowledge_source` save is refused on a deployment that mounts no
646654
knowledge service, and when it names an adapter the deployment does not
647655
mount.
@@ -842,6 +850,34 @@ step 5, the switch `19.0.0-next.4` added, was not walked here.
842850
- **Protocol 19.** `PROTOCOL_VERSION` is `19.0.0`, so the handshake admits
843851
`engines.protocol: '^19'` and refuses `'^18'`.
844852

853+
### Listed one prerelease late [#listed-one-prerelease-late]
854+
855+
A version pass reads the changesets on `main` when its Version Packages pull
856+
request is generated, and that pull request lands on a later `main`. A change
857+
that landed in between ships as code in the new prerelease while its
858+
changeset stays pending; the next pass writes its `CHANGELOG.md` entry, led by
859+
**Shipped in 19.0.0-next.N**. Read at each version commit:
860+
861+
- **`19.0.0-next.2`** (`9d111a7f`): 7 changesets, listed under
862+
`19.0.0-next.3`. Four are breaking and marked "`next.2`" above:
863+
[#37929](https://github.com/objectstack-ai/objectstack/pull/37929),
864+
[#37971](https://github.com/objectstack-ai/objectstack/pull/37971),
865+
[#37963](https://github.com/objectstack-ai/objectstack/pull/37963) and
866+
[#37896](https://github.com/objectstack-ai/objectstack/pull/37896). The
867+
other three are fixes:
868+
[#37897](https://github.com/objectstack-ai/objectstack/pull/37897),
869+
[#38059](https://github.com/objectstack-ai/objectstack/pull/38059) and
870+
[#38067](https://github.com/objectstack-ai/objectstack/pull/38067).
871+
- **`19.0.0-next.3`** (`ea6e312a`): 19 changesets, all from
872+
[#38810](https://github.com/objectstack-ai/objectstack/pull/38810)
873+
(`closedStates`), listed under `19.0.0-next.4`. One is breaking, the
874+
approval hold refused `409 RECORD_LOCKED`, marked "`next.3`" under
875+
需手动处理.
876+
- **`19.0.0-next.4`** (`779ff419`): 1 changeset, from
877+
[#39342](https://github.com/objectstack-ai/objectstack/pull/39342): a record
878+
discussion's reaction read counts the row budget over the whole thread, as
879+
the record page does. It is not breaking, and the next cut lists it.
880+
845881
## Per-release notes
846882

847883
One page per release follows the v18 pattern as each 19.x release ships. Until

0 commit comments

Comments
 (0)