Skip to content

Version Packages - #631

Merged
benjie merged 1 commit into
mainfrom
changeset-release/main
Sep 8, 2026
Merged

benjie merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

graphile-worker@0.18.0

Minor Changes

  • #628
    bc98aaf
    Thanks @benjie! - Now published as pure ESM, but
    worry not as unflagged require(ESM) is now enabled by default in
    Node 20.19.0+,
    Node 22.12.0+ and Node 24+ so
    everything should continue to work as before.

  • #628
    bc98aaf
    Thanks @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
    bc98aaf
    Thanks @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
    bc98aaf
    Thanks @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
    bc98aaf
    Thanks @benjie! - Since Node 20 is EOL, Node 22
    is now the minimum supported version, per our
    requirements documentation.

  • #628
    bc98aaf
    Thanks @benjie! - LogLevel export is now type
    only - a string union rather than a TypeScript const enum.

  • #628
    bc98aaf
    Thanks @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
    bc98aaf
    Thanks @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).

  • #628
    bc98aaf
    Thanks @benjie! - Maintenance work: upgrade to
    latest TypeScript, Jest, eliminate ts-node, fix yargs, use erasable syntax
    only for type-stripping support.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from ed07825 to 722f6af Compare September 8, 2026 14:43
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 722f6af to 59b82c4 Compare September 8, 2026 16:01
@benjie
benjie merged commit 4cda192 into main Sep 8, 2026
14 checks passed
@benjie
benjie deleted the changeset-release/main branch September 8, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant