| name | assemblyai-upgrade-migration |
| description | Analyze, plan, and execute AssemblyAI SDK upgrades with breaking change detection.
Use when upgrading the assemblyai npm package, migrating from the old SDK,
or switching between speech models (Best, Nano, Universal).
Trigger with phrases like "upgrade assemblyai", "assemblyai migration",
"assemblyai breaking changes", "update assemblyai SDK".
|
| allowed-tools | Read, Write, Edit, Bash(npm:*), Bash(git:*) |
| version | 1.5.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","ai","speech-to-text","assemblyai","transcription"] |
| compatibility | Designed for Claude Code |
AssemblyAI Upgrade & Migration
Overview
Guide for upgrading the assemblyai npm package and migrating between SDK versions, including the major v3 to v4 migration and speech model transitions.
Prerequisites
- Current
assemblyai package installed
- Git for version control
- Test suite available
Instructions
Step 1: Check Current Version
npm list assemblyai
npm view assemblyai version
npm view assemblyai --json | jq '.versions[-5:]'
Step 2: Review Changelog
open https://github.com/AssemblyAI/assemblyai-node-sdk/releases
gh release list --repo AssemblyAI/assemblyai-node-sdk --limit 10
Step 3: Create Upgrade Branch
git checkout -b upgrade/assemblyai-sdk-v$(npm view assemblyai version)
npm install assemblyai@latest
npm test
Step 4: Major Migration — Old SDK to Current (v4.x)
If migrating from @assemblyai/sdk (old package) to assemblyai (current):
import { AssemblyAI as OldClient } from '@assemblyai/sdk';
const client = new OldClient({ apiKey: '...' });
import { AssemblyAI } from 'assemblyai';
const client = new ({ : });