supabase-upgrade-migration

Featured

Upgrade Supabase SDK and CLI versions with breaking-change detection and automated code migration. Use when upgrading @supabase/supabase-js (v1→v2 or minor bumps), migrating auth/realtime/storage APIs, or updating the Supabase CLI. Trigger with phrases like "upgrade supabase", "supabase breaking changes", "migrate supabase v2", "update supabase SDK".

API & Backend 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Supabase Upgrade Migration ## Overview Upgrade `@supabase/supabase-js` and the Supabase CLI with breaking-change detection, automated code migration, and rollback planning. Covers the v1-to-v2 migration path (auth method renames, `data`/`error` destructuring, realtime API overhaul), minor version bumps, `@supabase/ssr` adoption, and Python SDK upgrades via `pip install --upgrade supabase`. ## Current State !`npm list @supabase/supabase-js 2>/dev/null | grep supabase || echo 'supabase-js not installed'` !`supabase --version 2>/dev/null || echo 'CLI not installed'` !`pip show supabase 2>/dev/null | grep Version || echo 'Python SDK not installed'` ## Prerequisites - `@supabase/supabase-js` or the Python `supabase` package installed in the project - Git with a clean working tree (no uncommitted changes) - Test suite available for post-upgrade verification - Node.js >= 18 (for supabase-js v2) or Python >= 3.8 (for Python SDK) ## Instructions ### Step 1: Audit Versions, Scan Usage, and Review Breaking Changes Check every installed Supabase package and find all import sites in the codebase. ```bash # Check current SDK version npm list @supabase/supabase-js # Check CLI version supabase --version # Check Python SDK version pip show supabase | grep Version # Find all JS/TS Supabase imports grep -rn "from '@supabase/supabase-js'" --include="*.ts" --include="*.tsx" --include="*.js" src/ lib/ app/ 2>/dev/null grep -rn "createClient" --include="*.ts" --include="*.tsx" --incl...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

notion-upgrade-migration

Upgrade @notionhq/client SDK versions and migrate between Notion API versions. Use when updating SDK packages, handling breaking changes between API versions, adopting new SDK features like comments API or status properties, or migrating Python notion-client. Trigger with phrases like "upgrade notion SDK", "notion migration", "notion breaking changes", "update notionhq client", "notion API version upgrade", "notion deprecation".

2,926 Updated yesterday
jeremylongshore
API & Backend Featured

supabase-migration-deep-dive

Database migration patterns with Supabase CLI: npx supabase migration new, zero-downtime migrations, data backfill strategies, schema versioning, rollback strategies, and type generation. Use when creating database migrations, performing zero-downtime schema changes, backfilling data in production, managing schema versions, or planning rollback strategies. Trigger: "supabase migration", "supabase schema change", "supabase zero downtime", "supabase rollback", "supabase db push", "supabase migration new".

2,926 Updated yesterday
jeremylongshore
AI & Automation Featured

sentry-upgrade-migration

Upgrade Sentry SDK versions and migrate breaking API changes. Use when upgrading from Sentry v7 to v8, migrating Python SDK v1 to v2, replacing deprecated Hub/Transaction APIs, or running the migr8 codemod. Trigger: "upgrade sentry", "sentry migration", "sentry breaking changes", "migrate sentry v7 to v8", "update sentry sdk".

2,926 Updated yesterday
jeremylongshore