Skip to content
FIRERUN.

The BaaS & deploy-platform newsroom for builders

Subscribe

Supabase

Supabase's Kotlin SDK Goes Official, and Stale R8 Rules Can Crash Apps

Search Android projects for io.github.jan before moving to supabase-kt v4. Stale R8 keep rules compile fine and can crash release builds.

Abstract flat-vector editorial illustration for "Supabase's Kotlin SDK Goes Official, and Stale R8 Rules Can Crash Apps"

Supabase has adopted supabase-kt as an official SDK, and its first official release moves every class to a new package name, so Android apps with ProGuard or R8 rules written for the old name can compile cleanly and then crash in release builds. Supabase put v4 into public alpha as 4.0.0-alpha-1 on Maven Central on Dec. 1 and marked it a breaking change (Supabase changelog, Dec. 1, 2026).

What Moves

The Maven group changes from io.github.jan-tennert.supabase to io.supabase, and the package changes from io.github.jan.supabase to io.supabase. Artifact IDs such as auth-kt, postgrest-kt, storage-kt, realtime-kt and bom stay the same. “The public API does not change,” Supabase said, so code that builds against 3.9.0 should build against 4.0.0 once its imports are updated. Signed-in users stay signed in after the app update.

The old names carry the handle of Jan Tennert, who built the library before Supabase took it over; the changelog thanks him and the other contributors.

The Breaks the Compiler Misses

Most of the migration shows up as compile errors. Supabase listed four places that don’t:

  • ProGuard and R8 rules that name the old package, such as -keep class io.github.jan.supabase.** { *; }. When the rule stops matching, Supabase said, release builds can crash.
  • AndroidManifest.xml overrides of the SDK’s initializers.
  • Opt-in compiler arguments in Gradle files.
  • Strings and reflection that spell out full class names.

The migration path is to switch the group to io.supabase, move every supabase-kt module and plugin to the alpha together through the BOM, replace both old names across the project, then search again for io.github.jan to catch the four cases above. A “Cannot select module because of conflict” error from Gradle means a dependency still pulls in a 3.x module. Plugins and third-party libraries built on 3.x have to move to 4.x-compatible versions at the same time.

Timeline

Nothing changes until a project opts in. The 3.x line stays on Maven Central under the old group, and Gradle won’t switch groups on its own. New features and fixes go to 4.x. Supabase said more prereleases may follow in the coming weeks before 4.0.0 ships. It plans a wider SDK announcement for Launch Week 16 on Dec. 11.

The Take

This is Supabase’s third SDK major in a month, after Flutter v3 on Nov. 6 and Swift v3 on Nov. 25, and the pattern holds: the loud breaks are harmless and the quiet ones ship. A rename that leaves the API untouched sounds like a find-and-replace job, and mostly it is. But most Android projects turn on R8 for release builds alone, so a stale keep rule passes every debug run on a developer’s phone and fails for the first time on a user’s. Any Android team planning the move should grep for io.github.jan in proguard-rules.pro, the manifest and Gradle files, then test a minified release build before the alpha becomes 4.0.0.

Stay in the loop

Get new articles in your inbox

We'll only email you when a new article drops. Unsubscribe anytime.