Skip to content

v1.0.0

Compare
Choose a tag to compare
@Widcket Widcket released this 30 Aug 17:07
· 115 commits to main since this release
e047bca

This is the General Availability release of the Auth0 Flutter SDK! 🎉

This release marks the first stable release of the SDK and is fully supported for use in production environments.

⚠️ Breaking changes

There are a small number of breaking changes from 1.0.0-fa.0 in this release:

Renamed properties
The following properties were renamed to comply with Dart's API guidelines.

See #146

  • UserProfile.profileURL to UserProfile.profileUrl
  • UserProfile.pictureURL to UserProfile.pictureUrl
  • UserProfile.websiteURL to UserProfile.websiteUrl
  • ApiException.isInvalidAuthorizeURL to ApiException.isInvalidAuthorizeUrl
  • ApiException.isPKCENotAvailable to ApiException.isPkceNotAvailable

Scheme registration

The scheme option of webAuthentication().login and webAuthentication().logout() was moved up a level to become an option of webAuthentication() instead.

Before:

auth0.webAuthentication().login(scheme: 'custom-scheme');
auth0.webAuthentication().logout(scheme: 'custom-scheme');

After:

auth0.webAuthentication(scheme: 'custom-scheme').login();
auth0.webAuthentication(scheme: 'custom-scheme').logout();

See #150

Renamed LocalAuthenticationOptions

LocalAuthenticationOptions was renamed to LocalAuthentication to fix up some confusion about how the class was to be used.

See #152 for details.