SDK version pinning
Freeze code generation at a specific version for more control over rollouts and releases.
By default, Stainless SDKs automatically receive updates as we improve our SDK generator.
For more control over rollouts and releases, enable SDK version pinning to freeze code generation at a specific version. With SDK version pinning, your generated SDKs won’t reflect improvements made to our code generator after the pinned version, but your development process will be more stable and predictable.
Once you have SDK version pinning enabled on your account, adjust the pinned version for each SDK:
- Go to your Stainless dashboard
- Navigate to a specific SDK project (e.g., a TypeScript SDK)
- Go to the Settings tab at the bottom
- Enable, disable, or adjust the pinned version
When you’re ready to incorporate and test the improvements you missed, unpin your version to adopt all accumulated improvements in a single, predictable update.
For more information, contact sales.