Skip to content
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

Changes regarding Meilisearch v0.30.0 #221

Closed
11 of 13 tasks
brunoocasali opened this issue Nov 7, 2022 · 7 comments
Closed
11 of 13 tasks

Changes regarding Meilisearch v0.30.0 #221

brunoocasali opened this issue Nov 7, 2022 · 7 comments
Labels
Meilisearch bump Changes related to the Meilisearch bump version

Comments

@brunoocasali
Copy link
Member

brunoocasali commented Nov 7, 2022

This issue gathers the changes related to the v0.30.0 of Meilisearch that will impact the integrations team.

Release date: November 28th, 2022

The whole milestone of v0.30.0 is here!

SDKs which should be finished by November 28th:

  • C# (.NET)
  • Go
  • JavaScript
  • PHP
  • Python
  • Ruby
  • Rust
  • Java
  • Rails after Ruby release
  • Symfony after PHP release
  • DocsScraper after Python release
  • Dart
  • Swift

Add finite pagination in the search results

Related to:

Add the support to the new finite pagination in the /search requests. Check the according to issue and specification for more info.

Implementation references: meilisearch/meilisearch-dotnet#351, meilisearch/meilisearch-php#370, and meilisearch/meilisearch-js#1305


Cancel non-processed tasks with the new method /tasks/cancel

Related to:

Allow users to cancel a processing or an enqueued task.

  • Add new endpoint: POST /tasks/cancel
  • Guarantee all the filters available in the GET /tasks but from and limit are available.
  • Add new task type: taskCancelation
  • Add new API key action: tasks.cancel
  • Add new task status canceled
  • Introduce a new error code missing_task_filters
  • Task error field is set to null by default.
  • EnqueuedTask canceledBy field is set to null by default.
  • New fields in details from Task on taskCancelation task type:
    • matchedTasks
    • canceledTasks
    • originalQuery/originalFilter.

Add/Update filters for /tasks

Add filters for this endpoint:

  • uids filter. e.g /tasks?uids=1,2,3,4
    • error code in case of failure: invalid_task_uids_filter
  • canceledBy filter. e.g /tasks?canceledBy=99,100
    • error code in case of failure: invalid_task_canceled_by_filter
  • beforeEnqueuedAt and afterEnqueuedAt. e.g /tasks?afterEnqueuedAt=2022-01-20&beforeEnqueuedAt=2022-01-23
  • beforeStartedAt and afterStartedAt. e.g /tasks?afterStartedAt=2022-01-20&beforeStartedAt=2022-01-23
  • beforeFinishedAt and afterFinishedAt. e.g /tasks?afterFinishedAt=2022-01-20&beforeFinishedAt=2022-01-23

Rename filters and error codes for this endpoint:

  • indexUid query parameter is renamed indexUids
  • type query parameter is renamed types
  • status query parameter is renamed statuses
  • invalid_task_type error is renamed invalid_task_types_filter
  • invalid_task_status error is renamed invalid_task_statuses_filter

Index name swapping with the new method POST /swap-indexes

Related to:

The goal of this issue is to make Meilisearch more production-ready by allowing the swap of indexes, and this feature should remove the possible downtimes.

  • Add the POST /swap-indexes endpoint
  • Add an indexSwap task type
  • Add an indexes.swap API Key action
  • Add a duplicate_index_found error.
  • Add swaps in Tasks.details

Delete old and processed tasks

Related to:

This issue aims to reduce the users' friction with disk size management by allowing them to delete the old processed tasks.

  • A new endpoint: DELETE /tasks
  • A new task type: taskDeletion
  • Add deletedTasks in field details from Task type when performing taskDeletion
  • A new API key action: tasks.delete
  • Guarantee all the filters available in the GET /tasks but from and limit are available.
  • Add uids filter. e.g /tasks?uids=1,2,3,4 (⚠️ only effective after RC1)
    • error code in case of failure: invalid_task_uids_filter
  • Add canceledBy filter. e.g /tasks?canceledBy=99,100
    • error code in case of failure: invalid_task_canceled_by_filter
  • Add beforeEnqueuedAt and afterEnqueuedAt. e.g /tasks?afterEnqueuedAt=2022-01-20&beforeEnqueuedAt=2022-01-23
  • Add beforeStartedAt and afterStartedAt. e.g /tasks?afterStartedAt=2022-01-20&beforeStartedAt=2022-01-23
  • Add beforeFinishedAt and afterFinishedAt. e.g /tasks?afterFinishedAt=2022-01-20&beforeFinishedAt=2022-01-23

