Skip to main content

Migration guide

This document lists every known breaking change, not all of them may affect your application.

caution

The amount of changes in this new version is significant. If you were using a version older than v4, please also read this migration guide

You should thoroughly test your application once the migration is over.

Common breaking changes

The changes below are effective on all of the API clients.

PreviousLatestDescription
initIndexremovedAll methods are now available at the client level. See example below

API Client specific breaking changes

The changes below are effective on the selected API client.

For informations regarding the installation of the package, please see the installation page

PreviousLatestImpacted clientsDescription
@algolia@experimental-api-clients-automationJavaScriptDuring the beta phase, the clients are available under the NPM @experimental-api-clients-automation namespace, you can find a full list here.
algoliasearch/litealgoliasearch-liteJavaScriptThe lite version of the client now have its own package.
searchsearchClientallExported clients are suffixed by Client.

Installation

Methods targeting an indexName