Releases: aws-amplify/amplify-flutter
0.4.4 (2022-04-06)
Fixes
- fix(api): JNI issues (#1509)
0.4.3 (2022-04-02)
Chores
- chore: bump amplify-ios to 1.22.3
0.4.2 (2022-03-24)
Fixes
- fix(api): model helpers query predicates correctly translates query by associated id (#1417)
- fix(analytics): adds flutter sdk to example apps (#1465)
Chores
- chore(api): support decoding custom list request (#1420)
- chore(datastore): enable query predicate integration tests for float values (#1454)
- chore(analytics): switch to federated plugins (#1378)
- chore(auth): fix pubspec urls (#1424)
- chore(auth): federated plugin (#1349)
- chore(storage): federated plugin (#1407)
- chore: bump amplify-android to 1.32.1 (#1448)
- chore: bump amplify-ios to 1.22.0 (#1468)
0.4.1 (2022-02-28)
0.4.0 (2022-02-17)
Breaking Changes
API: The data field in GraphQLResponse is now nullable.
Kotlin version bumped to 1.6.10. If you are using Flutter 2.10 or above, you will need to ensure that your app supports an up-to-date Kotlin version (https://docs.flutter.dev/release/breaking-changes/kotlin-version). This will typically be version 1.5.31 or higher.
Features
- feat(amplify_api): Model-based GraphQL helpers, see updated docs for usage https://docs.amplify.aws/lib/graphqlapi/getting-started/q/platform/flutter/. (#1211)
- feat(datastore): Add QueryPredicate to Save/Delete (#1336)
- feat(datastore): Add QueryPredicate to Observe (#1332)
- feat(datastore): Add QueryPredicate.all (#1310)
- feat(amplify_flutter): allow customers to override AmplifyClass methods (#1325)
Fixes
- fix(datastore): DataTime value comparison is inaccurate (#1326)
- fix(datastore): Hub memory usage (#1201)
Chores
v0.3.2 (2022-01-24)
Features
- feat(auth): add deleteUser API for iOS
Chores
- chore: bump amplify-android to 1.31.3
v0.3.1 (2022-01-20)
Chores
- chore: bump amplify-ios to 1.18.3
v0.3.0 (2022-01-20)
Breaking Changes
-
Flutter: Linting & clean up (#1202)
How to Migrate:
- Update all imports of
import 'package:amplify_flutter/amplify.dart';
to import'package:amplify_flutter/amplify_flutter.dart';
- Update all imports of
-
API: This version changes GraphQL subscription interface to use Streams. See the amplify_api page for additional information.
-
Auth: The
fetchAuthSession
API will throw a SignedOutException when the user has not signed in, and a SessionExpiredException when the tokens have expired. -
Auth: The
getCurrentUser
API will return an AuthUser if the user is still authenticated but the session has expired. -
DataStore:
ModelProvider
andModelField
interface changesHow to Migrate:
- Install the required version of
@aws-amplify/cli
as described on the amplify_datastore page - Run
amplify codegen models
to regenerate models
- Install the required version of
-
DataStore: This version introduces a breaking change to Android Apps as an existing bug writes
Double
andBoolean
values asTEXT
in local SQLite database. The fix corrects this behavior. Hence, directly applying this fix may raise SQL error while reading from and writing to local database.How to Migrate:
Invoke
Amplify.DataStore.clear()
on App start after upgrading to the latest version of Amplify Flutter. This API clears and recreates local database table with correct schema.NOTE: Data stored in local database and not synced to cloud will be lost, as local migration is not supported.
Features
- Amplify Authenticator preview release!
- New
AmplifyConfig
type for fully-typed configurations - feat(api): GraphQL Subscription Stream (#905)
- feat(datastore): Add CustomType functionality (#847)
- feat(datastore): Add ModelField ReadOnly support (#599)
Fixes
- fix(api): remove tabs from graphql document strings in android (#1178)
- fix(api): OIDC Fixes for REST/GraphQL
- fix(auth): throw SignedOutException (#893)
- fix(auth): fixes getCurrentUser disparity (#894)
- fix(auth): remove int.parse from AuthUserAttribute (#1169)
- fix(datastore): configure function triggers initial sync unexpectedly (#986)
- fix(datastore): fix error map from ios (#1126)
- break(datastore): cannot saving boolean as integer in SQLite (#895)
Chores
v0.2.10 (2021-11-23)
v0.2.9 (2021-11-17)
Chores
- chore: upgrade amplify-android to 1.28.3-rc