supabase_flutter 1.0.0-dev.1 supabase_flutter: ^1.0.0-dev.1 copied to clipboard
Flutter integration for Supabase. This package makes it simple for developers to build secure and scalable products.
[1.0.0-dev.1] #
- feat: add Mac OS and Windows support for deeplinks
- BREAKING: Remove SupabaseAuthRequiredState as well as overriding methods in SupabaseAuthState
// Before
await Supabase.initialize(
url: 'SUPABASE_URL',
anonKey: 'SUPABASE_ANON_KEY',
);
...
// Class extending `SupabaseAuthState` or `AuthRequiredState` was necessary
// to persist auth state
class AuthState<T extends StatefulWidget> extends SupabaseAuthState<T> {
...
}
// After
// Initializing Supabase is all you need to do to persist auth state
// Deeplinks will also be automatically handled when you initialize Supabase.
await Supabase.initialize(
url: 'SUPABASE_URL',
anonKey: 'SUPABASE_ANON_KEY',
);
...
// You can get the initial session of the user with `SupabaseAuth.instance.initialSession`
try {
final initialSession = await SupabaseAuth.instance.initialSession;
} catch(error) {
// Handle errors in session initial recovery here
}
// You should now use `onAuthStateChanged` as the
Supabase.instance.client.auth.onAuthStateChange((event, session) {
// handle sinin/ signups here
});
- fix: OAuth should open in an external browser
- BREAKING: update supabase package v1.0.0-dev.1
[0.3.2] #
- chore: add basic example codes on readme.md
[0.3.1+3] #
- fix: OAuth authentication page should open in an external browser
[0.3.1+1] #
- fix: lint error on Flutter 2.X
- chore: add multiple Flutter version to the CI pipeline
[0.2.12] #
- chore: update supabase-dart package v0.2.14
[0.2.11] #
- chore: update supabase-dart package v0.2.13
[0.2.10] #
- chore: update supabase-dart package v0.2.12
- chore: update documents
[0.2.9] #
- feat: signing out now triggers
onUnauthenticated()
- feat: export supabase package so that underlying symbols can be imported
- fix: update code samples to reflect breaking change from v0.0.3
- fix: typos on code samples on readme.md
[0.2.8] #
- chore: update supabase to v0.2.7
[0.2.7] #
- chore: update supabase to v0.2.6
[0.2.6] #
- fix: export local_storage
[0.2.5] #
- chore: update supabase to v0.2.5
[0.2.4] #
- chore: update supabase to v0.2.4
[0.2.3] #
- chore: update supabase to v0.2.3
[0.2.2] #
- chore: update supabase to v0.2.2
[0.2.1] #
- chore: update supabase to v0.2.1
[0.2.0] #
- chore: update supabase to v0.2.0
[0.1.0] #
- BREAKING CHANGE:
Supabase.initialize
is nowFuture<void>
- chore: update supabase to v0.1.0
- feat: using hive to persist session by default
[0.0.8] #
- chore: update supabase to v0.0.8
[0.0.7] #
- chore: update supabase to v0.0.7
[0.0.6] #
- chore: update supabase to v0.0.5
[0.0.5] #
- chore: update supabase to v0.0.4
[0.0.4] #
- chore: update supabase to v0.0.3
[0.0.3] #
- BREAKING CHANGE: rework Supabase singleton with
Supabase.initialize
andSupabase.instance
- chore: update docs
[0.0.2] #
- feat: support custom localStorage with fallback to SharedPreferences as default
[0.0.1] #
- chore: update supabase, url_launcher packages
[0.0.1-dev.5] #
- fix: launch url in the current tab for flutter web
- fix: SupabaseAuthRequiredState to trigger onAuthenticated when user session available
[0.0.1-dev.4] #
- feat: support flutter web
[0.0.1-dev.3] #
- chore: update supabase to v0.0.1
[0.0.1-dev.2] #
- feat: support nested authentication flow with startAuthObserver() and stopAuthObserver()
- feat: support SupabaseAuthRequiredState
- feat: support enable/disable debug log
- refactor: tidy up
[0.0.1-dev.1] #
- Initial pre-release.