unstale

npm / algoliasearch

algoliasearch

What changed in algoliasearch 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

9 breaking2 deprecations8 new APIs and options1 behavior and defaults1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

algoliasearch 521 changes

Breaking changes 9

  • AlgoliaDisplayResultsToolConfig was renamed to AlgoliaGroupedResultsToolConfig.

    5.60.0release notes

  • AlgoliaRecommendToolConfigInput and AlgoliaRecommendToolConfigOutput were merged into AlgoliaRecommendToolConfig.

    5.60.0release notes

  • The body type changed from AgentCompletionRequest to AgentCompletionRequestUnion.

    5.60.0release notes

  • This memory request model was removed from the Agent Studio specs.

    5.60.0release notes

  • This memory request model was removed from the Agent Studio specs.

    5.60.0release notes

  • This memory request model was removed from the Agent Studio specs.

    5.60.0release notes

  • pValue is now optional in A/B test models, so code must not assume it is always present.

    5.60.0release notes

  • ToolConfig was renamed to ToolConfigOrBooleanUnion.

    5.60.0release notes

  • The migratedAbTestID field is removed from the A/B Testing V3 API, which may require changes to code using it.

    5.59.0release notes

Deprecations 2

  • The /2 A/B testing endpoints are deprecated; developers should use the newer A/B Testing API.

    5.59.0release notes

  • An empty-objects warning was added to replaceAllObjects, alerting developers when they call it with empty objects.

    5.57.0release notes

New APIs and options 8

  • A/B test settings endpoints were added to abtesting-v3.

    5.60.0release notes

  • externalProvider was added as a source for the CompAPI client.

    5.60.0release notes

  • A/B testing hypothesis was added to the API.

    5.60.0release notes

  • resultCard was added to renderingContent widgets.

    5.60.0release notes

  • Agentic analytics support was added to the insights spec.

    5.57.0release notes

  • Analytics v3 pattern endpoints were added to the specs.

    5.57.0release notes

  • The ABTest schema in abtesting-v3 now includes decision (declared winner).

    5.57.0release notes

  • Support was added for Request-ID and Correlation-ID.

    5.57.0release notes

Behavior and default changes 1

  • The JavaScript client waits and retries after 429 responses according to the Retry-After header.

    5.59.0release notes

Fixes and other changes 1

  • Requests send bodies with Content-Length instead of chunked encoding.

    5.60.0release notes