Bump version to v0.18.0 #328
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
TaskInfoand not aTaskobject anymore. (ex: add_documents). Update task api for v0.28.0 #299get_tasksnow returns aTasksResultswhere the tasks are contained inside theresultsfield. Update task api for v0.28.0 #299task_idinTaskandTaskInfois now au32instead of au64Update task api for v0.28.0 #299index_uidinTaskandTaskInfois now optional. Update task api for v0.28.0 #299get_tasksonindexUid,statusandtype. Update task api for v0.28.0 #299get_keys_withget_keysorget_keynow returns an additionalname anduid` field. Update keys for v0.28.0 #313get_keys_withandget_keysis now aKeysResultsinstead ofVec<Key>. Update keys for v0.28.0 #313update_keyonly accepts updates on thedescriptionand thenameUpdate keys for v0.28.0 #313client.get_indexesnow returns aIndexesResultsinstead of aVec<Index>Update indexes for v0.28.0 #315client.get_indexes_rawnow returns aValueinstead of aVec<Value>Update indexes for v0.28.0 #315Indexstructure: Update indexes for v0.28.0 #315uidis now astringand not aArc<string>and is publicclientis now publicprimary_keyis now publicnamefield is removedSearchResultsnbHitsis now namedestimated_total_hitsUpdate search for v0.28.0 #316SearchResultsexhaustive_nb_hitsis removed. Update search for v0.28.0 #316SearchResultsexhaustive_facets_countis removed. Update search for v0.28.0 #316SearchQuerymatchesis now namedshow_mathes_positionand the methodwith_matchesis now namedwith_show_matches_positionUpdate search for v0.28.0 #316SearchResultsmatches_infois now namedmatches_positionUpdate search for v0.28.0 #316SearchQueryfacets_distributionis now namedfacetsUpdate search for v0.28.0 #316SearchResultsfacets_distributionis now namedfacet_distributionUpdate search for v0.28.0 #316client.get_documentsandclient.get_documents_withnow returns aDocumentsResultsinstead of aVec<T>Update indexes for v0.28.0 #315client.get_documentshas no filtering parameters anymore, useget_documents_withto filter.client.generate_tenant_token,apiKeyPrefixis now namedapiKeyUidand expects the uid of the signing API key as a value. The prototype of the function changed accordingly. Update tenant token api for v0.28.1 #318get_dump_statusremoved on Dumps struct Update dumps for v0.28.0 #319create_dumpnow returns aTaskInfoinstead of aDumpInfoUpdate dumps for v0.28.0 #319🐛 Enhancements
client.get_tasks_withand a structTasksQuerybased of this that lets you filter tasks. Update task api for v0.28.0 #299client.get_keys_with()that lets you paginate onlimit(default: 20),offset(default: 0). Update keys for v0.28.0 #313create_keyaccepts a customnameand a customuuidto create deterministic API keys. Update keys for v0.28.0 #313client.get_indexes_withtakes as argumentIndexesQuerygiving you the possibility to setlimitandoffset. Update indexes for v0.28.0 #315client.get_indexes_raw_withtakes as argumentIndexesQuerygiving you the possibility to setlimitandoffset. Update indexes for v0.28.0 #315IndexUpdaterstruct gives you the possibility to create an instance of all the fields you would like to change in an Index and then execute the update: `IndexUpdater::new(&client).with_primary_key("my_id".to_string()).execute().await) Update indexes for v0.28.0 #315IndexesQuerystruct allows you to define the filtering applied during theget_all_indexes_withcall. Update indexes for v0.28.0 #315client.get_documents_withtakes as argumentDocumentsQuerygiving the possibility to setlimitmoffsetand the fields that you want to see in the returned documents (default: all fields). Update indexes for v0.28.0 #315index.get_document_withtakes as argumentDocumentQuerygiving the possibility to chose the fields you want to see in your returned documents. Update document query for v0.28.0 #326Thanks again to @bidoubiwa, @abhizer ! 🎉