Changes
Previously wanted to release the version as a whole, but that will take at least to next week. Several features are missing, but there were a few bug fixes!
All modules
- Don't swallow
CancellationExceptionby @sproctor in #895 - Only catch serialization exceptions in
bodyOrNullby @jan-tennert in #904 - Fix simple warnings by @sproctor in #915
- Use Dispatchers.IO by default on multi-threaded platforms by @sproctor in #905
- Configurable default dispatcher
SupabaseClientBuilder#coroutineDispatcher, defaulting toDispatchers.IOon supported targets. - Deprecated
AuthConfig#coroutineDispatcher, replaced by the new client wide dispatcher.
- Configurable default dispatcher
Auth
- Fix OAuth server listener resuming coroutine twice by @jan-tennert in #893
A Desktop app using OAuth should no longer produce an exception when exiting the app after usingsignInWith(OAuthProvider) - Add missing error codes by @jan-tennert in #909:
EmailAddressInvalid,Web3ProviderDisabled,Web3UnsupportedChain - (JS/Wasm JS) Fix exception on non-session hash parameters and only consume used parameters by @jan-tennert in #911
Previously, all URL parameters / hash parameter were removed after successfully authenticating, this is no longer the case. - Fix session expiration check by @jan-tennert in #913
The session will now also be refreshed when the current date time is under a certain threshold (20% before the actual expiration), instead of only after session expiration