Add new error type missing_master_key

Related to:

⚠️ Especially for strongly typed languages, check all the available error types.


Rename receivedDocumentsIds by matchedDocuments providedIds

Related to:

⚠️ Especially for strongly typed languages, check the details field from the Task type.


Introduce the snapshotCreation task type

⚠️ Especially for strongly typed languages, check the type field of the Task type and add a new entry: snapshotCreation.


Remove batchUid from Task type (from 0.29)

⚠️ Especially for strongly typed languages, remove the presence of batchUid field from the Task type.

@brunoocasali brunoocasali added WIP Work in progress issue Meilisearch bump Changes related to the Meilisearch bump version labels Nov 7, 2022
@brunoocasali brunoocasali changed the title [WIP] Changes regarding Meilisearch v0.30.0 Changes regarding Meilisearch v0.30.0 Nov 7, 2022
@bidoubiwa
Copy link
Contributor

bidoubiwa commented Nov 7, 2022

Cancel

A new endpoint: POST /tasks/cancel

With the same query parameters as GET /tasks minus limit and from

Task error field is set to null by default.

Not sure this is related to the cancel API

A new task type: taskCancelation

Missing New Task.details on taskCancelation:

  • matchedTasks
  • canceledTasks
  • originalQuery ⚠️ Name will be changed in future rc release to originalFilter (maybe rc1 or rc2)

Task canceledBy field is set to null by default.

canceledBy is returned in enqueuedTask (ex: post /documents) and task (ex: get /tasks/1)

Filters

  • renames from singular to plural (ex: uid to uids) are only effective in rc1

Swap

Add an indexSwap task type

  • Add swaps in Tasks.details

Flush old and processed tasks

  • Rename flush to delete for consistency in wording across the specs
  • Filters are missing, they extend the filters from GET /tasks minus from and limit
  • add deletedTasks in Task.details when performing taskDeletion

@curquiza
Copy link
Member

curquiza commented Nov 7, 2022

Docs-scraper can be updated to use index-swap! 😄 (breaking since it will require to use Meilisearch v0.30.0)

@bidoubiwa
Copy link
Contributor

Introduce the snapshotCreation task type
issue: meilisearch/meilisearch#2953
spec: meilisearch/specifications#188

Not sure this is the correct spec

@brunoocasali
Copy link
Member Author

Rename flush to delete for consistency in wording across the specs

@bidoubiwa can you explain that? Because in the Ruby and PHP there is no flush mention at all :)

@bidoubiwa
Copy link
Contributor

Its just the title of your category here in this issue 😅

This was referenced Nov 7, 2022
@brunoocasali
Copy link
Member Author

Pinging @meilisearch/integration-team, I've updated the issue to adapt to the latest naming changes 😉

meili-bors bot added a commit to meilisearch/meilisearch-ruby that referenced this issue Nov 28, 2022
389: Changes related to the next Meilisearch release (v0.30.0) r=brunoocasali a=meili-bot

Related to this issue: meilisearch/integration-guides#221

This PR:
- gathers the changes related to the next Meilisearch release (v0.30.0) so that this package is ready when the official release is out.
- should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases).
- might eventually contain test failures until the Meilisearch v0.30.0 is out.

⚠️ This PR should NOT be merged until the next release of Meilisearch (v0.30.0) is out.

_This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/main/resources/pre-release-week.md) purpose._


Co-authored-by: meili-bot <[email protected]>
Co-authored-by: Bruno Casali <[email protected]>
bors bot added a commit to meilisearch/meilisearch-php that referenced this issue Nov 28, 2022
414: Changes related to the next Meilisearch release (v0.30.0) r=brunoocasali a=meili-bot

Related to this issue: meilisearch/integration-guides#221

This PR:
- gathers the changes related to the next Meilisearch release (v0.30.0) so that this package is ready when the official release is out.
- should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases).
- might eventually contain test failures until the Meilisearch v0.30.0 is out.

