Skip to content

Releases: jakobo/docmq

0.5.7

17 Jan 00:55
0.5.7
4ed13a7
Compare
Choose a tag to compare

What's Changed

  • fix: Fixes issue where last error was overwritten on dead queue insert by @jakobo in #16

Full Changelog: 0.5.6...0.5.7

v0.5.6

20 Feb 19:00
0.5.6
6bcef68
Compare
Choose a tag to compare

✨ Features

  • feat: Adds the ability to disable strict ack checks 05ab2e6
  • feat(driver/mongo): Allow replacement of jobs in the past #6

🔧 Fixes

  • fix(driver/mongo): Prevents halloween problem by ensuring merge is not re-fetchable 75d02da
  • fix(driver/mongo): Ensures a consistent sort when taking jobs via aggregation f3b5589
  • fix(driver/mongo): Makes merge aggregation more explicit 371684b
  • fix(driver/mongo): Ensures retryable writes on upserts in replaceUpcoming 4bfb0af

Full Changelog: 0.5.5...0.5.6

v0.5.5

03 Jan 20:22
0.5.5
8e5d4b5
Compare
Choose a tag to compare

Changelog:

  • feat: Adds support for a context exposed in job processing (3acf656)
  • fix: Adds missing rejection reason to EnqueueError (5b41ba4)

Full Changelog: 0.5.4...0.5.5

v0.5.4

07 Dec 01:24
0.5.4
80bce8a
Compare
Choose a tag to compare

Primarily a doc and internal refactor of some utilities in prep for 0.5.5 plans.

  • Documentation updates dc31575, including notes on where DocMQ is currently used and a comparison with Bull & Agenda to help folks find the right job system for their needs
  • Switched internally from madge to dpdm #11
  • Fixes tests that were time-aware d105d34
  • Readme cleanup

Full Changelog: 0.5.3...0.5.4

v0.5.3

18 Oct 04:17
0.5.3
6d7ecf8
Compare
Choose a tag to compare
  • docs: Adds 0-ver note (356477c)
  • feat: Improves transaction suport on a per-driver level (66a523a) note: this removes the external transaction API that was not in use

Full Changelog: 0.5.2...0.5.3

v0.5.2

17 Oct 22:26
0.5.2
07a5c60
Compare
Choose a tag to compare
  • fix: Fixes importing for CJS to no longer require eval bridge (c507d51)
  • chore: Removes yarn from lintstaged (f44079e)

Full Changelog: 0.5.1...0.5.2

v0.5.1

15 Oct 05:14
0.5.1
8f94d2f
Compare
Choose a tag to compare
  • deps: Removes bench and dev deps to lighten package (dc845d0)
  • chore: Changes workflows to pnpm (0c33207)

Full Changelog: 0.5.0...0.5.1

v0.5.0

14 Oct 01:15
0.5.0
6d37835
Compare
Choose a tag to compare

💥 BREAKING CHANGES

Event types do not allow a promise anymore, as the execution of these events were not being caught and handled. Instead, you should use an async IFFE and manage any thrown exceptions to avoid an unhandled exception error in your code.

// @file old.ts
Queue.on("eventName", async () => {
  //
});

// @file new.ts
Queue.on("eventName", () => {
  // note: by declaring void, we are also claiming we've handled any thrown exceptions
  void (async () => {
    //
  })();
});

Changes

  • fix: Updates ESM-only module resolution and types for node16 - uses a custom loader pattern for ESM-only functions based on best known TS information at this time

Full Changelog: 0.4.6...0.5.0

v0.4.6

10 Oct 00:06
0.4.6
de53999
Compare
Choose a tag to compare
  • feat: Improves driver types and error reporting (34edf23)

Full Changelog: 0.4.5...0.4.6

v0.4.5

08 Oct 21:18
0.4.5
30c30ba
Compare
Choose a tag to compare

Includes typescript @types for peer dependencies so that downstream libraries are not required to disable their lib check

  • deps: Moves peer @types to included deps (12af51d)

Full Changelog: 0.4.4...0.4.5