Skip to content

Releases: meilisearch/meilisearch-php

v0.18.1 🐘

Choose a tag to compare

@meili-bot meili-bot released this 24 May 10:37
f8b9831

Changes

Thanks again to @codedge, @bidoubiwa, @curquiza! 🎉

v0.18.0 🐘

Choose a tag to compare

@meili-bot meili-bot released this 29 Apr 13:30
74eefe5

Changes

Thanks to @codedge, @ppshobi and @Guikingone for their involvement in this repository for this release! 🎉

v0.17.2 🐘

Choose a tag to compare

@meili-bot meili-bot released this 26 Apr 18:49
a200a32

Changes

Thanks again to @alallema, @curquiza and @mmachatschek! 🎉

v0.17.1 🐘

Choose a tag to compare

@meili-bot meili-bot released this 12 Apr 18:37
17d8582

Changes

Thanks again to @claudiunicolaa! 🎉

v0.17.0 🐘

Choose a tag to compare

@meili-bot meili-bot released this 02 Mar 14:43
cc77f60

Breaking changes ⚠️

Thanks again to @claudiunicolaa, @jwohlfert23 ! 🎉

v0.16.0 🐘

Choose a tag to compare

@meili-bot meili-bot released this 21 Jan 16:31
e96b639

Sorry for all the breaking changes, our goal is to make this package as good and easy-to-use as possible! If you have any trouble, feel free to open an issue in the repo. We will glad to guide you through all these changes!

Breaking changes ⚠️

  • The search() method has now the following prototype:
    public function search($query, array $searchParams = [], array $options = [])
    The usage is described in the Wiki.
    (#120) @Guikingone

  • The search() method now returns a instance of SearchResult
    ex: $index->search('prince')->getHits()
    Please check the README and the Wiki to know how to use it!
    💡 If you still want to get an Array as a return, use rawSearch() or set the $option parameter to ['raw' => true].
    (#120) @Guikingone

  • $client->getIndex() is still present but does an HTTP call. This method should be only used to fetch information from the MeiliSearch instance, not to manipulate an Index object in your code base. Use index() instead. See the Getting Started to be sure using this SDK the most optimized way. (#124) @curquiza

  • $client->updateIndex returns an Index instance. (#124) @curquiza

  • $index->getPrimaryKey() does not do any HTTP call, but only returns the primaryKey attribute. Use $index->fetchPrimaryKey() if you want the same behavior as the old $index->getPrimaryKey() (#124) @curquiza

  • $index->show() is removed and replaced by $index->fetchInfo() (returns an instance) and $index->fetchRawInfo() (returns an array) (#124) @curquiza

  • $client->showIndex($uid) is removed. Use $client->getIndex($uid) (returns an instance) or $client->index($uid)->fetchRawInfo() (returns an array) instead. (#124) @curquiza

Changes

  • The SearchResult instance contains the new methods described in this section of the Wiki. (#120) @Guikingone and (#134) @curquiza

  • Add the rawSearch() method (#134) @curquiza
    This method has the same behavior as the "old" search() method: it returns the raw response sent by the MeiliSearch in an Array.

  • Introduction of the $client->index($uid) method that replaces $client->getIndex($uid). getIndex() is still available but does HTTP call, so this should be only used to fetch information from the MeiliSearch instance. See our Getting Started to use this package the right way (#124) @curquiza

  • New attribute in the Index class: primaryKey accessible via the getter $index->getPrimaryKey() (#124) @curquiza

  • New method $index->fetchRawInfo(): returns an array of index (#124) @curquiza

  • New method $index->fetchInfo(): returns an Index instance (#124) @curquiza

Thanks again to @Guikingone, @ppshobi, @bidoubiwa and @curquiza ! 🎉

v0.15.1 🐘

Choose a tag to compare

@curquiza curquiza released this 04 Nov 16:59
b10e3d5

Changes

Thanks again to @szainmehdi! 🎉

v0.15.0 🐘

Choose a tag to compare

@curquiza curquiza released this 14 Oct 14:05
ced7424

Changes

Breaking changes ⚠️

  • Remove the ability to replace Response and Request Factories (#100) @ppshobi
  • Update delete index to always return an array (#104) @pedroxido

Thanks again to @pedroxido, @ppshobi and @shokme! 🎉

v0.14.2 🐘

Choose a tag to compare

@curquiza curquiza released this 28 Sep 15:30
7695f54

Changes

  • Fix HTTPRequestException when body is null (#98) @shokme

Thanks again to @curquiza, @eskombro, @jdreesen and @shokme! 🎉

v0.14.1-alpha0 🐘 [Test purpose only]

Choose a tag to compare

@curquiza curquiza released this 23 Sep 09:06
0c161bd

Changes

  • Replace HttpClientDiscovery with Psr18ClientDiscovery (#88) @bensherred
    => meiliseach-php is now compatible with the latest version of Guzzle (^7) without any breaking!

Thanks to @bensherred, @ppshobi and @shokme! 🎉