github supabase/supabase-swift v2.54.0

3 hours ago

Highlights

Auth

  • Admin API grows three capabilities from the SDK compliance matrix: admin.generateLink, admin.signOut, and passkey admin management (admin.listPasskeys/admin.deletePasskey, @_spi(Experimental)).
  • New signInWithWeb3 supports Sign-In-with-Ethereum (EIP-4361) and Sign-In-with-Solana — pass an already-signed message, no wallet integration bundled.

Functions

  • FunctionInvokeOptions.timeoutInterval lets you override the client's default 150s idle timeout per invocation.
  • FunctionRegion changed from a closed enum to an open struct (backport from release/v3), so custom/unlisted regions can be used directly (FunctionRegion(rawValue:) or string literal). Existing .usEast1-style usages are unaffected. Source-breaking only for exhaustive switch over FunctionRegion — add a default: case.
  • Fixed relay-error detection: a relay failure with a non-2xx status now correctly throws FunctionsError.relayError instead of .httpError (previously only worked when the relay returned a 200).

Realtime

  • Fixed a bug where, after a network outage caused the single-shot auto-reconnect to fail, a long-lived RealtimeClientV2 could get stuck permanently unable to converge a subscribe (until process restart). Four related defects around reconnect-latch state, cancellation handling, stale channel-close routing, and unsubscribe-on-dead-socket are all fixed with regression tests.

2.54.0 (2026-07-27)

Features

  • auth: add admin generateLink and signOut (#1152) (f82b248)
  • auth: add admin passkey list/delete methods (#1137) (99114ee)
  • auth: add signInWithWeb3 (Sign in with Ethereum / Solana) (#1138) (d364154)
  • functions: add per-invocation timeout override (#1144) (9453077)
  • functions: replace FunctionRegion enum with open struct (#1053) (102eaf7)

Bug Fixes

  • functions: check x-relay-error before response status (#1112) (ee58fc3)
  • realtime: make subscribe converge after a failed auto-reconnect (#1146) (1e0fe6f), closes #1148
  • test: align Web3 integration tests with Swift Testing migration (#1140) (bfb761b)

Don't miss a new supabase-swift release

NewReleases is sending notifications on new releases.