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#getKeysnow returns aKeysResults. (#319, #321, #313) @brunoocasaliMeiliSearch#getIndexesnow returns aIndexesResults(#319, #321, #314) @brunoocasaliMeiliSearch#createDumpnow responds with aResult<TaskInfo, Swift.Error>object. (#319, #321, #311) @brunoocasaliMeiliSearch#getDumpStatuswas removed. Use theMeiliSearch#getTasksorMeiliSearch#getTaskinstead. (#311) @brunoocasali- Add
TaskInfotype to handle enqueued tasks. (#310) @brunoocasali Dumptype was removed (#311) @brunoocasali.SearchParameterschanges (#317) @brunoocasali- Renamed
facetsDistributionfield tofacets. - Renamed
matchesfield toshowMatchesPosition.
- Renamed
SearchResult<T>changes (#317) @brunoocasali- Renamed
nbHitsfield toestimatedTotalHits. - Removed
exhaustiveFacetsCountfield. - Removed
exhaustiveNbHitsfield.
- Renamed
Index#getDocuments<T>now returns an objectDocumentsResults<T>(#319, #321, #312) @brunoocasaliMeiliSearch#getTasksandIndex#getTasksnow returns an objectTasksResults(#319, #321, #310, #315) @brunoocasaliaddDocuments<T>,createDump,updateSettingsand other methods that "creates" a new task, now responds with aResult<TaskInfo, Swift.Error>and therefore they have ataskUidinstead ofuid(#310) @brunoocasaliMeiliSearch#updateKeymethod to update keys now receive a new objectKeyUpdateParams(#313, #319) @brunoocasali
π Enhancements
MeiliSearch#getIndexesnow accepts an object with paginationIndexesQuery. (#314) @brunoocasaliMeiliSearch#getDocuments<T>now accepts an object with paginationDocumentsQuery. (#312) @brunoocasaliMeiliSearch#getDocument<T>now accepts a param calledfieldswhich takes an array of strings to remap the response. (#312) @brunoocasali
β οΈ Be careful with this option sinceTshould be able to handle the missing fields.MeiliSearch#createKeyandMeiliSearch#deleteKeyaccepts bothapi keyorapi key uid. (#319, #313) @brunoocasaliMeiliSearch#createKeycan 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! π