Skip to content

Commit 95fe777

Browse files
os-zhuangclaude
andauthored
docs(releases): v17 upgrade checklist — the raw watcher values are gone from MetadataWatchEvent.type (#4536) (#4549)
* docs(releases): v17 upgrade checklist — the raw watcher values are gone from MetadataWatchEvent.type (#4536) The checklist's #4411 entry told upgraders the surviving system copy "also carries the raw watcher values add/change/unlink". True when written; false since #4536 removed them (zero producers — both emit sites normalize). A reader following the sentence would add narrowing for values the schema now rejects. Dedicated docs-only PR per the releases-freeze rule (CLAUDE.md): a factual error on a releases page is fixed in its own PR, never as a rider on code changes. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M9uWvoEp9CoLzYjNExj9sL * chore: empty-frontmatter changeset — docs-only PR releases nothing Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M9uWvoEp9CoLzYjNExj9sL --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent ff98f67 commit 95fe777

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
---
3+
4+
Releases nothing — docs-only. Corrects the v17 upgrade checklist sentence that
5+
still told upgraders `MetadataWatchEvent.type` carries the raw watcher values
6+
(`add`/`change`/`unlink`); they were removed in #4536 with zero producers. No
7+
package ships from this change.

content/docs/releases/v17.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,9 +2120,11 @@ covers are folded into the list below rather than left to the changelog.)
21202120
from `@objectstack/spec/kernel`, change the path to `@objectstack/spec/system`
21212121
— same names, and that copy is the one the runtime has always emitted. It is
21222122
the *looser* of the two, so a reader may need new narrowing: notably
2123-
`MetadataWatchEvent.type` also carries the raw watcher values
2124-
`add`/`change`/`unlink`, and `metadataType`/`name`/`timestamp` are optional
2125-
there. Nothing to migrate at runtime — the values were always these.
2123+
`metadataType`/`name`/`timestamp` are optional there. (`MetadataWatchEvent.type`
2124+
briefly also declared the raw watcher values `add`/`change`/`unlink`; they had
2125+
zero producers — both emit sites normalize — and were removed in #4536, so the
2126+
enum now carries exactly `added`/`changed`/`deleted`.) Nothing to migrate at
2127+
runtime — the values the runtime emits were always these.
21262128
- **Multi-org:** the `group` posture requires the enterprise runtime — deployments
21272129
relying on it self-activating must install `@objectstack/organizations` or move
21282130
to `isolated`.

0 commit comments

Comments
 (0)