Breaking change
Supabase: Breaking Change: supabase-flutter v3 brings type safety to the whole API surface
What changed
- supabase-flutter v3 is the next major version of the Supabase client libraries for Flutter and Dart.
- The stable 3.0.0 release is planned for November 11, 2026.
- Version 3.0.0-dev prereleases are available on pub.dev now.
- The old packages gotrue,
realtime_client,storage_client, andfunctions_clientare renamed and marked discontinued on pub.dev when v3 ships. - A 2.x version constraint will never resolve 3.0.0, and pub does not pick prereleases unless asked.
- v2 keeps receiving security and critical fixes for 6 months after the stable 3.0.0 release.
- The order() function sorted descending by default in v2, and that default changes in v3.
- The anonKey option on Supabase.initialize becomes publishableKey in v3.
Who it affects
- Every Dart and Flutter project on
supabase_flutteror supabase v2 that upgrades to v3. - Projects that depend directly on gotrue,
realtime_client,storage_client, orfunctions_client. - Projects that use a third-party package built on
supabase_flutterv2. - Self-hosted projects running a GoTrue older than API version 2024-01-01.
What to do now
- Read the changes the compiler will not catch.
- Add ascending: false to every order() call that relies on descending order, while still on v2.
- Bump
supabase_flutteror supabase to ^3.0.0 in pubspec.yaml. - Replace direct dependencies on gotrue,
realtime_client,storage_client, andfunctions_clientwith their renamed packages. - Install the package skills, then ask a coding agent to run the migration skill if one is used.
- Fix the compile errors with the migration guide.
- Go through the changes the compiler will not catch one by one, and release every app that shares a realtime broadcast channel at the same time.
- Optionally, add
supabase_typegenas a dev dependency, generate types with Supabase CLI 2.122.0 or newer, and move queries from from() to table().
Your users need to hear about your changes too
FoxPlug writes the changelog entry, the heads-up email draft and the social posts from what you ship.
Try it on your projectYour changelog, written for you
FoxPlug writes your changelog from your releases and commits in plain English and publishes it as a page and a feed your users can follow. The page above shows what that looks like for a product people really use.
Write my changelog See the changelog FoxPlug wrote from its own commits
Free to start. Pro is a month.
FoxPlug Pro
- A public changelog page and feed for each project
- Written from your releases and commits, in plain English your users read
- Connect GitHub and new releases become new entries