packagist algolia/algoliasearch-client-php 4.50.0

5 hours ago

New version released!

What's Changed

BREAKING CHANGES: this minor version includes breaking changes (A/B Testing V3 API, PHP requirements, Agent Studio API). See below for more details.

  • 7891d38a10 feat(php): wait and retry on 429 with Retry-After (#6975) by @eric-zaharia
  • 812a3d1db6 chore(deps): dependencies 2026-09-14 (#7030) by @algolia-api-clients-automation-bot[bot]
  • 41ed59956a fix(specs): clarify when _extra and _injectedItemKey are present on hits (#7031) by @charlottetaylor-oss
  • 987444f36d fix(specs): clarify addItemKey description in injectedItem metadata (#7029) by @charlottetaylor-oss
  • f6a0478eec docs(specs): update analytics catalog entitlement example (#7028) by @cdhawke
  • 5da059b7ae feat(specs): add A/B test settings endpoints to abtesting-v3 (#6786) by @stevenMevans
  • f89fe94db5 fix(clients): send request bodies with Content-Length instead of chunked encoding (#7069) by @Fluf22
  • 461575c4a4 feat(specs): add A/B testing hypothesis (#6829) by @leonardogavaudan
  • b58c40832b fix(specs): BREAKING CHANGE - make AB test pValue optional (#7066) by @stevenMevans
    • pValue is now optional in the A/B test models. Update code that reads it as a required value.
  • 4cab83c8b1 feat(specs): add externalProvider source for CompAPI client (#7073) by @ClaraMuller
  • b6cd822bfb feat(specs): add resultCard to renderingContent widgets (#7084) by @FabienMotte
  • d59ce49d17 fix(clients): BREAKING CHANGE – always send Accept-Encoding gzip in Swift and require ext-zlib in PHP (#7086) by @Fluf22
    • The PHP client now requires the ext-zlib extension (added to composer.json). composer install or update fails on environments where it is missing.
  • 63c591d078 refactor(specs): extract source object from behaviour object (#7074) by @ClaraMuller
  • 2ae63dbdfc docs: improve AGENTS.md agent context (#7085) by @Fluf22
  • 07c1b2ea15 fix(specs): BREAKING CHANGE – sync agent-studio OpenAPI from conversational-ai (#6967) by @algolia-api-clients-automation-bot[bot]
    • The Agent Studio specs were updated to match the API behaviour, which may require updating your implementation:
    • createAgentCompletion: the body type changed from AgentCompletionRequest to AgentCompletionRequestUnion.
    • createAgent, updateAgent, getAgent: tool config models were renamed or merged (AlgoliaDisplayResultsToolConfig is now AlgoliaGroupedResultsToolConfig, AlgoliaRecommendToolConfigInput/Output are now AlgoliaRecommendToolConfig, ToolConfig is now ToolConfigOrBooleanUnion).
    • The memory request models MessagesUnionAgentConsolidateRequest, MessagesUnionAgentMemorizeRequest and MessagesUnionAgentPonderRequest were removed.
  • a41727d2e1 chore(deps): dependencies 2026-09-21 (#7068) by @algolia-api-clients-automation-bot[bot]
  • 9a6faf38f6 fix(specs): correct links to Algolia docs (#7134) by @kai687
  • 329efbae3b fix(specs): update allowed value for externalProvider source ordering field (#7131) by @aiordache

Full Changelog: 4.49.0...4.50.0

→ Browse the Algolia documentation

Don't miss a new algoliasearch-client-php release

NewReleases is sending notifications on new releases.