Skip to content

Releases: ueberBrot/monque

@monque/tsed@1.7.2

14 Apr 20:16
6a79c2a

Choose a tag to compare

Patch Changes

  • #361 b043581 Thanks @renovate! - chore(deps): update dependencies

    • @monque/tsed: @tsed/core (^8.26.0 → ^8.26.2)
    • @monque/tsed: @tsed/di (^8.26.0 → ^8.26.2)
    • @monque/tsed: @tsed/mongoose (^8.26.0 → ^8.26.2)

@monque/tsed@1.7.1

03 Apr 09:09
0a57b34

Choose a tag to compare

Patch Changes

  • #341 3bce14d Thanks @renovate! - chore(deps): update dependencies

    • @monque/tsed: @monque/core (^1.7.1 → ^1.7.2)

@monque/tsed@1.7.0

02 Apr 19:37
6a49e88

Choose a tag to compare

Minor Changes

  • #335 d7db988 Thanks @renovate! - chore(deps): update dependencies

    • @monque/tsed: @tsed/core (^8.25.4 → ^8.26.0)
    • @monque/tsed: @tsed/di (^8.25.4 → ^8.26.0)
    • @monque/tsed: @tsed/mongoose (^8.25.4 → ^8.26.0)

Patch Changes

  • #331 85f6e3f Thanks @renovate! - chore(deps): update dependencies

    • @monque/tsed: @monque/core (^1.7.0 → ^1.7.1)

@monque/core@1.7.2

02 Apr 19:37
6a49e88

Choose a tag to compare

Patch Changes

  • #329 0f8ff15 Thanks @ueberBrot! - Add jitter to exponential backoff to prevent thundering-herd retries

  • #330 1cbb22b Thanks @ueberBrot! - Add name prefix to atomic claim compound index for per-worker scan efficiency

@monque/tsed@1.6.0

31 Mar 17:19
691412f

Choose a tag to compare

Minor Changes

  • #322 7dd21a6 Thanks @renovate! - chore(deps): update dependencies

    • @monque/tsed: @monque/core (^1.6.0 → ^1.7.0)

Patch Changes

  • #300 2e309e8 Thanks @renovate! - chore(deps): update dependencies

    • @monque/core: mongodb (^7.1.0 → ^7.1.1)
    • @monque/tsed: mongodb (^7.1.0 → ^7.1.1)

@monque/core@1.7.1

31 Mar 17:19
691412f

Choose a tag to compare

Patch Changes

  • #300 2e309e8 Thanks @renovate! - chore(deps): update dependencies

    • @monque/core: mongodb (^7.1.0 → ^7.1.1)
    • @monque/tsed: mongodb (^7.1.0 → ^7.1.1)

@monque/tsed@1.5.1

21 Mar 16:33
74a2398

Choose a tag to compare

Patch Changes

  • #290 cdfaa4b Thanks @renovate! - chore(deps): update dependencies

    • @monque/tsed: @tsed/core (^8.25.2 → ^8.25.4)
    • @monque/tsed: @tsed/di (^8.25.2 → ^8.25.4)
    • @monque/tsed: @tsed/mongoose (^8.25.2 → ^8.25.4)

@monque/tsed@1.5.0

19 Mar 20:10
ee59f2d

Choose a tag to compare

Minor Changes

  • #246 3f1459d Thanks @renovate! - chore(deps): update dependencies

    • @monque/tsed: @monque/core (^1.5.2 → ^1.6.0)

@monque/core@1.7.0

19 Mar 20:10
ee59f2d

Choose a tag to compare

Minor Changes

  • #249 2c7c079 Thanks @ueberBrot! - Add deprecation console warning for defaultConcurrency and maxConcurrency options.

  • #260 c11798b Thanks @ueberBrot! - Parallelized job acquisition in the poll loop using Promise.allSettled to lower wall-clock acquisition latency / reduce serialized DB waits (fans out one findOneAndUpdate per free slot).

Patch Changes

  • #269 cb707b9 Thanks @ueberBrot! - Validate job names and unique keys at the public API boundary so invalid identifiers fail fast before reaching MongoDB operations.

  • #266 9c75d1c Thanks @ueberBrot! - Fix .then() to .finally() in executePollAndScheduleNext to ensure the next poll is always scheduled, even if scheduleNextPoll throws. This prevents silently swallowed rejections when the callback in .then() throws.

  • #258 218d398 Thanks @ueberBrot! - Replace getActiveJobs() array allocation with getActiveJobCount() in shutdown path. The previous implementation created a throw-away string[] on every call just to check .length. The new method returns a count directly using Map.size, avoiding unnecessary array allocations during shutdown polling.

  • #259 b0babc4 Thanks @ueberBrot! - Replace the O(workers) iteration in getTotalActiveJobs() with an O(1) counter that updates on job acquisition and completion.

  • #263 a30186f Thanks @ueberBrot! - Add compound index for job retention to avoid collection scan during cleanup

  • #264 c2b046e Thanks @ueberBrot! - Deduplicate new Date() calls in update operations. Instead of creating multiple new Date() instances milliseconds apart within the same logical operation, methods like cancelJob, retryJob, and completeJob now capture a single const now = new Date() and reuse it for all timestamp fields, ensuring consistent timestamps.

  • #265 79300c0 Thanks @ueberBrot! - Optimize cancelJob, retryJob, and rescheduleJob by removing redundant findOne pre-checks. These operations now use an optimistic findOneAndUpdate first, reducing database round-trips for the common happy paths.

  • #262 1b6e29f Thanks @ueberBrot! - Removed redundant $unset operations for heartbeatInterval on job completion/failure to improve performance and retain observability metadata.

  • #257 d71049d Thanks @ueberBrot! - Replace the setInterval(100) busy-loop in stop() with a reactive drain promise that resolves instantly when all active jobs finish.

  • #267 965f8aa Thanks @ueberBrot! - Set maxListeners to 20 on Monque EventEmitter to prevent memory leaks in long-running processes.

@monque/tsed@1.4.3

13 Mar 15:31
cb4a3f5

Choose a tag to compare

Patch Changes

  • #238 75e781a Thanks @renovate! - chore(deps): update dependencies

    • @monque/tsed: @tsed/core (^8.25.1 → ^8.25.2)
    • @monque/tsed: @tsed/di (^8.25.1 → ^8.25.2)
    • @monque/tsed: @tsed/mongoose (^8.25.1 → ^8.25.2)