-
Notifications
You must be signed in to change notification settings - Fork 14
Description
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:
- issue: Ease search result pagination meilisearch#2577
- spec: Search API - Page Selection Component specifications#196
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:
- issue: Canceling tasks meilisearch#2749
- spec: Tasks API - Add task cancelation capability specifications#195
Allow users to cancel a processing or an enqueued task.
- Add new endpoint:
POST /tasks/cancel - Guarantee all the filters available in the
GET /tasksbutfromandlimitare 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
errorfield is set tonullby default. - EnqueuedTask
canceledByfield is set tonullby default. - New fields in
detailsfromTaskontaskCancelationtask type:matchedTaskscanceledTasksoriginalQuery/originalFilter.
Add/Update filters for /tasks
Add filters for this endpoint:
uidsfilter. e.g/tasks?uids=1,2,3,4- error code in case of failure:
invalid_task_uids_filter
- error code in case of failure:
canceledByfilter. e.g/tasks?canceledBy=99,100- error code in case of failure:
invalid_task_canceled_by_filter
- error code in case of failure:
beforeEnqueuedAtandafterEnqueuedAt. e.g/tasks?afterEnqueuedAt=2022-01-20&beforeEnqueuedAt=2022-01-23beforeStartedAtandafterStartedAt. e.g/tasks?afterStartedAt=2022-01-20&beforeStartedAt=2022-01-23beforeFinishedAtandafterFinishedAt. e.g/tasks?afterFinishedAt=2022-01-20&beforeFinishedAt=2022-01-23
Rename filters and error codes for this endpoint:
indexUidquery parameter is renamedindexUidstypequery parameter is renamedtypesstatusquery parameter is renamedstatusesinvalid_task_typeerror is renamedinvalid_task_types_filterinvalid_task_statuserror is renamedinvalid_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-indexesendpoint - Add an
indexSwaptask type - Add an
indexes.swapAPI Key action - Add a
duplicate_index_founderror. - Add
swapsinTasks.details
Delete old and processed tasks
Related to:
- issue: Delete old processed tasks meilisearch#2751
- spec: Tasks API - Add task deletion capability specifications#198
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
deletedTasksin fielddetailsfromTasktype when performingtaskDeletion - A new API key action:
tasks.delete - Guarantee all the filters available in the
GET /tasksbutfromandlimitare available. - Add
uidsfilter. e.g/tasks?uids=1,2,3,4(⚠️ only effective after RC1)- error code in case of failure:
invalid_task_uids_filter
- error code in case of failure:
- Add
canceledByfilter. e.g/tasks?canceledBy=99,100- error code in case of failure:
invalid_task_canceled_by_filter
- error code in case of failure:
- Add
beforeEnqueuedAtandafterEnqueuedAt. e.g/tasks?afterEnqueuedAt=2022-01-20&beforeEnqueuedAt=2022-01-23 - Add
beforeStartedAtandafterStartedAt. e.g/tasks?afterStartedAt=2022-01-20&beforeStartedAt=2022-01-23 - Add
beforeFinishedAtandafterFinishedAt. e.g/tasks?afterFinishedAt=2022-01-20&beforeFinishedAt=2022-01-23
Add new error type missing_master_key
Related to:
- issue: Add new error when using
/keyswithout having set a master-key before (missing_master_key) meilisearch#2918 - spec: Keys API - Indicate to users that a master key must be set at Meilisearch launch to use that feature specifications#179
Rename receivedDocumentsIds by matchedDocuments providedIds
matchedDocumentsRelated to:
- issue: Rename
receivedDocumentIdsintomatchedDocumentsmeilisearch#2799 - spec: Tasks API - Rename
receivedDocumentsIdsbyprovidedIdsspecifications#188
details field from the Task type.
Introduce the snapshotCreation task type
- issue: Introduce the
snapshotCreationtask type meilisearch#2953 - spec: Tasks API - Add task priority order section specifications#194
type field of the Task type and add a new entry: snapshotCreation.
Remove batchUid from Task type (from 0.29)
- issue: Auto-batching: improve error handler + make it available by default meilisearch#2582
- spec: Auto-batching - Enable feature by default and remove unwanted options specifications#162
batchUid field from the Task type.