Releases: aws-amplify/amplify-swift
Releases · aws-amplify/amplify-swift
v1.1.0
1.1.0 (2020-08-12)
Features
- Core: Add Combine support. See README-combine-support.md for details (#667)
- Auth: Add metadata options for passing clientMetadata to APIs (#700)
- Core: Mark APIs that return operations with @discardableResult (#633)
- Core: Add AmplifyConfiguration file-based initializer (#707)
Bug Fixes
v1.0.6
1.0.5
Bug Fixes
- auth: missing initializers for AWSAuth*Options (#658)
- storage: delete file if key not found on download (#652)
- Fix cancellation logic for AWSGraphQLSubscriptionOperation (#650)
- Plugins that are not configured correctly will be error at initial step (#642)
- Datastore: paginationInput not passed down in query (#647)
- auth: Fix an issue that prevents signInWithWebUI to present over a presenting vc (#635)
- auth: User pool token, user sub should be returned for signedIn user with no identityPool config (#632)
1.0.4
1.0.3
1.0.2
Bug Fixes
- Auth Signout will completely delete the session in webui (#542)
- Core Fix plugin configuration validation (#543)
- DataStore Fixed a DataStore issue where lazy
List<M>
initialization would fail for relationships 3+ levels deep (#534) - DataStore Model schema updates clears local database on configure (#551)
- DataStore/API Add Emeddable type to
Model
internals, to store schema info for custom types (#539 and #562). This bug impacts developers with schemas containing embedded types when using DataStore with sync to cloud enabled or using API with Model classes. To fix this bug, upgrade both Amplify CLI to 4.22.0, and Amplify Libraries to 1.0.2. There is a known incompatibility if only upgrading CLI but not the Library. Then runamplify codegen models
to regenerate the Model classes. The internal ModelFieldType.customType
has been replaced with.embedded(type:)
andembeddedCollection(of:)
. - Tools Update Amplify tools script to resolve node correctly when NVM is installed (#535)
- Tools Update Amplify tools script to resolve min CLI version for codegen changes (#583)
Misc
- Build Add common dependency configuration, standardize environment across all modules, podspec source version tag and url (#538)
- Build Update CoreML podspec with amplify version (#555)
- Build Fix
pod lib lint
error using local variable definitions in Podspec files (#557) - Build Changed the repo's default branch to 'main' (#579)
- Core Move DataStore Model Schema related classes to Internal directory (#563)
1.0.1 (2020-06-05)
Bug Fixes
- DataStore: Fixed a DataStore issue where nested associations that were 3 levels or more deep would fail to decode into the Swift models (#520)
- DataStore: Support all Temporal types in predicates (#513)
- API: Fixed a problem with the selection set that is generated for a Model containing a connection to another Model (#509)
- API: Fixed a bug with nil value not updated in GraphQL model value to nil (#519)
- API: Fixed QueryPredicate to GraphQLValue logic, missing Temporal.DateTime conversion (#508)
- Tools: Allow Amplify tools to run if the project folder has a space char (#506)
- Tools: Update Amplify tools script to check for minimum version of amplify-app and amplify cli (#511)
Misc
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
AsyncEvent
type has been removed. Listeners to most Amplify APIs will now be invoked with standard SwiftResult
s. 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 ofAmplifyAuthError
will break with build time error.- As part of this work, we deleted
AuthError
in 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