API Reference / API Methods / Update the client

Update the client

Introduction

We recommend keeping the API client up to date, as the SLA applies only if it is up to date.

Semantic Versioning

All our API clients follow Semantic Versioning.

Latest Version

You can check which is the latest version on the GitHub release page.

Update the API client

With Swift Package Manager

After adding .package(name: "AlgoliaSearchClientSwift", url: "https://github.com/algolia/algoliasearch-client-swift", from: "8.0.0") to your package dependencies array in Package.swift, run:

$
swift package update

With CocoaPods

After adding pod 'AlgoliaSearchClientSwift', '~> 8.0' to your Podfile, run:

$
pod update

With Carthage

After adding github "algolia/algoliasearch-client-swift" ~> 8.0 to your Cartfile, run:

$
$
$
carthage update
./Carthage/Checkouts/algoliasearch-client-swift/carthage-prebuild
carthage build

Did you find this page helpful?