⚠️ This PR should NOT be merged until the next release of Meilisearch (v0.30.0) is out.

_This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/main/resources/pre-release-week.md) purpose._


Co-authored-by: meili-bot <[email protected]>
Co-authored-by: Bruno Casali <[email protected]>
bors bot added a commit to meilisearch/meilisearch-php that referenced this issue Nov 28, 2022
414: Changes related to the next Meilisearch release (v0.30.0) r=brunoocasali a=meili-bot

Related to this issue: meilisearch/integration-guides#221

This PR:
- gathers the changes related to the next Meilisearch release (v0.30.0) so that this package is ready when the official release is out.
- should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases).
- might eventually contain test failures until the Meilisearch v0.30.0 is out.

⚠️ This PR should NOT be merged until the next release of Meilisearch (v0.30.0) is out.

_This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/main/resources/pre-release-week.md) purpose._


Co-authored-by: meili-bot <[email protected]>
Co-authored-by: Bruno Casali <[email protected]>
meili-bors bot added a commit to meilisearch/meilisearch-js that referenced this issue Nov 28, 2022
1390: Changes related to the next Meilisearch release (v0.30.0) r=bidoubiwa a=meili-bot

Related to this issue: meilisearch/integration-guides#221

This PR:
- gathers the changes related to the next Meilisearch release (v0.30.0) so that this package is ready when the official release is out.
- should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases).
- might eventually contain test failures until the Meilisearch v0.30.0 is out.

⚠️ This PR should NOT be merged until the next release of Meilisearch (v0.30.0) is out.

_This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/main/resources/pre-release-week.md) purpose._


Co-authored-by: meili-bot <[email protected]>
Co-authored-by: cvermand <[email protected]>
Co-authored-by: Charlotte Vermandel <[email protected]>
bors bot added a commit to meilisearch/meilisearch-rust that referenced this issue Nov 28, 2022
370: Changes related to the next Meilisearch release (v0.30.0) r=bidoubiwa a=meili-bot

Related to this issue: meilisearch/integration-guides#221

This PR:
- gathers the changes related to the next Meilisearch release (v0.30.0) so that this package is ready when the official release is out.
- should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases).
- might eventually contain test failures until the Meilisearch v0.30.0 is out.

⚠️ This PR should NOT be merged until the next release of Meilisearch (v0.30.0) is out.

_This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/main/resources/pre-release-week.md) purpose._


Co-authored-by: meili-bot <[email protected]>
Co-authored-by: cvermand <[email protected]>
Co-authored-by: Charlotte Vermandel <[email protected]>
Co-authored-by: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
bors bot added a commit to meilisearch/meilisearch-python that referenced this issue Nov 28, 2022
588: Changes related to the next Meilisearch release (v0.30.0) r=alallema a=meili-bot

Related to this issue: meilisearch/integration-guides#221

This PR:
- gathers the changes related to the next Meilisearch release (v0.30.0) so that this package is ready when the official release is out.
- should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases).
- might eventually contain test failures until the Meilisearch v0.30.0 is out.

⚠️ This PR should NOT be merged until the next release of Meilisearch (v0.30.0) is out.

_This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/main/resources/pre-release-week.md) purpose._

- #597 
- #595 
- #596 
- #598
- #603

Co-authored-by: meili-bot <[email protected]>
Co-authored-by: alallema <[email protected]>
Co-authored-by: Amélie <[email protected]>
bors bot added a commit to meilisearch/meilisearch-python that referenced this issue Nov 28, 2022
588: Changes related to the next Meilisearch release (v0.30.0) r=alallema a=meili-bot

Related to this issue: meilisearch/integration-guides#221

This PR:
- gathers the changes related to the next Meilisearch release (v0.30.0) so that this package is ready when the official release is out.
- should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases).
- might eventually contain test failures until the Meilisearch v0.30.0 is out.

⚠️ This PR should NOT be merged until the next release of Meilisearch (v0.30.0) is out.

_This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/main/resources/pre-release-week.md) purpose._

- #597 
- #595 
- #596 
- #598
- #603

