From 39b202bd35668605656890336adc762b4c910e2b Mon Sep 17 00:00:00 2001 From: Swopnil Dangol Date: Wed, 7 Jan 2026 08:53:58 +0000 Subject: [PATCH 1/2] Added a note for customers migrating from BatchProcessorSync --- docs/features/batch.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/features/batch.md b/docs/features/batch.md index 088deff619..cd9d8aa2d5 100644 --- a/docs/features/batch.md +++ b/docs/features/batch.md @@ -86,6 +86,9 @@ Processing batches from SQS works in three stages: !!! note By default, the batch processor will process messages in parallel, which does not guarantee the order of processing. If you need to process messages in order, set the [`processInParallel` option to `false`](#sequential-processing), or use [`SqsFifoPartialProcessor` for SQS FIFO queues](#fifo-queues). +!!! note + If you're migrating from `BatchProcessorSync` to `BatchProcessor`, note that `processPartialResponse` is async and returns a Promise. + === "index.ts" ```typescript hl_lines="1-5 9 12 21-23" From a8e26e725c8aac1f5d29c4113aa6ae4c299909e4 Mon Sep 17 00:00:00 2001 From: Swopnil Dangol Date: Wed, 7 Jan 2026 09:41:45 +0000 Subject: [PATCH 2/2] removed capitalisation of Promise --- docs/features/batch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/batch.md b/docs/features/batch.md index cd9d8aa2d5..5d6fe457d7 100644 --- a/docs/features/batch.md +++ b/docs/features/batch.md @@ -87,7 +87,7 @@ Processing batches from SQS works in three stages: By default, the batch processor will process messages in parallel, which does not guarantee the order of processing. If you need to process messages in order, set the [`processInParallel` option to `false`](#sequential-processing), or use [`SqsFifoPartialProcessor` for SQS FIFO queues](#fifo-queues). !!! note - If you're migrating from `BatchProcessorSync` to `BatchProcessor`, note that `processPartialResponse` is async and returns a Promise. + If you're migrating from `BatchProcessorSync` to `BatchProcessor`, note that `processPartialResponse` is async and returns a promise. === "index.ts"