-
Notifications
You must be signed in to change notification settings - Fork 100
Add tasks filters for v0.30.0 #375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
bidoubiwa
merged 13 commits into
bump-meilisearch-v0.30.0
from
add_tasks_filters_for_v0.30.0
Nov 15, 2022
Merged
Add tasks filters for v0.30.0 #375
bidoubiwa
merged 13 commits into
bump-meilisearch-v0.30.0
from
add_tasks_filters_for_v0.30.0
Nov 15, 2022
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alallema
reviewed
Nov 10, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a comment
Co-authored-by: Amélie <[email protected]>
alallema
approved these changes
Nov 14, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job 🎉
LGTM! 🌯
65c2527
to
0cf2505
Compare
This was referenced Nov 28, 2022
bors bot
added a commit
that referenced
this pull request
Nov 28, 2022
399: Update version for the next release (v0.21.0) r=bidoubiwa a=bidoubiwa This version makes this package compatible with Meilisearch v0.30.0 🎉 Check out the changelog of [Meilisearch v0.30.0](https://github.com/meilisearch/meilisearch/releases/tag/v0.30.0) for more information on the changes. ## 🚀 Enhancements - New `pagination` strategy with the search parameters`page` and `hitsPerPage` #374 - New bulder methods on `get_tasks`: `with_uids`, `with_before_enqueued_at`, ... see #375 - New `client.cancel_tasks` method that lets you cancel `enqueued` and `processing` tasks #377 - New `client.delete_tasks` method that lets you delete tasks #381 - New `client.swap_indexes` method that lets you swap two indexes #382 ##⚠️ Breaking change - builder functions on `TasksQuery` name changes: #375 - `with_status` -> `with_statuses` - `with_index_uid` -> `with_index_uids` - `with_type` -> `with_types` - Task detail `receivedDocumentIds` renamed to `providedIds` #393 - Error field in `Task` is now always present and has a `None` value when there are no errors #390 - Add and rename some error codes: #384 Co-authored-by: Charlotte Vermandel <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add new filters on the
get /tasks
route.Present in this spec
TODO:
V0.30.0rc1
index_uid
renamed toindex_uids
type
renamed totypes
status
renamed tostatuses
uid
renamed touids
with_index_uid
renamed towith_index_uids
with_type
renamed towith_types
with_status
renamed towith_statuses
with_uid
renamed towith_uids
V0.30.0rc0
in TasksQuery struct:
uid
before_enqueued_at
after_enqueued_at
before_started_at
after_started_at
before_finished_at
after_finished_at
In TaskQuery impl constructor:
uids: None
before_enqueued_at: None
after_enqueued_at: None
before_started_at: None
after_started_at: None
before_finished_at: None
after_finished_at: None
in TasksQuery implementation:
with_uids()
with_before_enqueued_at()
with_after_enqueued_at()
with_before_started_at()
with_after_started_at()
with_before_finished_at()
with_after_finished_at()
Tests: