Upgrading
@platform/sdk is at 1.0.0, its first release, so there are no version-to-version migrations yet.
This page is where they will live.
The general process
Section titled “The general process”When a new version ships:
- Bump
@platform/sdkand re-runnpm install. - Run your typecheck. Because the SDK is strict TypeScript, a removed or renamed API surfaces as a compile error pointing straight at the call site — the fastest possible upgrade signal.
- Skim the
CHANGELOG.mdshipped with the package (node_modules/@platform/sdk/CHANGELOG.md) for entries between your old and new versions, looking for Removed and Changed.
When a breaking change ships
Section titled “When a breaking change ships”The wire protocol is backwards-compatible within a major version, so the upgrades that need real work are major bumps. When the first one lands, this page will carry a step-by-step migration — what was removed and what to do instead — keyed to its changelog entry.