From c96032a425a155a8a94c9532d61c70617e4a62d5 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 21 Apr 2021 07:47:46 +0000 Subject: [PATCH] chore(release): 1.20.0 [skip ci] # [1.20.0](https://github.com/taskforcesh/bullmq/compare/v1.19.3...v1.20.0) (2021-04-21) ### Features * **worker:** passing token in processor function ([2249724](https://github.com/taskforcesh/bullmq/commit/2249724b1bc6fbf40b0291400011f201fd02dab3)) --- docs/gitbook/CHANGELOG.md | 7 +++++++ docs/gitbook/api/bullmq.processor.md | 2 +- package.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/gitbook/CHANGELOG.md b/docs/gitbook/CHANGELOG.md index bbccef7297..3ce6ed1a2a 100644 --- a/docs/gitbook/CHANGELOG.md +++ b/docs/gitbook/CHANGELOG.md @@ -1,3 +1,10 @@ +# [1.20.0](https://github.com/taskforcesh/bullmq/compare/v1.19.3...v1.20.0) (2021-04-21) + + +### Features + +* **worker:** passing token in processor function ([2249724](https://github.com/taskforcesh/bullmq/commit/2249724b1bc6fbf40b0291400011f201fd02dab3)) + ## [1.19.3](https://github.com/taskforcesh/bullmq/compare/v1.19.2...v1.19.3) (2021-04-20) diff --git a/docs/gitbook/api/bullmq.processor.md b/docs/gitbook/api/bullmq.processor.md index bfd9b9b142..702b0f0a04 100644 --- a/docs/gitbook/api/bullmq.processor.md +++ b/docs/gitbook/api/bullmq.processor.md @@ -9,7 +9,7 @@ An async function that receives `Job`s and handles them. Signature: ```typescript -export declare type Processor = (job: Job) => Promise; +export declare type Processor = (job: Job, token: string) => Promise; ``` References: [Job](./bullmq.job.md) diff --git a/package.json b/package.json index dd6c4fd6be..8a83ce0884 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bullmq", - "version": "1.19.3", + "version": "1.20.0", "description": "Queue for messages and jobs based on Redis", "main": "dist/index.js", "types": "dist/index.d.ts",