Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bee-queue

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bee-queue - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

30

HISTORY.md

@@ -1,31 +0,19 @@

### [1.3.1](https://github.com/bee-queue/bee-queue/compare/v1.3.0...v1.3.1) (2020-11-04)
## [1.4.0](https://github.com/bee-queue/bee-queue/compare/v1.3.1...v1.4.0) (2021-05-19)
### Bug Fixes
### Features
- **scale:** bound unpack arguments count ([#297](https://github.com/bee-queue/bee-queue/issues/297)) ([4108e5e](https://github.com/bee-queue/bee-queue/commit/4108e5e4e97dcf2d8df44dd0114ba31edab511ca))
- **types:** fix typescript definitions errors ([#311](https://github.com/bee-queue/bee-queue/issues/311)) ([3bc3f31](https://github.com/bee-queue/bee-queue/commit/3bc3f317d09a04b1165fc9f3aa46e17e82d3606f))
- **job:** store progress with the whole job data ([#339](https://github.com/bee-queue/bee-queue/issues/339)) ([6df8b5a](https://github.com/bee-queue/bee-queue/commit/6df8b5a6d126d8a9e06300451481f57eab3a7d89))
## [1.3.0](https://github.com/bee-queue/bee-queue/compare/v1.2.3...v1.3.0) (2020-11-03)
### Bug Fixes
### Features
- typo fix in README ([#412](https://github.com/bee-queue/bee-queue/issues/412)) ([850d1d1](https://github.com/bee-queue/bee-queue/commit/850d1d1bd1c43552ad312bfcd41fe2741994f78a))
- implement Queue#saveAll feature ([#198](https://github.com/bee-queue/bee-queue/issues/198)) ([851f09d](https://github.com/bee-queue/bee-queue/commit/851f09df65d144adc7d6798c91c8d665e52400d5))
- support custom strategies on a queue ([#134](https://github.com/bee-queue/bee-queue/issues/134)) ([926de9d](https://github.com/bee-queue/bee-queue/commit/926de9dc016541cdfdd6139b780ecf4058a6e709))
- **types:** add generics to type definitions ([a565d3d](https://github.com/bee-queue/bee-queue/commit/a565d3dc2acf120cb7a91cdfbbf2840d67267ae7))
- **types:** add isRunning ([c488385](https://github.com/bee-queue/bee-queue/commit/c4883859fbbdc0eb0ee894d77097c67e528e2d31))
- **types:** add ready handler ([32c4b1e](https://github.com/bee-queue/bee-queue/commit/32c4b1ef45e82a7bd5698445f30e7460ece71484))
### [1.3.1](https://github.com/bee-queue/bee-queue/compare/v1.3.0...v1.3.1) (2020-11-04)
### Bug Fixes
- **backoff:** allow no delay arg when setting immediate strategy ([#154](https://github.com/bee-queue/bee-queue/issues/154)) ([6f1d62f](https://github.com/bee-queue/bee-queue/commit/6f1d62fc493c5f2ad20eae5a8122fc316c092451))
- **queue:** remove error event listener on close ([#231](https://github.com/bee-queue/bee-queue/issues/231)) ([36b4904](https://github.com/bee-queue/bee-queue/commit/36b4904b363cae1a84bb38f1d8c40f3e7f930c44))
- **removeJob:** remove job from stored jobs ([#230](https://github.com/bee-queue/bee-queue/issues/230)) ([a8c9d87](https://github.com/bee-queue/bee-queue/commit/a8c9d87f106cf4e0f51b5a6b1000cc1e1e19e6ad))
- **types:** support progress events using arbitrary data ([#140](https://github.com/bee-queue/bee-queue/issues/140)) ([bc8aa52](https://github.com/bee-queue/bee-queue/commit/bc8aa522f66ed7038bdea03629c0f3244ea8a55f))
- **types:** update createJob handler for consistency ([b71a993](https://github.com/bee-queue/bee-queue/commit/b71a9930c1cbf3de3c191073b6c1c41e7bcde1d8))
- **types:** update redis option type ([#290](https://github.com/bee-queue/bee-queue/issues/290)) ([e80c51d](https://github.com/bee-queue/bee-queue/commit/e80c51db100f9a0e7fc596b27bcd9c8a5e78791f))
- **types:** update type declaration ([#252](https://github.com/bee-queue/bee-queue/issues/252)) ([1dce7ca](https://github.com/bee-queue/bee-queue/commit/1dce7ca9cc90da328d5943a3f77483849d3dd816))
- misc edge case fixes ([a2df983](https://github.com/bee-queue/bee-queue/commit/a2df9836dbeeef7458c09d6b7aa2f674e5d0efeb))
- update typescript declarations and add documentation ([#187](https://github.com/bee-queue/bee-queue/issues/187)) ([cec1498](https://github.com/bee-queue/bee-queue/commit/cec1498ecc486c26c6a0b882daf360ad8c0d0402)), closes [#138](https://github.com/bee-queue/bee-queue/issues/138)
- **scale:** bound unpack arguments count ([#297](https://github.com/bee-queue/bee-queue/issues/297)) ([4108e5e](https://github.com/bee-queue/bee-queue/commit/4108e5e4e97dcf2d8df44dd0114ba31edab511ca))
- **types:** fix typescript definitions errors ([#311](https://github.com/bee-queue/bee-queue/issues/311)) ([3bc3f31](https://github.com/bee-queue/bee-queue/commit/3bc3f317d09a04b1165fc9f3aa46e17e82d3606f))
## [1.3.0](https://github.com/bee-queue/bee-queue/compare/v1.2.3...v1.3.0) (2020-11-02)
## [1.3.0](https://github.com/bee-queue/bee-queue/compare/v1.2.3...v1.3.0) (2020-11-03)

@@ -32,0 +20,0 @@ ### Features

@@ -39,2 +39,3 @@ 'use strict';

job.status = data.status;
job.progress = data.progress;
return job;

@@ -48,2 +49,3 @@ }

status: this.status,
progress: this.progress,
});

@@ -50,0 +52,0 @@ }

{
"name": "bee-queue",
"version": "1.3.1",
"version": "1.4.0",
"description": "A simple, fast, robust job/task queue, backed by Redis.",

@@ -5,0 +5,0 @@ "main": "index.js",

<a name="top"></a>
![bee-queue logo](https://raw.githubusercontent.com/bee-queue/bee-queue/master/bee-queue.png)
[![npm Version][npm-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coverage Status][coveralls-image]][coveralls-url]
[![npm Version][npm-image]][npm-url] [![Node.js CI](https://github.com/bee-queue/bee-queue/actions/workflows/node.js.yml/badge.svg)](https://github.com/bee-queue/bee-queue/actions/workflows/node.js.yml) [![Coverage Status][coveralls-image]][coveralls-url]

@@ -32,3 +32,3 @@ A simple, fast, robust job/task queue for Node.js, backed by Redis.

Thanks to the folks at [Mixmax](https://mixmax.com), Bee-Queue is once again being regularly [maintained](https://mixmax.com/blog/bee-queue-v1-node-redis-queue)!
Thanks to the folks at [Mixmax](https://mixmax.com), Bee-Queue is once again being regularly [maintained](https://www.mixmax.com/engineering/bee-queue-v1-node-redis-queue/)!

@@ -333,3 +333,3 @@ [Celery](http://www.celeryproject.org/), [Resque](https://github.com/resque/resque), [Kue](https://github.com/Automattic/kue), and [Bull](https://github.com/OptimalBits/bull) operate similarly, but are generally designed for longer background jobs, supporting things like job prioritization and repeatable jobs, which Bee-Queue [currently does not](#contributing). Bee-Queue can handle longer background jobs just fine, but they aren't [the primary focus](#motivation).

- `stallInterval`: number, ms; the length of the window in which workers must report that they aren't stalling. Higher values will reduce Redis/network overhead, but if a worker stalls, it will take longer before its stalled job(s) will be retried. A higher value will also result in a lower probability of false-positives during stall detection.
- `nearTermWindow`: number, ms; the window during which delayed jobs will be specifically scheduled using `setTimeout` - if all delayed jobs are further out that this window, the Queue will double-check that it hasn't missed any jobs after the window elapses.
- `nearTermWindow`: number, ms; the window during which delayed jobs will be specifically scheduled using `setTimeout` - if all delayed jobs are further out than this window, the Queue will double-check that it hasn't missed any jobs after the window elapses.
- `delayedDebounce`: number, ms; to avoid unnecessary churn for several jobs in short succession, the Queue may delay individual jobs by up to this amount.

@@ -742,3 +742,3 @@ - `redis`: object or string, specifies how to connect to Redis. See [`redis.createClient()`](https://github.com/NodeRedis/node_redis#rediscreateclient) for the full set of options.

Explicitly sets the ID of the job. If a job with the given ID already exists, the Job will not be created, and `job.id` will be set to `null`. This method can be used to run a once for each of an external resource by passing that resource's ID. For instance, you might run the setup job for a user only once by setting the job ID to the ID of the user.
Explicitly sets the ID of the job. If a job with the given ID already exists, the Job will not be created, and `job.id` will be set to `null`. This method can be used to run a job once for each of an external resource by passing that resource's ID. For instance, you might run the setup job for a user only once by setting the job ID to the ID of the user. Furthermore, when this feature is used with queue settings `removeOnSuccess: true` and `removeOnFailure: true`, it will allow that job to be re-run again, effectively ensuring that jobId will have a global concurrency of 1.

@@ -745,0 +745,0 @@ Avoid passing a numeric job ID, as it may conflict with an auto-generated ID.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc