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
TaskInfo
and not aTask
object anymore. (ex: add_documents). Update task api for v0.28.0 #299get_tasks
now returns aTasksResults
where the tasks are contained inside theresults
field. Update task api for v0.28.0 #299task_id
inTask
andTaskInfo
is now au32
instead of au64
Update task api for v0.28.0 #299index_uid
inTask
andTaskInfo
is now optional. Update task api for v0.28.0 #299get_tasks
onindexUid
,status
andtype
. Update task api for v0.28.0 #299get_keys_with
get_keys
orget_key
now returns an additionalname and
uid` field. Update keys for v0.28.0 #313get_keys_with
andget_keys
is now aKeysResults
instead ofVec<Key>
. Update keys for v0.28.0 #313update_key
only accepts updates on thedescription
and thename
Update keys for v0.28.0 #313client.get_indexes
now returns aIndexesResults
instead of aVec<Index>
Update indexes for v0.28.0 #315client.get_indexes_raw
now returns aValue
instead of aVec<Value>
Update indexes for v0.28.0 #315Index
structure: Update indexes for v0.28.0 #315uid
is now astring
and not aArc<string>
and is publicclient
is now publicprimary_key
is now publicname
field is removedSearchResults
nbHits
is now namedestimated_total_hits
Update search for v0.28.0 #316SearchResults
exhaustive_nb_hits
is removed. Update search for v0.28.0 #316SearchResults
exhaustive_facets_count
is removed. Update search for v0.28.0 #316SearchQuery
matches
is now namedshow_mathes_position
and the methodwith_matches
is now namedwith_show_matches_position
Update search for v0.28.0 #316SearchResults
matches_info
is now namedmatches_position
Update search for v0.28.0 #316SearchQuery
facets_distribution
is now namedfacets
Update search for v0.28.0 #316SearchResults
facets_distribution
is now namedfacet_distribution
Update search for v0.28.0 #316client.get_documents
andclient.get_documents_with
now returns aDocumentsResults
instead of aVec<T>
Update indexes for v0.28.0 #315client.get_documents
has no filtering parameters anymore, useget_documents_with
to filter.client.generate_tenant_token
,apiKeyPrefix
is now namedapiKeyUid
and 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_status
removed on Dumps struct Update dumps for v0.28.0 #319create_dump
now returns aTaskInfo
instead of aDumpInfo
Update dumps for v0.28.0 #319🐛 Enhancements
client.get_tasks_with
and a structTasksQuery
based 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_key
accepts a customname
and a customuuid
to create deterministic API keys. Update keys for v0.28.0 #313client.get_indexes_with
takes as argumentIndexesQuery
giving you the possibility to setlimit
andoffset
. Update indexes for v0.28.0 #315client.get_indexes_raw_with
takes as argumentIndexesQuery
giving you the possibility to setlimit
andoffset
. Update indexes for v0.28.0 #315IndexUpdater
struct 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 #315IndexesQuery
struct allows you to define the filtering applied during theget_all_indexes_with
call. Update indexes for v0.28.0 #315client.get_documents_with
takes as argumentDocumentsQuery
giving the possibility to setlimit
moffset
and the fields that you want to see in the returned documents (default: all fields). Update indexes for v0.28.0 #315index.get_document_with
takes as argumentDocumentQuery
giving 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 ! 🎉