diff --git a/src/content/changelogs/kv.yaml b/src/content/changelogs/kv.yaml index 00627bf085ccf49..24e9ccd16ff74dd 100644 --- a/src/content/changelogs/kv.yaml +++ b/src/content/changelogs/kv.yaml @@ -5,6 +5,21 @@ productLink: "/kv/" productArea: Developer platform productAreaLink: /workers/platform/changelog/platform/ entries: + - publish_date: "2024-11-14" + title: Workers KV REST API bulk operations provide granular errors + description: |- + + The REST API endpoints for bulk operations ([write](/api/operations/workers-kv-namespace-write-multiple-key-value-pairs), [delete](workers-kv-namespace-delete-multiple-key-value-pairs)) now return the keys of operations that failed during the bulk operation. The updated response bodies are documented in the [REST API documentation](/api/operations/workers-kv-namespace-list-namespaces) and contain the following information in the `result` field: + + ``` + { + "successful_key_count": number, + "unsuccessful_keys": string[] + } + ``` + + The unsuccessful keys are an array of keys that were not written successfully to all storage backends and therefore should be retried. + - publish_date: "2024-08-08" title: New KV Analytics API description: |-