Skip to content

Commit

Permalink
Merge pull request #159 from auth0/release/af-ga
Browse files Browse the repository at this point in the history
af: Release 1.0.0
  • Loading branch information
stevehobbsdev authored Aug 25, 2022
2 parents 11249cc + b4c640c commit e047bca
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 9 deletions.
47 changes: 47 additions & 0 deletions auth0_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,52 @@
# Change Log

## [1.0.0](https://github.com/auth0/auth0-flutter/tree/1.0.0) (2022-08-25)

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.

## :warning: 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](https://dart.dev/guides/language/effective-dart/style#do-capitalize-acronyms-and-abbreviations-longer-than-two-letters-like-words).

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:

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

After:

```dart
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.

## [1.0.0-fa.0](https://github.com/auth0/auth0-flutter/tree/1.0.0-fa.0) (2022-07-22)

This is a [First Availability](https://auth0.com/docs/troubleshoot/product-lifecycle/product-release-stages#first-availability) release of the **Auth0 Flutter SDK**! 🎉
Expand Down
2 changes: 1 addition & 1 deletion auth0_flutter/lib/src/version.dart
Original file line number Diff line number Diff line change
@@ -1 +1 @@
const String version = '1.0.0-fa.0';
const String version = '1.0.0';
8 changes: 4 additions & 4 deletions auth0_flutter/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ packages:
auth0_flutter_platform_interface:
dependency: "direct main"
description:
path: "../auth0_flutter_platform_interface"
relative: true
source: path
version: "1.0.0-fa.0"
name: auth0_flutter_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
boolean_selector:
dependency: transitive
description:
Expand Down
6 changes: 2 additions & 4 deletions auth0_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
name: auth0_flutter
description: Auth0 SDK for Flutter. Easily integrate Auth0 into Android / iOS Flutter apps.
version: 1.0.0-fa.0
version: 1.0.0
homepage: https://github.com/auth0/auth0-flutter
publish_to: none

environment:
sdk: ">=2.17.0 <3.0.0"
flutter: ">=3.0.0"

dependencies:
auth0_flutter_platform_interface:
path: ../auth0_flutter_platform_interface
auth0_flutter_platform_interface: 1.0.1
flutter:
sdk: flutter

Expand Down

0 comments on commit e047bca

Please sign in to comment.