Releases: aws-amplify/amplify-swift
Releases · aws-amplify/amplify-swift
1.0.0 (2020-05-26)
Bug Fixes
Misc
Misc cleanup, improved test coverage from RC1:
- API: Added SocialNote from codegen (#469) (79c6482)
- Auth: Hub events for signedIn signedOut and sessionExpire (#457) (38e0513)
- Auth: Implementation of getCurrentUser api (#455) (59f6b18)
- Core: bootstrap Auth configuration before other categories, and fixed analytics integration tests (#475) (c33bf1b)
- DataStore: StartSync with Auth (#471) (7cab76f)
1.0.0-rc.1 (2020-05-21)
⚠ BREAKING CHANGES
- The
AsyncEventtype has been removed. Listeners to most Amplify APIs will now be invoked with standard SwiftResults. 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 ofAmplifyAuthErrorwill break with build time error.- As part of this work, we deleted
AuthErrorin the Storage category.
- As part of this work, we deleted
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:
- 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)
Amplify iOS SDK 0.11.0 (Preview)
New Features
- Predictions
- Added the ability to transcribe text for both online and offline use cases. PR #290
- API
- DataStore
- DataStore.save() now supports passing in condition. PR #355
- Added reachability and retryability to remote sync engine. PRs #321 #322 #323 #324
- Datastore.delete(modelType) with predicate. PR #346
- Datastore.clear() async to remove local datastore. PR #353
- Add pagination support to DataStore. PR #365
- Add support for Enum and non-model types. PR 334 Issues #111 #240 #246 #318 #314
Bug Fixes
- DataStore
- Fix out of bounds case when retry handler >= 57. PR #338
Misc. Updates
Amplify iOS SDK 0.10.0 (Preview)
Amplify iOS SDK 0.9.0 (Preview)
Initial release! Includes Core features, plus support for these categories:
- Analytics
- API
- DataStore
- Predictions
- Storage