Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/docs-plugin-spec-onupgrade-example.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
---

docs: fix the plugin-spec CHANGELOG example that still taught the retired
`onUpgrade` hook as running automatically (#4212 family). Releases nothing.
4 changes: 2 additions & 2 deletions content/docs/protocol/kernel/plugin-spec.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -859,8 +859,8 @@ Always include migration guide in CHANGELOG.md for major versions.
- `account.owner` field (use `account.owner_id` instead)

### Migration
The `onUpgrade` lifecycle hook runs automatically when the package is upgraded
to v2.0.0 and renames the field on existing records.
Upgrading to v2.0.0 applies the metadata migration that renames the field on
existing records (ADR-0087). No plugin code runs at upgrade.
```

### 3. Pin Core Dependencies
Expand Down
Loading