Skip to content

Releases: aws-amplify/amplify-swift

v1.1.0

12 Aug 20:41
Compare
Choose a tag to compare

1.1.0 (2020-08-12)

Features

Bug Fixes

  • Predictions: rowIndex and columnIndex for cell (#704)
  • Predictions: TABLE, CELL & KEY_VALUE_SET blocks are not properly processed (#660)
  • API: cognito user pool intercept with accessToken (#690)

v1.0.6

03 Aug 23:17
Compare
Choose a tag to compare

Bug Fixes

  • Update AppSyncRealTimeClient dependency (#683)

1.0.5

24 Jul 23:30
Compare
Choose a tag to compare

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

01 Jul 20:27
Compare
Choose a tag to compare

Bug Fixes

  • DataStore E2E Integration Tests (#596)
  • Auth updated the AWSMobileClient version to 2.14.0 to fix a crash related to nil user pool client (#592)

1.0.3

27 Jun 03:55
25740b3
Compare
Choose a tag to compare

Bug Fixes

  • Auth Fix issue in auth configure where it fails if one of the Cognito services is not present. (#586)

1.0.2

25 Jun 23:03
2708869
Compare
Choose a tag to compare

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 run amplify codegen models to regenerate the Model classes. The internal ModelFieldType .customType has been replaced with .embedded(type:) and embeddedCollection(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)

06 Jun 01:09
Compare
Choose a tag to compare

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

  • Fixed build errors for fresh installation of Amplify pods (#517)
  • Updated Datastore models for testing. (#526)
  • Integration test for Auth (#497)

1.0.0 (2020-05-26)

27 May 02:10
a8b994b
Compare
Choose a tag to compare

Bug Fixes

  • Tools: Add npx to amplify-app and fix typo (#486) (c7d11a7)

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)

22 May 00:38
c3ae896
Compare
Choose a tag to compare
Pre-release

⚠ 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)

Amplify iOS SDK 0.11.0 (Preview)

08 Apr 17:46
aafbfc2
Compare
Choose a tag to compare

New Features

  • Predictions
    • Added the ability to transcribe text for both online and offline use cases. PR #290
  • API
    • Add GraphQLDocument builder classes for constructing Model-based GraphQL APIs. PR #309
    • Add support for REST API with Cognito User Pools. PR #312
  • 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

  • General

    • AWS iOS SDK Dependency upgrade to 2.13.x. PR #360
  • API

    • Migrate APIPlugin's websocket provider to use AppSyncRealTimeClient. PRs #330, #341, #352