v0.19.0 π
meili-bot
released this
11 Jul 18:07
·
375 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#keys
now returns a hash with: (#340) @brunoocasaliresults
arraylimit
integeroffset
integertotal
integer
MeiliSearch::Index#indexes
,MeiliSearch::Client#raw_indexes
now returns a hash with: (#342) @brunoocasaliresults
arraylimit
integeroffset
integertotal
integer
MeiliSearch::Client#create_dump
now responds with aTask
object. (#335) @brunoocasaliMeiliSearch::Client#get_dump_status
was removed. Use theMeiliSearch::Client#tasks
orMeiliSearch::Client#task
instead. (#335) @brunoocasaliMeiliSearch::Index#search
: (#331) @curquiza- Renamed
nbHits
response parameter toestimatedTotalHits
. - Deleted
exhaustiveNbHits
response parameter. - Deleted
exhaustiveFacetsCount
response parameter. _matchesInfo
response parameter is renamed_matchesPosition
.facetsDistribution
response parameter is renamedfacetDistribution
.facetsDistribution
request parameter is renamedfacets
.matches
request parameter is renamedshowMatchesPosition
.
- Renamed
MeiliSearch::Index#documents
now returns an hash with: (#342) @brunoocasaliresults
arraylimit
integeroffset
integertotal
integer
MeiliSearch::Index#tasks
now returns a hash with: (#336), (#341) @brunoocasaliresults
arraylimit
integerfrom
integernext
integer
add_documents
,create_dump
,update_settings
and other methods that "creates" a new task, now responds with ataskUid
instead ofuid
(#336), (#341) @brunoocasaliMeiliSearch::Client#generate_tenant_token(uid, search_rules, api_key: api_key, expires_at: expires_at)
now requires aapi key uid
to generate tenant tokens. (#340) @brunoocasali
π Enhancements
MeiliSearch::Client#indexes
,MeiliSearch::Client#raw_indexes
now 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 calledfields
which takes an array of strings to remap the response. (#342) @brunoocasaliMeiliSearch::Client#tasks
, now accepts these filtering parameters:type
,status
andindex_uid
. Usage example:tasks(status: ['processing'], type: ['documentAdditionOrUpdate'])
. (#336), (#341) @brunoocasaliMeiliSearch::Client#create_key
,MeiliSearch::Client#delete_key
,MeiliSearch::Client#update_key
accepts bothapi key
orapi key uid
. (#340) @brunoocasaliMeiliSearch::Client#create_key
can optionally specify auid:
to generate deterministic API keys. (#340) @brunoocasaliMeiliSearch::Client#update_key
only acceptsdescription
andname
, other keys will be removed silently. (#340) @brunoocasali
Thanks again to @brunoocasali, @curquiza! π