Skip to content

Releases: aws-amplify/amplify-flutter

0.4.2 (2022-03-24)

24 Mar 18:43
a1f01ef
Compare
Choose a tag to compare

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)

28 Feb 22:51
c0a7436
Compare
Choose a tag to compare

Fixes

  • fix(datastore): delete default predicate causes deletion failure #1409
  • fix(core): Update AtomicResult interface #1393
  • fix(flutter): Export category interfaces #1384

0.4.0 (2022-02-17)

17 Feb 19:07
0e67f1d
Compare
Choose a tag to compare

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

Fixes

  • fix(datastore): DataTime value comparison is inaccurate (#1326)
  • fix(datastore): Hub memory usage (#1201)

Chores

  • chore(amplify_authenticator): remove support for amplify theme (#1367)
  • chore(flutter): Fix AtomicResultTest (#1363)
  • chore(amplify_authenticator): update amplify_flutter dep to >=0.3.0 <0.5.0 (#1361)

v0.3.2 (2022-01-24)

24 Jan 20:53
e6986b8
Compare
Choose a tag to compare

Features

  • feat(auth): add deleteUser API for iOS

Chores

  • chore: bump amplify-android to 1.31.3

v0.3.1 (2022-01-20)

21 Jan 01:43
856fef1
Compare
Choose a tag to compare

Chores

  • chore: bump amplify-ios to 1.18.3

v0.3.0 (2022-01-20)

20 Jan 17:16
7ab62be
Compare
Choose a tag to compare

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';
  • 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 and ModelField interface changes

    How to Migrate:

    • Install the required version of @aws-amplify/cli as described on the amplify_datastore page
    • Run amplify codegen models to regenerate models
  • DataStore: This version introduces a breaking change to Android Apps as an existing bug writes Double and Boolean values as TEXT 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

  • chore(core): Linting & clean up (#1202)
  • chore(core): Add copyWith helpers (#1235)

v0.2.10 (2021-11-23)

23 Nov 22:13
4303465
Compare
Choose a tag to compare

Fixes

  • fix(auth): Fix coroutines crash (#1132)
  • fix(auth): Remove duplicate AtomicResult (#1133)

v0.2.9 (2021-11-17)

17 Nov 23:13
b88d99e
Compare
Choose a tag to compare

Chores

  • chore: upgrade amplify-android to 1.28.3-rc

v0.2.8 (11-12-2021)

12 Nov 23:15
Compare
Choose a tag to compare

Fixes

  • fix(api): "Reply already submitted" crashes (#1058)
  • fix(auth): (Android) Dropped exceptions in hosted UI cause signInWithWebUI to not return (#1015)
  • fix(datastore): (Android) Fix DataStore release mode crash (#1064)
  • fix(storage): DateTime formatting and parsing (#1044, #1062)
  • fix(storage): Storage.list crash on null "options" (#1061)

0.2.7 (2021-11-08)

09 Nov 00:27
3a3f407
Compare
Choose a tag to compare

Chores

  • chore: Bump Amplify iOS to 1.15.5

Fixes

  • fix(api): Fix OIDC/Lambda in REST/GraphQL on Android
  • fix(datastore): Temporal date/time query predicates
  • fix(datastore): Android TemporalTime Save Issue