Guides
SDK migration guides.
Practical, checked against the vendor's own migration docs: what changed, the code before and after, how to find every affected call, and how to test it.
Vendor
Language
13 of 13 guides
- OpenAIPythonMigrate OpenAI Python SDK from v0 to v1Move openai-python from 0.28 to 1.x: the OpenAI client, chat.completions.create, typed responses, new exceptions, async and Azure, with code examples.
0.28.x→1.x5 min read - OpenAITypeScript/JavaScriptMigrate OpenAI Node SDK from v3 to v4Upgrade the openai npm package from v3 to v4: new OpenAI() instead of OpenAIApi, chat.completions.create, no more response.data, new errors and streaming.
3.x→4.x5 min read - AWSTypeScript/JavaScriptMigrate AWS SDK for JavaScript from v2 to v3Move from aws-sdk v2 to modular v3 clients: send(new Command()), no .promise(), S3 Body streams, per-client credentials, errors and the official codemod.
aws-sdk 2.x→@aws-sdk/client-* 3.x5 min read - StripePythonMigrate stripe-python to StripeClient (v8 to v16)Move stripe-python from global stripe.api_key calls to StripeClient and client.v1, and fix the v15 change that made StripeObject stop behaving like a dict.
global stripe.* calls→StripeClient, 16.x5 min read - AnthropicPythonAnthropic Python: Text Completions to the Messages APIMove anthropic-python from completions.create and HUMAN_PROMPT to messages.create: message lists, system prompts, content blocks, streaming, stop reasons.
completions.create (0.x)→messages.create (1.x)5 min read - GooglePythonMigrate google-generativeai to google-genai (Python)Move Gemini Python code from google-generativeai to google-genai: genai.Client, client.models.generate_content, config objects, chats, streaming and files.
google-generativeai→google-genai5 min read - GoogleTypeScript/JavaScriptMigrate @google/generative-ai to @google/genai (JS/TS)Move Gemini JavaScript code from @google/generative-ai to @google/genai: new GoogleGenAI(), ai.models.generateContent, response.text, streaming and chats.
@google/generative-ai→@google/genai5 min read - PineconePythonMigrate Pinecone Python SDK from v2 to v3Move pinecone-client 2.x to the Pinecone class: no pinecone.init, ServerlessSpec and PodSpec, index hosts, list_indexes().names() and the package rename.
pinecone-client 2.x→pinecone 3.x and later5 min read - FirebaseTypeScript/JavaScriptMigrate Firebase JS SDK v8 to the modular API (v9+)Move Firebase web code from v8 firebase.firestore() calls to modular initializeApp, getFirestore, doc and getDoc, using the compat libraries as a bridge.
8.x (namespaced)→9.x and later (modular)7 min read - SlackPythonMigrate slackclient v2 to slack_sdk v3 (Python)Move Python Slack apps from slackclient 2.x to slack_sdk 3.x: the package rename, new imports, WebClient without run_async, AsyncWebClient, aiohttp, RTM.
slackclient 2.x→slack_sdk 3.x5 min read - TwilioTypeScript/JavaScriptMigrate Twilio Node.js SDK (twilio) from v3 to v4Upgrade the twilio npm package from 3.x to 4.x: Node.js 14+, lazy loading by default, AccessToken identity, removed grants and renamed TwiML SSML helpers.
3.x→4.x5 min read - Auth0TypeScript/JavaScriptMigrate Auth0 Node.js SDK (auth0) from v3 to v4Upgrade node-auth0 from 3.x to 4.x: Promise-only calls, { data } responses, namespaced methods, renamed grants, new client options and Node.js 18.
3.x→4.x6 min read - OpenAIPythonOpenAI models retiring Oct 23, 2026: what to switch togpt-3.5-turbo, gpt-4, gpt-4-turbo, o1, o3-mini and o4-mini stop working on October 23, 2026. Find every use in your code and move to the replacement.
gpt-3.5-turbo, gpt-4, o1 and others→the gpt-5.6 models5 min read
Missing a migration?
Tell us which SDK upgrade you're stuck on. We write the guide, and we can run the migration on your code.