API Reference / API Methods / Update the client
Jun. 03, 2019

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#

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/algoliasearch/3/algoliasearch.min.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/algoliasearch/3/algoliasearchLite.min.js"></script>

Did you find this page helpful?