Understand Upgrade Hooks and Update Metadata formats
mainThe scripts/upgrades/ directory contains versioned files used to manage transitions between versions of the project:
- Upgrade Hooks: Files named
X.Y.Z.shcontaining idempotent upgrade steps that must be executed when moving to that specific version. - Update Metadata: Files named
X.Y.Z.jsonthat provide declarative defaults for the update scope and a user-facing explanation for the update.