Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] develop from OptimalBits:develop #64

Open
wants to merge 176 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
900202a
chore: add codeql-analysis
manast Dec 2, 2021
57f24df
docs: add twitter badge
manast Dec 3, 2021
c20e469
perf: speed up performance of queue.clean when called with a limit (#…
pxpeterxu Dec 14, 2021
e5cc075
docs: add more detail about timeouts and startDate to the reference (…
cincodenada Dec 14, 2021
ffd3f9b
chore(release): 4.1.2 [skip ci]
semantic-release-bot Dec 14, 2021
7e7d9cb
fix: typo on url (#2195)
vferdiansyah Dec 14, 2021
7d0c757
chore(release): 4.1.3 [skip ci]
semantic-release-bot Dec 14, 2021
071c51d
fix(queue): check redisOptions is available fixes #2186
manast Dec 14, 2021
efbf7dc
chore(release): 4.1.4 [skip ci]
semantic-release-bot Dec 14, 2021
16fdbe9
feat(queue): enabled queues to share childPool instance (#2237)
jfontaine-lifion Dec 21, 2021
9635925
chore(release): 4.2.0 [skip ci]
semantic-release-bot Dec 21, 2021
5310cc6
docs(readme): add Bullmq and Bullmq-Pro in table
roggervalf Jan 15, 2022
43dc2e6
fix(sandbox): exit if uncaughtException
manast Jan 17, 2022
c3b3780
chore(sandbox): disable process.exit eslint rule
manast Jan 17, 2022
e394aaf
chore(release): 4.2.1 [skip ci]
semantic-release-bot Jan 17, 2022
ad3b796
docs: Update REFERENCE.md
Jan 20, 2022
79337a3
feat: upgrade cron version enabling new cron expressions
manast Jan 26, 2022
39b8578
chore: update yarn.lock
manast Jan 26, 2022
99a51c7
chore(release): 4.3.0 [skip ci]
semantic-release-bot Jan 26, 2022
90f040c
feat: add support for removeOn based on time
manast Jan 26, 2022
d57689c
chore(release): 4.4.0 [skip ci]
semantic-release-bot Jan 26, 2022
36af90f
chore(deps): bump node-fetch from 2.6.1 to 2.6.7
dependabot[bot] Jan 26, 2022
7665c83
chore(deps): bump trim-off-newlines from 1.0.1 to 1.0.3
dependabot[bot] Jan 26, 2022
501b2cc
feat(queue): add retryJobs for failed status
roggervalf Feb 1, 2022
27ca17b
chore(release): 4.5.0 [skip ci]
semantic-release-bot Feb 1, 2022
dd0b853
fix(sandbox): broken processor files should fail jobs
manast Feb 6, 2022
6597218
chore(release): 4.5.1 [skip ci]
semantic-release-bot Feb 6, 2022
8ab5b1d
fix(scripts): make it easier for tools like vercel to find the .lua s…
styfle Feb 14, 2022
997bc9d
chore(release): 4.5.2 [skip ci]
semantic-release-bot Feb 14, 2022
ad7b647
fix(commands): do not wait for redis to load commands
manast Feb 14, 2022
d11a9ff
chore(release): 4.5.3 [skip ci]
semantic-release-bot Feb 14, 2022
193644c
fix(queue): return correct workers with getWorkers()
manast Feb 14, 2022
32001d9
chore(release): 4.5.4 [skip ci]
semantic-release-bot Feb 14, 2022
ccd4537
docs: add a "used by" section in the README
manast Feb 15, 2022
41b9404
fix(worker): better closing when disconnected
manast Feb 16, 2022
11b5e5b
chore(release): 4.5.5 [skip ci]
semantic-release-bot Feb 16, 2022
2d6c8af
chore(docs): update nestjs bull link
raisiqueira Feb 18, 2022
232ed85
fix(sandbox): wait for result of sending start command
manast Feb 20, 2022
4150d5f
chore(release): 4.5.6 [skip ci]
semantic-release-bot Feb 20, 2022
54e5463
feat: handle redis uri queries
manast Feb 21, 2022
0d5687a
chore(release): 4.6.0 [skip ci]
semantic-release-bot Feb 21, 2022
10db479
fix(sandbox): better error reporting broken processor file
manast Feb 21, 2022
848378d
chore(release): 4.6.1 [skip ci]
semantic-release-bot Feb 21, 2022
d3b9138
fix: better handling of maxRetriesPerRequest
manast Feb 23, 2022
a0d7946
chore(release): 4.6.2 [skip ci]
semantic-release-bot Feb 23, 2022
886d764
feat(metrics): add support for collecting queue metrics
manast Mar 1, 2022
190d6e9
chore: fix lint errors
manast Mar 1, 2022
5befb9b
test(metrics): flushdb between tests
manast Mar 2, 2022
f9b30dc
chore(release): 4.7.0 [skip ci]
semantic-release-bot Mar 2, 2022
f163022
docs: update REFERENCE.md
manast Mar 16, 2022
2dd17f0
test: replace the no longer supported test/mocha.opts by .mocharc.jso…
papandreou Mar 19, 2022
b7058e6
feat: have Queue#clean consult job.{finishedOn,processedOn,timestamp}…
papandreou Mar 19, 2022
933896a
chore(release): 4.8.0 [skip ci]
semantic-release-bot Mar 19, 2022
ef5f471
perf: speed up clean operation (#2326)
emcsween Mar 21, 2022
61a87a8
chore(release): 4.8.1 [skip ci]
semantic-release-bot Mar 21, 2022
11eae6b
fix: unlock job when moving it to delayed (#2329)
papandreou Apr 21, 2022
6333949
chore(release): 4.8.2 [skip ci]
semantic-release-bot Apr 21, 2022
2f1fb6c
fix(stalled-jobs): move stalled jobs to wait in batches
plus- Apr 14, 2022
41ec58e
chore(release): 4.8.3 [skip ci]
semantic-release-bot May 12, 2022
17d9715
fixed typo in readme
lucasguffroy59 Mar 31, 2022
478ed16
docs: fix typo in REFERENCE.md
remarkablemark May 25, 2022
b9ea7f4
fix(worker): better disconnect when blocking connection
manast Jun 16, 2022
a464c1b
chore(release): 4.8.4 [skip ci]
semantic-release-bot Jun 16, 2022
2ca1ff5
docs: update typo error in REFERENCE.md (#2397)
callezenwaka Jul 10, 2022
3331188
perf(clean): use ZRANGEBYSCORE to improve performance (#2363)
hsource Jul 27, 2022
089ee99
chore(release): 4.8.5 [skip ci]
semantic-release-bot Jul 27, 2022
75e6775
feat: support .cjs files
elliot40404 Sep 5, 2022
2121260
chore(release): 4.9.0 [skip ci]
semantic-release-bot Sep 5, 2022
5207fa3
docs: update RedisGreen with new company name
manast Sep 9, 2022
e793f8d
feat(types): add typescript types to package
manast Sep 29, 2022
469c7d9
chore(release): 4.10.0 [skip ci]
semantic-release-bot Sep 29, 2022
86c7cf1
docs: add a mention to prevent redis from running out of memory
half-shell Oct 7, 2022
6288f7d
fix: support for instantiation using redisUrl
ddzyan Oct 13, 2022
3e5f007
chore(release): 4.10.1 [skip ci]
semantic-release-bot Oct 13, 2022
d61f2f9
chore(deps): bump ioredis from 4.x to 5.x
dhritzkiv Jul 11, 2022
2fbfad6
chore: upgrade minimum node support to 12+
dhritzkiv Jul 11, 2022
64672af
test(ci): drop CI testing with node 10.x; Add node 16.x to testing ma…
dhritzkiv Jul 11, 2022
8a742c1
fix(queue): throw error when needed instead of hiding it in a closure
andrewvasilchuk Nov 24, 2022
9b2c8f5
chore(release): 4.10.2 [skip ci]
semantic-release-bot Nov 24, 2022
4b4264a
build: harden release.yml permissions
sashashura Sep 25, 2022
f98d889
build: harden node.js.yml permissions
sashashura Sep 25, 2022
f9081dd
refactor: use TypeError when invalid options are passed
andrewvasilchuk Nov 26, 2022
8ad90fb
chore: delete unused dependency
andrewvasilchuk Nov 25, 2022
f01e5d4
Update REFERENCE.md
Oct 14, 2022
53f14a8
test(clean): verify Redis does not have any keys left
manast Dec 21, 2022
3a48c95
docs: update README
manast Jan 10, 2023
486c148
docs: update README
manast Jan 10, 2023
8a0292a
fix: don't reschedule delay timer if closing (#2535)
hendrikmoree Feb 3, 2023
829e26e
chore(release): 4.10.3 [skip ci]
semantic-release-bot Feb 3, 2023
6c6ecb2
chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1
dependabot[bot] Feb 3, 2023
9f945d6
fix(retry): handle pause queue status
manast Feb 9, 2023
5b4bc0b
test(retry): fix retry test error
manast Feb 9, 2023
3aabb74
chore(release): 4.10.4 [skip ci]
semantic-release-bot Feb 9, 2023
aa17891
docs: removed wrong property in QueueOptions
manast Feb 13, 2023
9dc9fd0
docs: correct createClient property typing
manast Feb 13, 2023
e1883f0
feat: upgrade ioredis to 5.3.2
manast Apr 20, 2023
11331b7
fix: ts declaration metrics option and getMetrics function
GuyBerko Apr 26, 2023
909a07e
fix: change option name to match ts declaration
GuyBerko Apr 26, 2023
e4e6457
fix(types): add missing keys to repeat opts
mamousavi Mar 17, 2023
bae6427
fix(types): rename strategyOptions to options to reflect js file
s-montigny-desautels May 24, 2023
4b8a386
chore: upgrade semver version 7.3.2 to 7.5.2 (#2617)
vohongtho Jun 22, 2023
47722ed
fix(typings): return type of getJobCountByTypes (#2622)
Benjythebee Jul 5, 2023
dcca1e8
fix(worker): high-memory-usage-when-providing-float-to-concurrency (#…
abdeljalil09 Jul 6, 2023
a1fe08e
docs: fix typos in docs (#2623)
danLeBrown Jul 10, 2023
532b1a7
docs: fix typo in issue_template.md (#2627)
efraimrodrigues Jul 12, 2023
4ce36fe
fix: remove deprecated debuglog
kikar Jul 12, 2023
13fe324
docs: update README.md typo (#2607)
Fr-yayou Jul 30, 2023
a217a7d
fix: add mising getMetrics type (#2640)
alko89 Aug 3, 2023
f6cbcab
chore: update ubuntu build version
alko89 Aug 5, 2023
f71b455
chore(release): 4.11.0 [skip ci]
semantic-release-bot Aug 8, 2023
35f1da3
fix(queue): deep clone opts (#2634) fixes #2633
batrudinych Aug 8, 2023
6529858
chore(release): 4.11.1 [skip ci]
semantic-release-bot Aug 8, 2023
5910f44
fix(worker): better client name support
manast Aug 8, 2023
93a59f2
chore(release): 4.11.2 [skip ci]
semantic-release-bot Aug 8, 2023
934ec98
fix(types): make repeat option key optional
manast Aug 11, 2023
5a61062
chore(release): 4.11.3 [skip ci]
semantic-release-bot Aug 11, 2023
4d197e8
docs(readme): update feature comparison table
roggervalf Aug 18, 2023
ccb6cc7
fix: catch pause errors when closing
manast Oct 14, 2023
583140e
chore(release): 4.11.4 [skip ci]
semantic-release-bot Oct 14, 2023
0a5829d
chore(deps): bump @babel/traverse from 7.13.15 to 7.23.2
dependabot[bot] Oct 17, 2023
c3e5d25
chore(deps): bump get-func-name from 2.0.0 to 2.0.2
dependabot[bot] Sep 27, 2023
e94f568
fix: pass redis string as opts into queue
Shinigami92 Sep 11, 2023
72c7f00
chore(release): 4.11.5 [skip ci]
semantic-release-bot Nov 11, 2023
3ffe132
docs: add Dragonfly as sponsor
manast Nov 12, 2023
5f34bce
docs: correct misuse of Error constructor (#2685)
sdjdd Dec 5, 2023
14432ff
feat: add missing extendLock definition
Smankusors Oct 19, 2023
c73deb7
docs: add missing references for job locks
Smankusors Oct 19, 2023
fe3579b
chore(release): 4.12.0 [skip ci]
semantic-release-bot Dec 18, 2023
b27c90d
fix(deps): bump msgpackr from 1.5.2 to 1.10.1 (#2697)
dependabot[bot] Jan 15, 2024
1aa2ce5
chore(release): 4.12.1 [skip ci]
semantic-release-bot Jan 15, 2024
cc83ae2
fix(dependencies): upgrade msgpackr
manast Jan 17, 2024
60fa88f
chore(release): 4.12.2 [skip ci]
semantic-release-bot Jan 17, 2024
2ebe4cd
docs: update README.md
manast Apr 30, 2024
6d84156
fix(job): validate jobKey in updateProgress and update (#2730)
roggervalf May 10, 2024
7ee8f74
perf(scripts): remove token after moving to wait or delayed (#2731)
roggervalf May 10, 2024
afcf11c
chore(release): 4.12.3 [skip ci]
semantic-release-bot May 10, 2024
8c3bf1f
refactor: add commandTransform utility (#2736)
roggervalf May 14, 2024
09ce146
fix(retry-job): consider priority (#2737) fixes #1755
roggervalf May 15, 2024
e9cd7bd
chore(release): 4.12.4 [skip ci]
semantic-release-bot May 15, 2024
1fb1562
fix(job): validate job existence when adding log (#2738)
roggervalf May 17, 2024
12ebcc6
chore(release): 4.12.5 [skip ci]
semantic-release-bot May 17, 2024
70c2a37
docs: fix markdown syntax error (#2727)
Helveg May 18, 2024
2112269
fix(stalled): take in count removeOnFail option (#2734)
roggervalf May 18, 2024
728f524
chore(release): 4.12.6 [skip ci]
semantic-release-bot May 18, 2024
63636b1
fix(scripts): throw error when moving non-active job to delayed (#2740)
roggervalf May 21, 2024
08f2bfd
chore(release): 4.12.7 [skip ci]
semantic-release-bot May 21, 2024
7b12be1
fix(move-to-finished): throw error when job is not in active state (#…
roggervalf May 22, 2024
b3fb4a2
chore(release): 4.12.8 [skip ci]
semantic-release-bot May 22, 2024
c29e3b0
fix(retry-job): throw error when job is not in active state (#2741)
roggervalf May 24, 2024
66ffd9d
chore(release): 4.12.9 [skip ci]
semantic-release-bot May 24, 2024
0376dcc
feat(queue): add getCountsPerPriority method (#2746)
roggervalf Jun 12, 2024
79113ac
chore(release): 4.13.0 [skip ci]
semantic-release-bot Jun 12, 2024
6c2719a
fix(priority): consider paused state when calling getCountsPerPriorit…
roggervalf Jun 21, 2024
75703e5
chore(release): 4.13.1 [skip ci]
semantic-release-bot Jun 21, 2024
d632ac1
feat(queue): add global:duplicated event when a duplicated is added (…
roggervalf Jun 25, 2024
4cea99e
chore(release): 4.14.0 [skip ci]
semantic-release-bot Jun 25, 2024
021ab7f
feat(queue): emit internal duplicated event (#2754)
roggervalf Jun 30, 2024
18004a0
chore(release): 4.15.0 [skip ci]
semantic-release-bot Jun 30, 2024
96675f5
fix(job): check jobKey when saving stacktrace (#2755)
roggervalf Jul 4, 2024
f6d29fc
chore(release): 4.15.1 [skip ci]
semantic-release-bot Jul 4, 2024
603befe
feat(job): support debouncing (#2760)
roggervalf Jul 30, 2024
b5761c9
chore(release): 4.16.0 [skip ci]
semantic-release-bot Jul 30, 2024
8276f72
fix(metrics): use batches include when collecting metrics (#2765) fix…
roggervalf Aug 28, 2024
8564453
chore(release): 4.16.1 [skip ci]
semantic-release-bot Aug 28, 2024
090c529
docs: update phrasing to clarify promise usage over done callback (#2…
Maddily Aug 29, 2024
3a09840
perf(metrics): save zeros as much as max data points (#2767)
roggervalf Sep 5, 2024
f59473b
chore(release): 4.16.2 [skip ci]
semantic-release-bot Sep 5, 2024
fbf2fa3
fix(metrics): differentiate points in different minutes to be more ac…
roggervalf Sep 10, 2024
66f8241
chore(release): 4.16.3 [skip ci]
semantic-release-bot Sep 10, 2024
461afc7
build(deps): bump path-to-regexp from 1.8.0 to 1.9.0 (#2771)
dependabot[bot] Sep 12, 2024
c2f37ee
docs(readme): replace gitter with slack (#2775)
roggervalf Sep 28, 2024
bc0ae0a
fix(deps): bump msgpackr to 1.1.2 to resolve ERR_BUFFER_OUT_OF_BOUNDS…
aryamohanan Nov 1, 2024
65355b8
chore(release): 4.16.4 [skip ci]
semantic-release-bot Nov 1, 2024
e6be774
docs: update README.md
manast Dec 9, 2024
e45698e
fix: upgrade cron-parser dependency for Luxon CVE-2023-22467
carvilsi Dec 18, 2024
489c6ab
chore(release): 4.16.5 [skip ci]
semantic-release-bot Dec 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
You may report several types of issues. Bug reports, enhancements or questions.
For bug reports however you are required to provice some information so that the
For bug reports however you are required to provide some information so that the
issue can be resolved efficiently. The following template should be filled for bugs.

Before submitting the bug just think twice if you really need to submit the bug
Expand Down
70 changes: 70 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ develop ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ develop ]
schedule:
- cron: '24 2 * * 0'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
9 changes: 8 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
pull_request:
branches: [develop]

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -21,7 +24,11 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [12.x, 14.x, 16.x]
redis-version: [7.0-alpine]
include:
- node-version: '16.x'
redis-version: 6-alpine

steps:
- uses: actions/checkout@v2
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ on:
push:
branches:
- develop
permissions: {}
jobs:
release:
permissions:
contents: write # for release publishing

name: Release
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -18,6 +22,8 @@ jobs:
node-version: 12
- name: Install dependencies
run: yarn install --frozen-lockfile --non-interactive
- name: Generate scripts
run: yarn pretest
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ coverage
.vscode
package-lock.json
.nyc_output
rawScripts
lib/scripts
5 changes: 5 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"timeout": 5000,
"reporter": "spec",
"exit": true
}
7 changes: 7 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ support
.gitignore
*.md
commitlint.config.js
rawScripts
commandTransform.js
docker-compose.yml
generateRawScripts.js
.nyc_output
.mocharc.json
lib/commands/*.js
Loading