Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Releases: Kinvey/swift-sdk

3.12.0

12 Jan 22:45
Compare
Choose a tag to compare

Improvements

  • Make the page size adjustable for auto pagination. (#259)
  • Removing warnings for Swift 4 and above. (#256)

Bugfixes

  • Find by ID must return Error.entityNotFound error when no entity was found. (#257)

Deprecated

  • None

Breaking Changes

  • None

3.11.0

21 Nov 20:31
Compare
Choose a tag to compare

Improvements

  • Upgrade dependencies to Realm 3.x, ObjectMapper 3.x and XCGLogger 6.x.

Bugfixes

  • User.socialIdentity was not being persisted. (#255)

Deprecated

  • None

Breaking Changes

  • None

3.10.1

08 Nov 21:53
Compare
Choose a tag to compare

Improvements

  • None

Bugfixes

  • Binary compatibility for Xcode 9.1 / Swift 4.0.2

Deprecated

  • None

Breaking Changes

  • None

3.10.0

25 Oct 21:49
Compare
Choose a tag to compare

Improvements

  • New enum ValidationStrategy added, which allow users to define a strategy to validate results upfront. There's 3 options available: .all, .randomSample(percentage:) and .custom(validationBlock: (Array<Dictionary<String, Any>>) -> Swift.Error?). Please see Reference Docs for more details. (#248)
let dataStore = DataStore<Person>.collection(.network, validationStrategy: .all)

Bugfixes

  • None

Deprecated

  • None

Breaking Changes

  • None

3.9.1

25 Oct 21:04
Compare
Choose a tag to compare

Improvements

  • None

Bugfixes

  • Transforms were being ignored when saving objects that requires transformations, such as Date objects for example (#250)

Deprecated

  • None

Breaking Changes

  • None

3.9.0

03 Oct 20:38
Compare
Choose a tag to compare

Improvements

  • Better Support for Xcode 9 and Swift 4.0 while keeps support for Swift 3.2 (#245)
  • FileStore.create() creates a file entry in the server so the fileId can be used to perform resumable uploads (#239)
  • Allow custom URLSession for each call using Options (#244)
  • Support for SFAuthenticationSession for iOS 11, otherwise use SFSafariViewController (#246)

Bugfixes

  • Register for push notifications not being called in main thread (#240)
  • Infinite loop if they keyword dynamic not being used in the property declaration on Entity subclasses (#243)
  • DataStore.syncCount() and DataStore.sync() considering entities that are not the generic class specified on DataStore (#247)

Deprecated

  • None

Breaking Changes

  • None

3.8.0

13 Sep 17:57
Compare
Choose a tag to compare

Improvements

  • Make explicit that _id is required (#234)
  • New Feature: DataStore<T>.collection(autoPagination: true) enables auto pagination, so no need to do it manually. This feature is disabled by default, so DataStore<T>.collection() means DataStore<T>.collection(autoPagination: false) (#231)
  • User.logout() is now async since it performs a network request to invalidate the token in the backend (#237)

Bugfixes

  • File.mapping() was not open (#233)
  • During save() the cache implementation now performs deletes on nested objects (#229)
  • Cache path on macOS was ~/Documents/<kinvey app key>, but should be ~/Library/Application Support/<bundle id>/<kinvey app key> (#236)

Deprecated

  • None

Breaking Changes

  • The clientId parameter was renamed to authServiceId in User.presentMICViewController(), User.login() and Options() (#238)
  • Now Kinvey.Error.unauthorized also includes a debug property. So now a switch case should look like case .unauthorized(let httpResponse, let data, let error, let debug, let description): (#235)

3.7.1

26 Aug 16:52
Compare
Choose a tag to compare

Improvements

  • None

Bugfixes

  • Property mapping not fully functional for List<T> (#228)
  • LiveStreamAcl constructor missing (#232)

Deprecated

  • None

Breaking Changes

  • None

3.7.0

19 Aug 01:24
Compare
Choose a tag to compare

Improvements

  • Better performance and lower memory consumption by overloading the methods find(), pull() and sync() that now has a Result<AnyRandomAccessCollection<T>, Swift.Error> as the result for the completion handler.

Bugfixes

  • None

Deprecated

  • None

Breaking Changes

  • None

3.6.1

20 Jul 21:30
Compare
Choose a tag to compare

Improvements

  • Better support for tvOS, watchOS and macOS
  • Minor fix for reference documentation on DataStore.count()

Bugfixes

  • None

Deprecated

  • None

Breaking Changes

  • None