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

af: Release 1.0.0 #159

Merged
merged 1 commit into from
Aug 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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