Releases: algolia/algoliasearch-client-swift
8.1.0
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
- Add Xcode 12 compatibility
- Add
Client
typealias forSearchClient
to simplify the transition from v7
Swift API Client v8
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
7.0.4
7.0.3
- Remove the Offline target. This follows from the deprecation of our offline SDK.
Release 7.0.2
- 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
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
5.4.0 5.4.0 (fastlane)