| name | gamma-upgrade-migration |
| description | Upgrade Gamma SDK versions and migrate between API versions.
Use when upgrading SDK packages, handling deprecations,
or migrating to new API versions.
Trigger with phrases like "gamma upgrade", "gamma migration",
"gamma new version", "gamma deprecated", "gamma SDK update".
|
| allowed-tools | Read, Write, Edit, Bash(npm:*), Bash(pip:*), Grep |
| version | 1.13.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","gamma","api","migration"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Gamma Upgrade & Migration
Current State
!npm list 2>/dev/null | head -20
!pip freeze 2>/dev/null | head -20
Overview
Guide for upgrading Gamma SDK versions and migrating between API versions safely.
Prerequisites
- Existing Gamma integration
- Version control (git)
- Test environment available
Instructions
Step 1: Check Current Version
set -euo pipefail
npm list @gamma/sdk
pip show gamma-sdk
npm outdated @gamma/sdk
Step 2: Review Changelog
set -euo pipefail
npm info @gamma/sdk changelog
Step 3: Upgrade SDK
set -euo pipefail
git checkout -b feat/gamma-sdk-upgrade
npm install @gamma/sdk@latest
pip install --upgrade gamma-sdk
npm install @gamma/sdk@2.0.0
Step 4: Handle Breaking Changes
Common Migration Patterns:
import Gamma from '@gamma/sdk';
const gamma = new Gamma(apiKey);
import { GammaClient } from '@gamma/sdk';
const gamma = new ({ apiKey });