Skip to content

Releases: algolia/algoliasearch-client-swift

8.1.0

04 Aug 14:24
Compare
Choose a tag to compare

This minor release adds a possibility to update multiple fields of the record using partiaUpdate method with new dictionary syntax:

index.partialUpdateObject(withID: "userAccountID", with: [
  "name": "John Doe",
  "postsCount": 2000,
  "followers": .add(value: "nightStranger51", unique: false),
  "followersCount": .increment(value: 20),
  "likes": .incrementSet(value: 15)
])

8.0.1

28 Jul 11:52
Compare
Choose a tag to compare
  • Add Xcode 12 compatibility
  • Add Client typealias for SearchClient to simplify the transition from v7

Swift API Client v8

20 Jul 17:23
Compare
Choose a tag to compare

Meet brand new Swift API Client v8!

Universal

It’s a pure stand-alone Swift client so it is not tighten to any platform.
In comparison with the previous version, it provides many new methods and from now can be used as a full-fledged client including server side applications.

Provides good Results

Each API call result is now represented by built-in Swift Result type which facilitates processing of the results returned by the API method and to dispatch them to other parts of your application.

Codable all the things

The interaction with API client is drastically simplified thanks to usage of built-in Encodable/Decodable protocols.
Integration of Codable models existing in your project had never been easier.

Advanced Keypaths usage

Build API Client structures using the power of Swift keypaths

Rich code documentation

Each method is documented with detailed description of each parameter

Verbosity

The new client is verbose so it let know what’s going on while you are using the client. You won't miss if something went wrong. It’s up to you to define which level of logs you might want to see in your console. You can change it using AlgoliaSearchClient.Logger.minSeverityLevel value.

7.0.5

16 Jun 13:56
Compare
Choose a tag to compare
  • Fix task!.resume() to task?.resume() call crash in extreme circumstances in the Request.swift class. This is to be on the safe side

7.0.4

16 Jun 13:53
f18b42b
Compare
Choose a tag to compare
  • Fix Mac Catalyst bug by excluding CoreTelephony dependency code for Mac Catalyst apps

7.0.3

16 Jun 13:50
ef94926
Compare
Choose a tag to compare

Release 7.0.2

13 Dec 16:11
962592d
Compare
Choose a tag to compare
  • Change SPM package name to make it consistent with Cocoapods and Carthage
  • Add compile-time version number generation for user agent

Swift 5.0 Support

19 Apr 11:51
Compare
Choose a tag to compare

The 7.0.0 version adds support for Swift 5.0 and Xcode 10.2. No new features have been added compared to version 6

Swift 4.2 Support

21 Sep 08:53
Compare
Choose a tag to compare
5.4.0

5.4.0 (fastlane)

5.1.7

04 May 13:09
Compare
Choose a tag to compare

Bug Fix

Aggregate "facet_stats" to the response when doing disjunctive faceting #522
Also fix a memory leak coming from NRURLSession #522