Co-authored-by: meili-bot <[email protected]>
Co-authored-by: alallema <[email protected]>
Co-authored-by: Amélie <[email protected]>
bors bot added a commit to meilisearch/meilisearch-dotnet that referenced this issue Dec 5, 2022
357: Changes related to the next Meilisearch release (v0.30.0) r=brunoocasali a=meili-bot

Related to this issue: meilisearch/integration-guides#221

This PR:
- gathers the changes related to the next Meilisearch release (v0.30.0) so that this package is ready when the official release is out.
- should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases).
- might eventually contain test failures until the Meilisearch v0.30.0 is out.

⚠️ This PR should NOT be merged until the next release of Meilisearch (v0.30.0) is out.

_This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/main/resources/pre-release-week.md) purpose._


Co-authored-by: meili-bot <[email protected]>
Co-authored-by: Bruno Casali <[email protected]>
bors bot added a commit to meilisearch/meilisearch-go that referenced this issue Dec 14, 2022
382: Changes related to the next Meilisearch release (v0.30.0) r=alallema a=meili-bot

Related to this issue: meilisearch/integration-guides#221

This PR:
- gathers the changes related to the next Meilisearch release (v0.30.0) so that this package is ready when the official release is out.
- should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases).
- might eventually contain test failures until the Meilisearch v0.30.0 is out.

⚠️ This PR should NOT be merged until the next release of Meilisearch (v0.30.0) is out.

_This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/main/resources/pre-release-week.md) purpose._

Done:
- #390
- #392
- #395
- #396
- #397

Co-authored-by: meili-bot <[email protected]>
Co-authored-by: Amélie <[email protected]>
Co-authored-by: alallema <[email protected]>
bors bot added a commit to meilisearch/meilisearch-dart that referenced this issue Jan 11, 2023
219: Changes related to the next Meilisearch release (v0.30.0) r=brunoocasali a=meili-bot

Related to this issue: meilisearch/integration-guides#221

This PR:
- gathers the changes related to the next Meilisearch release (v0.30.0) so that this package is ready when the official release is out.
- should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases).
- might eventually contain test failures until the Meilisearch v0.30.0 is out.

⚠️ This PR should NOT be merged until the next release of Meilisearch (v0.30.0) is out.

_This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/main/resources/pre-release-week.md) purpose._


Co-authored-by: meili-bot <[email protected]>
Co-authored-by: Bruno Casali <[email protected]>
bors bot added a commit to meilisearch/meilisearch-java that referenced this issue Feb 27, 2023
482: Changes related to the next Meilisearch release (v0.30.0) r=alallema a=meili-bot

Related to this issue: meilisearch/integration-guides#221

This PR:
- gathers the changes related to the next Meilisearch release (v0.30.0) so that this package is ready when the official release is out.
- should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases).
- might eventually contain test failures until the Meilisearch v0.30.0 is out.

⚠️ This PR should NOT be merged until the next release of Meilisearch (v0.30.0) is out.

_This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/main/resources/pre-release-week.md) purpose._

Done:
- #544 
- #545 
- #546 
- #547 
- #548 
- #554 

Co-authored-by: meili-bot <[email protected]>
Co-authored-by: Amélie <[email protected]>
Co-authored-by: alallema <[email protected]>
@brunoocasali brunoocasali removed the WIP Work in progress issue label Mar 4, 2023
meili-bors bot added a commit to meilisearch/meilisearch-swift that referenced this issue Mar 7, 2023
352: Changes related to the next Meilisearch release (v0.30.0) r=brunoocasali a=meili-bot

Related to this issue: meilisearch/integration-guides#221

This PR:
- gathers the changes related to the next Meilisearch release (v0.30.0) so that this package is ready when the official release is out.
- should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases).
- might eventually contain test failures until the Meilisearch v0.30.0 is out.

⚠️ This PR should NOT be merged until the next release of Meilisearch (v0.30.0) is out.

_This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/main/resources/pre-release-week.md) purpose._


Co-authored-by: meili-bot <[email protected]>
Co-authored-by: Bruno Casali <[email protected]>
@brunoocasali
Copy link
Member Author

Closing this issue since all the integrations are ready 🎉 🎉. Congrats team ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Meilisearch bump Changes related to the Meilisearch bump version
Projects
None yet
Development

No branches or pull requests

3 participants