From 59b82c4cb04874892712055a8f2a97237bb5a9da Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 8 Sep 2026 16:01:09 +0000 Subject: [PATCH] Version Packages --- .changeset/brave-ants-esm.md | 9 ---- .changeset/bright-cats-config.md | 7 --- .changeset/calm-owls-tasks.md | 9 ---- .changeset/clever-bees-exports.md | 7 --- .changeset/fresh-wolves-node.md | 6 --- .changeset/quick-moles-log-level.md | 6 --- .changeset/silly-tigers-runner.md | 7 --- .changeset/soft-eagles-local-queue.md | 8 ---- .changeset/tidy-pandas-maintenance.md | 6 --- CHANGELOG.md | 69 +++++++++++++++++++++++++++ package.json | 2 +- src/version.ts | 2 +- 12 files changed, 71 insertions(+), 67 deletions(-) delete mode 100644 .changeset/brave-ants-esm.md delete mode 100644 .changeset/bright-cats-config.md delete mode 100644 .changeset/calm-owls-tasks.md delete mode 100644 .changeset/clever-bees-exports.md delete mode 100644 .changeset/fresh-wolves-node.md delete mode 100644 .changeset/quick-moles-log-level.md delete mode 100644 .changeset/silly-tigers-runner.md delete mode 100644 .changeset/soft-eagles-local-queue.md delete mode 100644 .changeset/tidy-pandas-maintenance.md diff --git a/.changeset/brave-ants-esm.md b/.changeset/brave-ants-esm.md deleted file mode 100644 index c70d95b9..00000000 --- a/.changeset/brave-ants-esm.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"graphile-worker": minor ---- - -Now published as pure ESM, but worry not as unflagged require(ESM) is now -enabled by default in -[Node 20.19.0+](https://nodejs.org/pt-br/blog/release/v20.19.0), -[Node 22.12.0+](https://nodejs.org/en/blog/release/v22.12.0) and Node 24+ so -everything should continue to work as before. diff --git a/.changeset/bright-cats-config.md b/.changeset/bright-cats-config.md deleted file mode 100644 index 85696697..00000000 --- a/.changeset/bright-cats-config.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"graphile-worker": minor ---- - -For consistency, `cosmiconfig` is no longer supported for configuration; use -`graphile.config.ts` instead. (This release will throw errors if you're using -cosmisconfig, in later releases cosmiconfigs will not be detected.) diff --git a/.changeset/calm-owls-tasks.md b/.changeset/calm-owls-tasks.md deleted file mode 100644 index 35d2b176..00000000 --- a/.changeset/calm-owls-tasks.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"graphile-worker": minor ---- - -TypeScript task files with `.ts` and `.mts` extensions are now recognized by -default and loaded through Node's native type stripping if possible. Only -erasable, verbatim TypeScript syntax is supported without a custom loader or -precompilation. `.js`, `.cjs` and `.mjs` files are prioritised ahead of `.ts` -and `.mts` files. diff --git a/.changeset/clever-bees-exports.md b/.changeset/clever-bees-exports.md deleted file mode 100644 index a38e20b4..00000000 --- a/.changeset/clever-bees-exports.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"graphile-worker": minor ---- - -We now use the `exports` option, meaning sub-path imports -(`require("graphile-worker/...")`) are no longer supported. If you need -something not exported by default, raise an issue. diff --git a/.changeset/fresh-wolves-node.md b/.changeset/fresh-wolves-node.md deleted file mode 100644 index f41fa434..00000000 --- a/.changeset/fresh-wolves-node.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"graphile-worker": minor ---- - -Since Node 20 is EOL, Node 22 is now the minimum supported version, per our -[requirements documentation](https://worker.graphile.org/docs/requirements). diff --git a/.changeset/quick-moles-log-level.md b/.changeset/quick-moles-log-level.md deleted file mode 100644 index 376a20b5..00000000 --- a/.changeset/quick-moles-log-level.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"graphile-worker": minor ---- - -`LogLevel` export is now type only - a string union rather than a TypeScript -const enum. diff --git a/.changeset/silly-tigers-runner.md b/.changeset/silly-tigers-runner.md deleted file mode 100644 index f6724737..00000000 --- a/.changeset/silly-tigers-runner.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"graphile-worker": minor ---- - -`Runner` gains `[Symbol.asyncDispose]()` method, so you can -`await using runner = await run(...)` and the worker will be released when you -reach the end of the scope. (Primarily useful for tests.) diff --git a/.changeset/soft-eagles-local-queue.md b/.changeset/soft-eagles-local-queue.md deleted file mode 100644 index 4edf8751..00000000 --- a/.changeset/soft-eagles-local-queue.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"graphile-worker": patch ---- - -Fix issue where enabling `localQueue` could cause jobs from the same named queue -to run concurrently (violating the serial execution guarantee for named queues): -a single batch fetch could lock multiple jobs belonging to one named queue. -Batch fetches now return at most one job per named queue (#621). diff --git a/.changeset/tidy-pandas-maintenance.md b/.changeset/tidy-pandas-maintenance.md deleted file mode 100644 index 5b37b86a..00000000 --- a/.changeset/tidy-pandas-maintenance.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"graphile-worker": patch ---- - -Maintenance work: upgrade to latest TypeScript, Jest, eliminate ts-node, fix -yargs, use erasable syntax only for type-stripping support. diff --git a/CHANGELOG.md b/CHANGELOG.md index 2540756a..51ef9df7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,75 @@ > Read more: > [Worker Pro Migration](https://worker.graphile.org/docs/pro/migration). +## 0.18.0 + +### Minor Changes + +- [#628](https://github.com/graphile/worker/pull/628) + [`bc98aaf`](https://github.com/graphile/worker/commit/bc98aaf705fa69a52ba650a28b9b74dde9631ce9) + Thanks [@benjie](https://github.com/benjie)! - Now published as pure ESM, but + worry not as unflagged require(ESM) is now enabled by default in + [Node 20.19.0+](https://nodejs.org/pt-br/blog/release/v20.19.0), + [Node 22.12.0+](https://nodejs.org/en/blog/release/v22.12.0) and Node 24+ so + everything should continue to work as before. + +- [#628](https://github.com/graphile/worker/pull/628) + [`bc98aaf`](https://github.com/graphile/worker/commit/bc98aaf705fa69a52ba650a28b9b74dde9631ce9) + Thanks [@benjie](https://github.com/benjie)! - For consistency, `cosmiconfig` + is no longer supported for configuration; use `graphile.config.ts` instead. + (This release will throw errors if you're using cosmisconfig, in later + releases cosmiconfigs will not be detected.) + +- [#628](https://github.com/graphile/worker/pull/628) + [`bc98aaf`](https://github.com/graphile/worker/commit/bc98aaf705fa69a52ba650a28b9b74dde9631ce9) + Thanks [@benjie](https://github.com/benjie)! - TypeScript task files with + `.ts` and `.mts` extensions are now recognized by default and loaded through + Node's native type stripping if possible. Only erasable, verbatim TypeScript + syntax is supported without a custom loader or precompilation. `.js`, `.cjs` + and `.mjs` files are prioritised ahead of `.ts` and `.mts` files. + +- [#628](https://github.com/graphile/worker/pull/628) + [`bc98aaf`](https://github.com/graphile/worker/commit/bc98aaf705fa69a52ba650a28b9b74dde9631ce9) + Thanks [@benjie](https://github.com/benjie)! - We now use the `exports` + option, meaning sub-path imports (`require("graphile-worker/...")`) are no + longer supported. If you need something not exported by default, raise an + issue. + +- [#628](https://github.com/graphile/worker/pull/628) + [`bc98aaf`](https://github.com/graphile/worker/commit/bc98aaf705fa69a52ba650a28b9b74dde9631ce9) + Thanks [@benjie](https://github.com/benjie)! - Since Node 20 is EOL, Node 22 + is now the minimum supported version, per our + [requirements documentation](https://worker.graphile.org/docs/requirements). + +- [#628](https://github.com/graphile/worker/pull/628) + [`bc98aaf`](https://github.com/graphile/worker/commit/bc98aaf705fa69a52ba650a28b9b74dde9631ce9) + Thanks [@benjie](https://github.com/benjie)! - `LogLevel` export is now type + only - a string union rather than a TypeScript const enum. + +- [#628](https://github.com/graphile/worker/pull/628) + [`bc98aaf`](https://github.com/graphile/worker/commit/bc98aaf705fa69a52ba650a28b9b74dde9631ce9) + Thanks [@benjie](https://github.com/benjie)! - `Runner` gains + `[Symbol.asyncDispose]()` method, so you can + `await using runner = await run(...)` and the worker will be released when you + reach the end of the scope. (Primarily useful for tests.) + +### Patch Changes + +- [#628](https://github.com/graphile/worker/pull/628) + [`bc98aaf`](https://github.com/graphile/worker/commit/bc98aaf705fa69a52ba650a28b9b74dde9631ce9) + Thanks [@benjie](https://github.com/benjie)! - Fix issue where enabling + `localQueue` could cause jobs from the same named queue to run concurrently + (violating the serial execution guarantee for named queues): a single batch + fetch could lock multiple jobs belonging to one named queue. Batch fetches now + return at most one job per named queue + ([#621](https://github.com/graphile/worker/issues/621)). + +- [#628](https://github.com/graphile/worker/pull/628) + [`bc98aaf`](https://github.com/graphile/worker/commit/bc98aaf705fa69a52ba650a28b9b74dde9631ce9) + Thanks [@benjie](https://github.com/benjie)! - Maintenance work: upgrade to + latest TypeScript, Jest, eliminate ts-node, fix yargs, use erasable syntax + only for type-stripping support. + ## 0.17.3 Fixes a bad cast (`::int[]` instead of `::bigint[]`) in `failJobs` resulting in diff --git a/package.json b/package.json index 23512ad1..28e7a548 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "graphile-worker", - "version": "0.17.3", + "version": "0.18.0", "type": "module", "description": "Job queue for PostgreSQL", "main": "dist/index.js", diff --git a/src/version.ts b/src/version.ts index ea769744..9d2e0ca5 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,2 +1,2 @@ // This file is autogenerated by /scripts/postversion.mjs -export const version = "0.17.3"; +export const version = "0.18.0";