Releases: thecodedrift/docmq
Releases · thecodedrift/docmq
0.5.7
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
✨ 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
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
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
- 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
- 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
- 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
💥 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
- feat: Improves driver types and error reporting (34edf23)
Full Changelog: 0.4.5...0.4.6
v0.4.5
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