Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

afpi: Release 1.0.0 #155

Merged
merged 1 commit into from
Aug 25, 2022
Merged

afpi: Release 1.0.0 #155

merged 1 commit into from
Aug 25, 2022

Conversation

stevehobbsdev
Copy link
Contributor

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.

@stevehobbsdev stevehobbsdev requested a review from a team as a code owner August 25, 2022 12:28
@codecov
Copy link

codecov bot commented Aug 25, 2022

Codecov Report

Merging #155 (33fc6c7) into main (5723fe5) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #155   +/-   ##
=========================================
  Coverage     98.18%   98.18%           
  Complexity       75       75           
=========================================
  Files            75       75           
  Lines          1378     1378           
  Branches        296      296           
=========================================
  Hits           1353     1353           
  Misses           13       13           
  Partials         12       12           
Flag Coverage Δ
auth0_flutter 100.00% <ø> (ø)
auth0_flutter_android 96.52% <ø> (ø)
auth0_flutter_ios 100.00% <ø> (ø)
auth0_flutter_platform_interface 96.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@stevehobbsdev stevehobbsdev merged commit b18609b into main Aug 25, 2022
@stevehobbsdev stevehobbsdev deleted the release/afpi-ga branch August 25, 2022 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants