From 2c2da6ffa0744447f7cad9760cc0ff7f7d13c0e7 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 1 Feb 2022 02:05:22 +0000 Subject: [PATCH] chore(release): 1.68.1 [skip ci] ## [1.68.1](https://github.com/taskforcesh/bullmq/compare/v1.68.0...v1.68.1) (2022-02-01) ### Bug Fixes * **update:** throw error when missing job key ([#1042](https://github.com/taskforcesh/bullmq/issues/1042)) ([a00ae5c](https://github.com/taskforcesh/bullmq/commit/a00ae5c9b3f6d51cb0229adca29d13d932fc5601)) --- docs/gitbook/api/bullmq.scripts.md | 1 + docs/gitbook/api/bullmq.scripts.updatedata.md | 24 +++++++++++++++++++ docs/gitbook/changelog.md | 7 ++++++ package.json | 2 +- 4 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 docs/gitbook/api/bullmq.scripts.updatedata.md diff --git a/docs/gitbook/api/bullmq.scripts.md b/docs/gitbook/api/bullmq.scripts.md index 665c5f7757..f6858f48ca 100644 --- a/docs/gitbook/api/bullmq.scripts.md +++ b/docs/gitbook/api/bullmq.scripts.md @@ -43,6 +43,7 @@ export declare class Scripts | [reprocessJob(queue, job, state)](./bullmq.scripts.reprocessjob.md) | static | Attempts to reprocess a job | | [retryJobArgs(queue, job)](./bullmq.scripts.retryjobargs.md) | static | | | [retryJobs(queue, count)](./bullmq.scripts.retryjobs.md) | static | | +| [updateData(queue, job, data)](./bullmq.scripts.updatedata.md) | static | | | [updateDelaySet(queue, delayedTimestamp)](./bullmq.scripts.updatedelayset.md) | static | It checks if the job in the top of the delay set should be moved back to the top of the wait queue (so that it will be processed as soon as possible) | | [updateProgress(queue, job, progress)](./bullmq.scripts.updateprogress.md) | static | | diff --git a/docs/gitbook/api/bullmq.scripts.updatedata.md b/docs/gitbook/api/bullmq.scripts.updatedata.md new file mode 100644 index 0000000000..c31d5bbe13 --- /dev/null +++ b/docs/gitbook/api/bullmq.scripts.updatedata.md @@ -0,0 +1,24 @@ + + +[Home](./index.md) > [bullmq](./bullmq.md) > [Scripts](./bullmq.scripts.md) > [updateData](./bullmq.scripts.updatedata.md) + +## Scripts.updateData() method + +Signature: + +```typescript +static updateData(queue: MinimalQueue, job: Job, data: T): Promise; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| queue | [MinimalQueue](./bullmq.minimalqueue.md) | | +| job | [Job](./bullmq.job.md)<T, R, N> | | +| data | T | | + +Returns: + +Promise<void> + diff --git a/docs/gitbook/changelog.md b/docs/gitbook/changelog.md index b70b6783a5..8b8edf0539 100644 --- a/docs/gitbook/changelog.md +++ b/docs/gitbook/changelog.md @@ -1,3 +1,10 @@ +## [1.68.1](https://github.com/taskforcesh/bullmq/compare/v1.68.0...v1.68.1) (2022-02-01) + + +### Bug Fixes + +* **update:** throw error when missing job key ([#1042](https://github.com/taskforcesh/bullmq/issues/1042)) ([a00ae5c](https://github.com/taskforcesh/bullmq/commit/a00ae5c9b3f6d51cb0229adca29d13d932fc5601)) + # [1.68.0](https://github.com/taskforcesh/bullmq/compare/v1.67.3...v1.68.0) (2022-01-29) diff --git a/package.json b/package.json index 2c795956c1..ffae5d5426 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bullmq", - "version": "1.68.0", + "version": "1.68.1", "description": "Queue for messages and jobs based on Redis", "main": "dist/cjs/index.js", "module": "dist/esm/index.js",