Skip to content

1.0.0-rc.1 (2020-05-21)

Pre-release
Pre-release
Compare
Choose a tag to compare
@palpatim palpatim released this 22 May 00:38
c3ae896

⚠ BREAKING CHANGES

  • The AsyncEvent type has been removed. Listeners to most Amplify APIs will now be invoked with standard Swift Results. APIs that deliver multiple values over time also include an "in process" listener.
  • Auth category error type is changed to AuthError. Current implementations that make use of AmplifyAuthError will break with build time error.
    • As part of this work, we deleted AuthError in the Storage category.

Features

  • Added Auth category

  • Added AuthRule decorator to allow for granular ownership control of GraphQL models

  • Miscellaneous improvements to API semantics and ergonomics throughout

  • Increased test coverage throughout

  • Datastore now exposes configurable syncMaxRecords and syncPageSize (#388) (ca15e88)

  • [API] Merge non-GraphQL spec error fields into GraphQLError.extensions (#401) (b87811c)

  • Using config to decide base query or delta query (#386) (b02c3b7)

Bug Fixes

  • amplify-tools:
    • Change the tools script to comply with amplify-app changes (#445) (67412ca)
    • Fix escaped json in shell script (#452) (5b4b9d2)
  • DataStore:
    • Only start the remote sync engine if we have awsapiplugin (#442) (532058a)
    • Bug where subscription connections happen at the same time (#389) (81e6111)
    • Clear inProcess state on startup of outgoing mutation queue (#391) (352680b)
    • Mark outgoing mutation as inProcess if nextEventPromise exists (#392) (3986cf5)