Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: updated bullmq and added missing props

=c76e7cd87539
diff --git a/backend/package-lock.json b/backend/package-lock.json
index 18428a251d..298ef32a52 100644
--- a/backend/package-lock.json
+++ b/backend/package-lock.json
@@ -65,7 +65,11 @@
"@opentelemetry/resources": "^2.7.1",
"@opentelemetry/sdk-metrics": "^2.7.1",
"@opentelemetry/semantic-conventions": "^1.34.0",
+ "@peculiar/asn1-csr": "^2.6.0",
+ "@peculiar/asn1-ecc": "^2.6.0",
+ "@peculiar/asn1-rsa": "^2.6.1",
"@peculiar/asn1-schema": "^2.3.8",
+ "@peculiar/asn1-x509": "^2.6.1",
"@peculiar/x509": "^1.12.1",
"@react-email/components": "^1.0.1",
"@simplewebauthn/server": "^13.2.2",
@@ -83,7 +87,7 @@
"axios-retry": "^4.0.0",
"bcrypt": "^5.1.1",
"botbuilder": "^4.23.2",
- "bullmq": "^5.67.3",
+ "bullmq": "^5.72.0",
"cassandra-driver": "^4.7.2",
"connect-redis": "^7.1.1",
"cron": "^3.1.7",
@@ -6766,9 +6770,9 @@
}
},
"node_modules/@ioredis/commands": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/@ioredis/commands/-/commands-1.5.0.tgz",
- "integrity": "sha512-eUgLqrMf8nJkZxT24JvVRrQya1vZkQh8BBeYNwGDqa5I0VUi8ACx7uFvAaLxintokpTenkK6DASvo/bvNbBGow==",
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/@ioredis/commands/-/commands-1.5.1.tgz",
+ "integrity": "sha512-JH8ZL/ywcJyR9MmJ5BNqZllXNZQqQbnVZOqpPQqE1vHiFgAw4NHbvE0FOduNU8IX9babitBT46571OnPTT0Zcw==",
"license": "MIT"
},
"node_modules/@isaacs/cliui": {
@@ -14519,13 +14523,13 @@
}
},
"node_modules/bullmq": {
- "version": "5.71.0",
- "resolved": "https://registry.npmjs.org/bullmq/-/bullmq-5.71.0.tgz",
- "integrity": "sha512-aeNWh4drsafSKnAJeiNH/nZP/5O8ZdtdMbnOPZmpjXj7NZUP5YC901U3bIH41iZValm7d1i3c34ojv7q31m30w==",
+ "version": "5.72.0",
+ "resolved": "https://registry.npmjs.org/bullmq/-/bullmq-5.72.0.tgz",
+ "integrity": "sha512-1Wmfym7bC8BFxDjKcF4iZNZmqXYo0rgPFlxfi8ET3AaP/vOY/MY33iWsWqAKwe8v/QO/8osipjwTAcFB7egINA==",
"license": "MIT",
"dependencies": {
"cron-parser": "4.9.0",
- "ioredis": "5.9.3",
+ "ioredis": "5.10.1",
"msgpackr": "1.11.5",
"node-abort-controller": "3.1.1",
"semver": "7.7.4",
@@ -19204,12 +19208,12 @@
}
},
"node_modules/ioredis": {
- "version": "5.9.3",
- "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.9.3.tgz",
- "integrity": "sha512-VI5tMCdeoxZWU5vjHWsiE/Su76JGhBvWF1MJnV9ZtGltHk9BmD48oDq8Tj8haZ85aceXZMxLNDQZRVo5QKNgXA==",
+ "version": "5.10.1",
+ "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.10.1.tgz",
+ "integrity": "sha512-HuEDBTI70aYdx1v6U97SbNx9F1+svQKBDo30o0b9fw055LMepzpOOd0Ccg9Q6tbqmBSJaMuY0fB7yw9/vjBYCA==",
"license": "MIT",
"dependencies": {
- "@ioredis/commands": "1.5.0",
+ "@ioredis/commands": "1.5.1",
"cluster-key-slot": "^1.1.0",
"debug": "^4.3.4",
"denque": "^2.1.0",
diff --git a/backend/package.json b/backend/package.json
index 786b0ad1b9..5ce308bf36 100644
--- a/backend/package.json
+++ b/backend/package.json
@@ -226,7 +226,7 @@
"axios-retry": "^4.0.0",
"bcrypt": "^5.1.1",
"botbuilder": "^4.23.2",
- "bullmq": "^5.67.3",
+ "bullmq": "^5.72.0",
"cassandra-driver": "^4.7.2",
"connect-redis": "^7.1.1",
"cron": "^3.1.7",
diff --git a/backend/src/queue/queue-service.ts b/backend/src/queue/queue-service.ts
index febf16a5dc..a953c12d38 100644
--- a/backend/src/queue/queue-service.ts
+++ b/backend/src/queue/queue-service.ts
@@ -215,6 +215,7 @@ export type TQueueOptions = {
deduplication?: {
id: string;
keepLastIfActive?: boolean;
+ replace?: boolean;
};
// @deprecated Use upsertJobScheduler instead.
repeat?: {
diff --git a/backend/src/services/license-client/usage/usage-metering-service.ts b/backend/src/services/license-client/usage/usage-metering-service.ts
index 5bf7eb53f4..08256c2b2b 100644
--- a/backend/src/services/license-client/usage/usage-metering-service.ts
+++ b/backend/src/services/license-client/usage/usage-metering-service.ts
@@ -32,7 +32,8 @@ export const usageMeteringServiceFactory = ({
removeOnFail: true,
deduplication: {
id: `usage-event-${orgId}-${dimensionKey}`,
- keepLastIfActive: true
+ keepLastIfActive: true,
+ replace: true
}
}
);