Skip to content

Releases: algolia/algoliasearch-client-swift

8.2.0

03 Nov 17:13

Choose a tag to compare

Feat

  • Set tagged/untagged ranges calculation lazy in TaggedString (#689) (59daf69)

8.1.3

27 Oct 10:26

Choose a tag to compare

Fix

  • Make tag parsing for highlighted strings diacritic insensitive (#683) (2c84258)
  • Change averageClickPosition of the ABTestResponse.Variant type to Double (#682) (920a2d7)

8.1.2

06 Oct 12:00

Choose a tag to compare

  • Update min iOS version for compatibility with Xcode 12 and SwiftLog dependency version (#668) Thanks @rmenezes
  • Change browse with Cursor HTTP method from GET to POST for better reliability (#671)
  • Fix SearchResponse's automaticRadius is wrong type (#673)
  • Fix incorrect coding key for sortFacetsBy search parameter value (#674)

8.1.1

17 Sep 20:32

Choose a tag to compare

  • Fix infinite hosts rotation within retry strategy (#664)
  • Add explicit percent encoding for plus sign in the browse cursor, lack of which causes browse API call error

8.1.0

04 Aug 14:24

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

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

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

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

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

Choose a tag to compare