Skip to content

Commit f79124a

Browse files
committed
chore(changeset): state what the renamed view carries, as the pins measure it
Claude-Session: https://claude.ai/code/session_017xfMoEjKUuSh2xYB8sCozp Co-authored-by: Claude <noreply@anthropic.com>
1 parent 00510db commit f79124a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.changeset/21334-view-container-cross-package-default.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ Clause-②: no
88

99
- **What was wrong.** A runtime view container whose `list` names no key expands that list to `<object>.default`. Saved under another name, in another package or in none, for an object a code package ships, the expansion replaced that package's `<object>.default` on `GET /api/v1/meta/view?object=<object>`: the container's columns, still stamped with the shipping package's `_packageId` and `_provenance: 'package'`. On an environment-scoped kernel the by-name read `GET /api/v1/meta/view/<object>.default` kept the packaged view, so the two reads disagreed. On an unscoped kernel the by-name read served the replacement too, for a container saved into a package or environment-wide.
1010
- **What it does now.** For an object a code package ships, the bare `list` of a container that belongs to another package, or to none, expands under the container's own name, `<object>.<container name>`. Both reads of `<object>.default` answer the packaged view, unchanged.
11-
- **What each expanded view carries.** The container's own package as `_packageId`, and an artifact's protection envelope only when the container's own package ships that artifact.
11+
- **What the renamed view carries.** The container's own package as `_packageId` (none for a package-less container), and no other package's `_provenance` or protection envelope.
1212
- **What stays.** These still expand their bare `list` to `<object>.default`: a container bound to the package that ships the object, a package-less overlay of that package's own container saved under that container's name, and a container on an object no code package ships. A `list` that names its own key, `listViews`, `form` and `formViews` expand under the same names as before. A write to `<object>.default` by its own name still overrides it on both reads.
1313
- **What changes for a caller.** Such a container's default list is now listed as `<object>.<container name>` instead of `<object>.default`. A navigation `viewName` or a form-action `target` that named `<object>.default` to reach that container's list now reaches the shipping package's view; name `<object>.<container name>` instead.

0 commit comments

Comments
 (0)