0.14.0 π
·
274 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#getKeys
now returns aKeysResults
. (#319, #321, #313) @brunoocasaliMeiliSearch#getIndexes
now returns aIndexesResults
(#319, #321, #314) @brunoocasaliMeiliSearch#createDump
now responds with aResult<TaskInfo, Swift.Error>
object. (#319, #321, #311) @brunoocasaliMeiliSearch#getDumpStatus
was removed. Use theMeiliSearch#getTasks
orMeiliSearch#getTask
instead. (#311) @brunoocasali- Add
TaskInfo
type to handle enqueued tasks. (#310) @brunoocasali Dump
type was removed (#311) @brunoocasali.SearchParameters
changes (#317) @brunoocasali- Renamed
facetsDistribution
field tofacets
. - Renamed
matches
field toshowMatchesPosition
.
- Renamed
SearchResult<T>
changes (#317) @brunoocasali- Renamed
nbHits
field toestimatedTotalHits
. - Removed
exhaustiveFacetsCount
field. - Removed
exhaustiveNbHits
field.
- Renamed
Index#getDocuments<T>
now returns an objectDocumentsResults<T>
(#319, #321, #312) @brunoocasaliMeiliSearch#getTasks
andIndex#getTasks
now returns an objectTasksResults
(#319, #321, #310, #315) @brunoocasaliaddDocuments<T>
,createDump
,updateSettings
and other methods that "creates" a new task, now responds with aResult<TaskInfo, Swift.Error>
and therefore they have ataskUid
instead ofuid
(#310) @brunoocasaliMeiliSearch#updateKey
method to update keys now receive a new objectKeyUpdateParams
(#313, #319) @brunoocasali
π Enhancements
MeiliSearch#getIndexes
now accepts an object with paginationIndexesQuery
. (#314) @brunoocasaliMeiliSearch#getDocuments<T>
now accepts an object with paginationDocumentsQuery
. (#312) @brunoocasaliMeiliSearch#getDocument<T>
now accepts a param calledfields
which takes an array of strings to remap the response. (#312) @brunoocasali
β οΈ Be careful with this option sinceT
should be able to handle the missing fields.MeiliSearch#createKey
andMeiliSearch#deleteKey
accepts bothapi key
orapi key uid
. (#319, #313) @brunoocasaliMeiliSearch#createKey
can optionally specify auid:
to generate deterministic API keys. (#319, #313) @brunoocasali- Refactor the request function to use a simple request builder (#283) @ppamorim
- Add a new step into the linter action to validate Podspec (#298) @brunoocasali
- Remove all the types from the code samples to make them simpler (#306) @brunoocasali
- Replace all print(error) with dump(error) in the tests (#301) @nicolasvienot
Thanks again to @bidoubiwa, @brunoocasali, @meili-bors[bot], @nicolasvienot and @ppamorim! π