Skip to content

Conversation

bidoubiwa
Copy link
Contributor

@bidoubiwa bidoubiwa commented Aug 30, 2022

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

🐛 Enhancements

  • Creation of a method client.get_tasks_with and a struct TasksQuery based of this that lets you filter tasks. Update task api for v0.28.0 #299
  • Creation of client.get_keys_with() that lets you paginate on limit (default: 20), offset (default: 0). Update keys for v0.28.0 #313
  • create_key accepts a custom name and a custom uuid to create deterministic API keys. Update keys for v0.28.0 #313
  • client.get_indexes_with takes as argument IndexesQuery giving you the possibility to set limit and offset. Update indexes for v0.28.0 #315
  • client.get_indexes_raw_with takes as argument IndexesQuery giving you the possibility to set limit and offset. Update indexes for v0.28.0 #315
  • IndexUpdater 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 #315
  • IndexesQuery struct allows you to define the filtering applied during the get_all_indexes_with call. Update indexes for v0.28.0 #315
  • new method client.get_documents_with takes as argument DocumentsQuery giving the possibility to set limitm offset and the fields that you want to see in the returned documents (default: all fields). Update indexes for v0.28.0 #315
  • new method index.get_document_with takes as argument DocumentQuery giving the possibility to chose the fields you want to see in your returned documents. Update document query for v0.28.0 #326

Thanks again to @bidoubiwa, @abhizer ! 🎉

@bidoubiwa bidoubiwa changed the base branch from main to bump-meilisearch-v0.28.0 August 30, 2022 15:21
@bidoubiwa bidoubiwa requested a review from brunoocasali August 31, 2022 10:42
@brunoocasali
Copy link
Member

The returned keys when using get_keys_with get_keys or get_key now returns an additional field uid. #313

and name field :)

update_key only accepts updates on the description and the name #313

You can apply the code styling to description and name :)


What's the pattern here?

In SearchResults matches_info is now named matches_position #316
In SearchResults facetsDistribution is now named facetDistribution #316

Why do we have both camelCase and snake_case for these fields?

// Todo get document

Remove this? Or fix it?

The prototype of the function changed accordingly

Can you add the prototype in the release notes?

Method get_dump_status does not exists on Dumps anymore

What about: Removed get_dump_status on Dumps struct.

create_key accepts a custom name

And a custom uuid, correct?

Copy link
Member

@brunoocasali brunoocasali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

@bidoubiwa bidoubiwa marked this pull request as ready for review August 31, 2022 13:55
@bidoubiwa bidoubiwa merged commit d59b8e6 into bump-meilisearch-v0.28.0 Aug 31, 2022
@bidoubiwa bidoubiwa deleted the bump_version_to_v0.18.0 branch August 31, 2022 13:56
@brunoocasali brunoocasali added the skip-changelog The PR will not appear in the release changelogs label Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog The PR will not appear in the release changelogs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants