Skip to content

Commit c2c5e90

Browse files
os-zhuangclaude
andauthored
docs(releases): v17 checklist — Metadata*Options now come from contracts, not system (#4538) (#4569)
The upgrade checklist told @objectstack/spec/kernel importers to re-import eleven names from @objectstack/spec/system. Since #4538 deleted the zero-consumer system-side MetadataExportOptions/MetadataImportOptions bags, those two names come from @objectstack/spec/contracts — the shape MetadataManager actually implements. Dedicated docs-only PR per the releases-freeze rule. Claude-Session: https://claude.ai/code/session_01M9uWvoEp9CoLzYjNExj9sL Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3c7bcc0 commit c2c5e90

2 files changed

Lines changed: 17 additions & 5 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
---
3+
4+
Releases nothing — docs-only. The v17 upgrade checklist pointed kernel
5+
importers of `MetadataExportOptions` / `MetadataImportOptions` at
6+
`@objectstack/spec/system`; since #4538 deleted the zero-consumer system-side
7+
bags, the correct source is `@objectstack/spec/contracts`. No package ships
8+
from this change.

content/docs/releases/v17.mdx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2114,11 +2114,15 @@ covers are folded into the list below rather than left to the changelog.)
21142114
- **Type importers:** replace `ObjectStackProtocol` / `ObjectStackProtocolSchema`
21152115
with the narrowest per-domain slices; drop GraphQL types and any of the removed
21162116
dead spec clusters. If you imported `MetadataFormat`, `MetadataStats`,
2117-
`MetadataLoadOptions`, `MetadataSaveOptions`, `MetadataExportOptions`,
2118-
`MetadataImportOptions`, `MetadataLoadResult`, `MetadataSaveResult`,
2119-
`MetadataWatchEvent`, `MetadataCollectionInfo` or `MetadataLoaderContract`
2120-
from `@objectstack/spec/kernel`, change the path to `@objectstack/spec/system`
2121-
— same names, and that copy is the one the runtime has always emitted. It is
2117+
`MetadataLoadOptions`, `MetadataSaveOptions`, `MetadataLoadResult`,
2118+
`MetadataSaveResult`, `MetadataWatchEvent`, `MetadataCollectionInfo` or
2119+
`MetadataLoaderContract` from `@objectstack/spec/kernel`, change the path to
2120+
`@objectstack/spec/system` — same names, and that copy is the one the runtime
2121+
has always emitted. (`MetadataExportOptions` / `MetadataImportOptions` moved
2122+
again in #4538: the system-side option bags turned out to have zero consumers
2123+
and were deleted, so those two names now come from
2124+
`@objectstack/spec/contracts` — the shape `MetadataManager` actually
2125+
implements.) It is
21222126
the *looser* of the two, so a reader may need new narrowing: notably
21232127
`metadataType`/`name`/`timestamp` are optional there. (`MetadataWatchEvent.type`
21242128
briefly also declared the raw watcher values `add`/`change`/`unlink`; they had

0 commit comments

Comments
 (0)