Update the client
It’s recommended to use the Kotlin API client, which is better suited for Android development.
You should keep your API client up to date, as the SLA applies only if your API client is up to date.
Semantic versioning
All the Algolia API clients follow Semantic Versioning.
Latest version
You can check what the latest version of the API client is on the GitHub release page.
Update the API client
From the back end
Node.js / React Native / Browserify / webpack
We are browserifyable and webpack friendly:
1
2
3
npm install --save algoliasearch
# or
yarn add algoliasearch
Bower
1
bower install algoliasearch -S
From the front end
You can either use a package manager like npm or include a script
tag.
script
tag using CDNs
Recommended: jsDelivr
jsDelivr is a global CDN delivery for JavaScript libraries.
To include the latest releases and all upcoming features and patches, use this:
1
<script src="https://cdn.jsdelivr.net/npm/algoliasearch@4.5.1/dist/algoliasearch.umd.js"></script>
Other CDNS
We recommend using jsDelivr, but algoliasearch
is also available at:
jsDelivr is a third-party CDN. We are not able to provide support regarding third party services.
Search only/lite client
We have a lightweight build available that can only do searches. Use it whenever you don’t need
to do anything other than search
or searchForFacetValues
on the frontend.
Find it on jsDelivr:
1
<script src="https://cdn.jsdelivr.net/npm/algoliasearch@4.5.1/dist/algoliasearch-lite.umd.js"></script>