v0.19.0 π
·
590 commits
to refs/heads/main
since this release
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
MeiliSearch::Client#keysnow returns a hash with: (#340) @brunoocasaliresultsarraylimitintegeroffsetintegertotalinteger
MeiliSearch::Index#indexes,MeiliSearch::Client#raw_indexesnow returns a hash with: (#342) @brunoocasaliresultsarraylimitintegeroffsetintegertotalinteger
MeiliSearch::Client#create_dumpnow responds with aTaskobject. (#335) @brunoocasaliMeiliSearch::Client#get_dump_statuswas removed. Use theMeiliSearch::Client#tasksorMeiliSearch::Client#taskinstead. (#335) @brunoocasaliMeiliSearch::Index#search: (#331) @curquiza- Renamed
nbHitsresponse parameter toestimatedTotalHits. - Deleted
exhaustiveNbHitsresponse parameter. - Deleted
exhaustiveFacetsCountresponse parameter. _matchesInforesponse parameter is renamed_matchesPosition.facetsDistributionresponse parameter is renamedfacetDistribution.facetsDistributionrequest parameter is renamedfacets.matchesrequest parameter is renamedshowMatchesPosition.
- Renamed
MeiliSearch::Index#documentsnow returns an hash with: (#342) @brunoocasaliresultsarraylimitintegeroffsetintegertotalinteger
MeiliSearch::Index#tasksnow returns a hash with: (#336), (#341) @brunoocasaliresultsarraylimitintegerfromintegernextinteger
add_documents,create_dump,update_settingsand other methods that "creates" a new task, now responds with ataskUidinstead ofuid(#336), (#341) @brunoocasaliMeiliSearch::Client#generate_tenant_token(uid, search_rules, api_key: api_key, expires_at: expires_at)now requires aapi key uidto generate tenant tokens. (#340) @brunoocasali
π Enhancements
MeiliSearch::Client#indexes,MeiliSearch::Client#raw_indexesnow accepts an hash with paginationlimit,offset.MeiliSearch::Client#documents, now accepts an hash with paginationlimit,offset. (#342) @brunoocasaliMeiliSearch::Client#document, now accepts a named param calledfieldswhich takes an array of strings to remap the response. (#342) @brunoocasaliMeiliSearch::Client#tasks, now accepts these filtering parameters:type,statusandindex_uid. Usage example:tasks(status: ['processing'], type: ['documentAdditionOrUpdate']). (#336), (#341) @brunoocasaliMeiliSearch::Client#create_key,MeiliSearch::Client#delete_key,MeiliSearch::Client#update_keyaccepts bothapi keyorapi key uid. (#340) @brunoocasaliMeiliSearch::Client#create_keycan optionally specify auid:to generate deterministic API keys. (#340) @brunoocasaliMeiliSearch::Client#update_keyonly acceptsdescriptionandname, other keys will be removed silently. (#340) @brunoocasali
Thanks again to @brunoocasali, @curquiza! π