Update version for the next release (v0.24.0) #350
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This version makes this package compatible with Meilisearch v0.28.0 🎉
Check out the changelog of Meilisearch v0.28.0 for more information on the changes.
💥 Breaking changes
rawSearch(and otherraw*functions) are a direct connection between your PHP application and Meilisearch, you may find changes that are not present in this section.MeiliSearch\Client->getDumpStatusmethod was removed. (Remove dumps functions #336) @brunoocasaliMeiliSearch\Client->getIndexesmethod now return a object typeIndexesResults. (Apply indexes changes v1 #341), (Indexes v2 #345) @brunoocasaliMeiliSearch\Client->generateTenantTokennow require aString apiKeyUidwhich is theuidof theKeyinstance used to sign the token. (Keys changes v2 #343) @brunoocasaliMeiliSearch\Client->createDumpnow responds withTaskobject. (Remove dumps functions #336, Tasks refactor v1 #337) @brunoocasaliMeiliSearch\Client->getKeysmethod now return a object typeKeysResults. (Keys changes v2 #343), (Keys changes v1 #338) @brunoocasaliMeiliSearch\Client->updateKeynow can just update adescriptionand/orname, if there are other key/value will be silently ignored. (Keys changes v2 #343), (Keys changes v1 #338) @brunoocasaliMeiliSearch\Client->getTasksmethod now return a object typeTasksResults. (Tasks refactor v1 #337), (Tasks changes v2 #346) @brunoocasaliMeiliSearch\Index->getTasksmethod now return a object typeTasksResults. (Tasks refactor v1 #337), (Tasks changes v2 #346) @brunoocasaliMeiliSearch\Index->searchfacetsDistributionis nowfacets(Apply search changes #332) @curquizaMeiliSearch\Index->searchmatchesis nowshowMatchesPosition(Apply search changes #332) @curquizaMeiliSearch\Index->getDocumentsmethod now return a object typeDocumentsResults.MeiliSearch\Index->getDocumentsmethod now accepts a object as a parameter andoffset,limit,attributesToRetrievewere not longer accepted.exhaustiveNbHits,facetsDistribution,exhaustiveFacetsCountwere removed fromSearchResult. (Apply search changes #332) @curquiza🚀 Enhancements
MeiliSearch\Client->getIndexesaccepts a objectIndexesQueryto filter and paginate the results.MeiliSearch\Client->getKeysaccepts a objectKeysQueryto filter and paginate the results. (Keys changes v2 #343), (Keys changes v1 #338) @brunoocasaliMeiliSearch\Client->getKeyaccepts both aKey#uidorKey#keyvalue. (Keys changes v2 #343), (Keys changes v1 #338) @brunoocasaliMeiliSearch\Client->getTasksaccepts a objectTasksQueryto filter and paginate the results. (Tasks refactor v1 #337), (Tasks changes v2 #346) @brunoocasaliMeiliSearch\Index->getTasksaccepts a objectTasksQueryto filter and paginate the results. (Tasks refactor v1 #337), (Tasks changes v2 #346) @brunoocasaliMeiliSearch\Client->createKeycan specify auid(optionally) to create a newKey. (Keys changes v2 #343), (Keys changes v1 #338) @brunoocasaliMeiliSearch\Index->getDocumentaccepts afieldslist to compact the remap the response. (Documents changes v1 #340), (Documents changes v2 #344) @brunoocasaliMeiliSearch\Index->getDocumentsaccepts a objectDocumentsQueryto filter and paginate the results. (Documents changes v1 #340), (Documents changes v2 #344) @brunoocasaliKeyhas now anameanduidstring fields. (Keys changes v2 #343), (Keys changes v1 #338) @brunoocasaliestimatedTotalHits,facetDistributionwere added toSearchResult(Apply search changes #332) @curquizanbHitsis still defined and will contain the same value asestimatedTotalHits.uidorapiKeywill raiseInvalidApiKeyException. (Keys changes v2 #343) @brunoocasaliThanks again to @brunoocasali, @curquiza! 🎉