Skip to content

Releases: algolia/algoliasearch-client-php

2.8.0

07 Apr 16:52
Compare
Choose a tag to compare

Fix

  • Add missing part of the url for stopABTest() method (#666)
  • Handling of params array in the $queries array for multipleQueries method (#663)

Added

  • Custom Dictionaries feature (#662)

2.7.2

24 Nov 10:19
Compare
Choose a tag to compare

Chore

  • Containerize the repo

2.0.0

22 Nov 09:47
Compare
Choose a tag to compare

1.28.0

06 Nov 10:48
Compare
Choose a tag to compare
  • Introduce $client->multipleGetObjects() to retrieve objects via ObjectID
    across multiple indices

  • fix $index->waitTask to return task, behavior prior to 1.27.0

2.0.0-RC

01 Nov 16:50
d466e41
Compare
Choose a tag to compare

2.0.0 Alpha 2

20 Aug 13:06
Compare
Choose a tag to compare
2.0.0 Alpha 2 Pre-release
Pre-release
  • Add getter and setter for Index::indexName property
  • Fix Travis
  • Introduce ClientConfiguration (which holds ClusterHosts)
  • Introduce Client singleton with Client::get()

2.0.0 Alpha 1

12 Jul 07:41
Compare
Choose a tag to compare
2.0.0 Alpha 1 Pre-release
Pre-release

Read more on our forum: https://discourse.algolia.com/t/introducing-php-api-client-v2/5635

Since 2.0.0-alpha

  • Add multiple indexes search/index methods
  • Add common files (licence, changelog...)
  • Rename index to initIndex for easier upgrade
  • Fix default HttpClient wrapper for PHP53
  • Setup Travis

1.27.0

19 Jun 06:00
Compare
Choose a tag to compare
  • Introduce AB Testing feature - PR #408
    List/Create/Stop/Delete AB Tests programmatically
    Introduce new Analytics object, wrapper around the
    Analytics API (more methods to come).

  • 2 methods about taskID initially available in the Index moved to the Client.
    You could get some taskID from the engine without necessarily have an instance of Index,
    instead of instanciating an index that you won't need, you can now call waitTask and getTaskStatus on the client.
    The original methods on the index still work are not deprecated.

    $client->waitTask($indexName, $taskID)
    $client->getTaskStatus($indexName, $taskID)

1.26.1

15 Jun 13:39
Compare
Choose a tag to compare
  • Fix PHP warning when using searchDisjunctiveFaceting - See #407

1.26.0

07 Jun 12:36
aeb8ab5
Compare
Choose a tag to compare

🎉 Note to contributors:
Everybody is now able to run the test on Travis, since we moved to temporary credentials.️ ⤵️
https://blog.algolia.com/travis-encrypted-variables-external-contributions/

  • Fix: addApiKey was fixed in 1.25.0 (see changelog entry below). The same fix was ported to updateApiKey.

  • Fix: Curl was added to the composer requirements. If you get an error because curl is not enabled in CLI, enable it or use the flag --ignore-platform-reqs

  • Fix: Adding a rule with an empty ID failed silently, it will now throw an exception

  • Deprecation: Keys should not be managed at the Index level but at the Client level

    All methods Index::(list|get|add|update)ApiKeys() are now
    deprecated. If you already have keys on the Index, it would be best
    to delete them and regenerate new keys with client, adding the indexes
    restriction.

    Example:

    $client->addApiKey([
        'acl' => 'search',
        'indexes' => 'my_index_name',
    ])
  • Fix: Add $requestHeaders arg to Index::browse and Index::deleteBy

  • Fix: When browsing, ensure cursor is passed in the body
    Cursor can become so long that the generated URL fails (error HTTP 414).

  • Chore: Add PHP version to the UserAgent