Releases: agenda/agenda
[email protected]
[email protected]
Patch Changes
- d365969: Support TypeScript's
exactOptionalPropertyTypesby adding explicit| undefinedto optional properties in theAgendaBackendinterface. - f9437cc: Fix outdated documentation: rename
jobs()toqueryJobs(), update sort values to use'asc'/'desc'strings, fix sandboxed worker example to use pluggable backend API, correct MongoDB backend package name in comparison table, and rewrite connection recovery section to be backend-agnostic. - 38530b6: Prevent unhandled 'error' events from crashing the process by registering a default no-op listener in the Agenda constructor.
@agendajs/[email protected]
Patch Changes
- f9437cc: Fix outdated documentation: rename
jobs()toqueryJobs(), update sort values to use'asc'/'desc'strings, fix sandboxed worker example to use pluggable backend API, correct MongoDB backend package name in comparison table, and rewrite connection recovery section to be backend-agnostic. - Updated dependencies [d365969]
- Updated dependencies [f9437cc]
- Updated dependencies [38530b6]
@agendajs/[email protected]
Patch Changes
- f9437cc: Fix outdated documentation: rename
jobs()toqueryJobs(), update sort values to use'asc'/'desc'strings, fix sandboxed worker example to use pluggable backend API, correct MongoDB backend package name in comparison table, and rewrite connection recovery section to be backend-agnostic. - Updated dependencies [d365969]
- Updated dependencies [f9437cc]
- Updated dependencies [38530b6]
@agendajs/[email protected]
Minor Changes
- be3acda: Move
mongodbfromdependenciestopeerDependencies(^6.0.0 || ^7.0.0) to support MongoDB Node.js driver v7. This fixes theBSONVersionError: Unsupported BSON versionerror when users havemongodb@^7.0.0in their project.
Patch Changes
[email protected]
Patch Changes
-
75bb2ba: Add "default" export condition to all packages to support CommonJS require()
The exports map only specified the "import" condition, which prevented CommonJS projects from using require() to load these packages. Node.js require() matches "require" or "default" conditions, not "import". With require(esm) now stable in Node.js 20.19+, 22.12+, and 24+, adding a "default" condition allows CJS projects to consume these ESM packages directly.
-
Updated dependencies [75bb2ba]
[email protected]
Patch Changes
-
75bb2ba: Add "default" export condition to all packages to support CommonJS require()
The exports map only specified the "import" condition, which prevented CommonJS projects from using require() to load these packages. Node.js require() matches "require" or "default" conditions, not "import". With require(esm) now stable in Node.js 20.19+, 22.12+, and 24+, adding a "default" condition allows CJS projects to consume these ESM packages directly.
@agendajs/[email protected]
Patch Changes
-
75bb2ba: Add "default" export condition to all packages to support CommonJS require()
The exports map only specified the "import" condition, which prevented CommonJS projects from using require() to load these packages. Node.js require() matches "require" or "default" conditions, not "import". With require(esm) now stable in Node.js 20.19+, 22.12+, and 24+, adding a "default" condition allows CJS projects to consume these ESM packages directly.
-
Updated dependencies [75bb2ba]
@agendajs/[email protected]
Patch Changes
-
75bb2ba: Add "default" export condition to all packages to support CommonJS require()
The exports map only specified the "import" condition, which prevented CommonJS projects from using require() to load these packages. Node.js require() matches "require" or "default" conditions, not "import". With require(esm) now stable in Node.js 20.19+, 22.12+, and 24+, adding a "default" condition allows CJS projects to consume these ESM packages directly.
-
Updated dependencies [75bb2ba]
@agendajs/[email protected]
Patch Changes
-
75bb2ba: Add "default" export condition to all packages to support CommonJS require()
The exports map only specified the "import" condition, which prevented CommonJS projects from using require() to load these packages. Node.js require() matches "require" or "default" conditions, not "import". With require(esm) now stable in Node.js 20.19+, 22.12+, and 24+, adding a "default" condition allows CJS projects to consume these ESM packages directly.
-
Updated dependencies [75bb2ba]