Skip to content

Releases: aws-amplify/amplify-flutter

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

v0.2.6 (2021-10-25)

25 Oct 21:19
b25f2a7
Compare
Choose a tag to compare

Fixes

  • fix(datastore): Re-emit events on hot restart

Features

  • feat(datastore): Add observeQuery API
  • feat(storage): Upload/download progress listener

v0.2.5 (2021-10-14)

14 Oct 21:40
Compare
Choose a tag to compare

Fixes

  • fix(api): OIDC/Lambda changes for DataStore
  • fix(auth): Add global sign out
  • fix(auth): Support preferPrivateSession flag
  • fix(datastore): Sync issues with owner-based auth
  • fix(datastore): Ensure attaching nested model schema
  • fix(datastore): Timeout period not increasing
  • fix(datastore): Remove default pagination behavior on iOS

v0.2.4 (2021-09-10)

10 Sep 22:11
4c8d7be
Compare
Choose a tag to compare

Fixes

  • fix: CocoaPods relative import

v0.2.3 (2021-09-09)

10 Sep 22:10
00127b7
Compare
Choose a tag to compare

Features

  • feat(auth): add options to resendSignUpCode (#738)
  • feat(auth): add support for options to resetPassword, confirmResetPassword (#743)
  • feat(auth): add options to updateAttribute, updateAttributes, resendUserAttributeConfirmationCode (#775)
  • feat(auth): OIDC/Lambda Support (#777)
  • feat(datastore): Add start and stop APIs (#811)

Chores

  • chore: upgrade amplify-android 1.24.1 (#829)

FIxes

  • fix(datastore): iOS json deserialization (#806)
  • fix(datastore): Better loggin on unhandled DataStoreHubEvent (#647)
  • fix(datastore): return null for list field in nested model (#843)
  • fix(datastore): fix ios schema change bug (#439)