Skip to content

Commit 42a7ea3

Browse files
authored
Add migration guide for 5.0.0
Not much necessary anyway...
1 parent 1fd08de commit 42a7ea3

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

flutter_web_auth_2/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Add the following snippet to your `pubspec.yaml` and follow the [Setup guide](#s
2424

2525
```yaml
2626
dependencies:
27-
flutter_web_auth_2: ^4.0.0-alpha.0
27+
flutter_web_auth_2: ^5.0.0-alpha.0
2828
```
2929
3030
To authenticate against your own custom site:
@@ -84,6 +84,12 @@ final accessToken = jsonDecode(response.body)['access_token'] as String;
8484

8585
## Migration
8686

87+
### Upgrading to `5.x`
88+
89+
The following constraints have been added in `5.0.0`:
90+
- The existing Android approach has been replaced with a new (improved) one (no migration necessary; is automatically used)
91+
- Dart SDK `>=3.5.0` is now required (due to migration to melos `7.x`)
92+
8793
### Upgrading to `4.x`
8894

8995
Generally, the following constraints have been added in version `4.0.0`:

0 commit comments

Comments
 (0)