Skip to content

Release node.js 24 support for riverqueue npm package #1546

Closed

Description

@Nick-Lucas

I'm working on adding river to our typescript+go stack and can see that the node26 requirements were loosened 2 weeks ago to node24, but the latest 0.2.0 version doesn't have this change yet.

Could a new version be released so we don't have to patch the package locally?

Activity

  1. Nick-Lucas commented on Oct 26, 2026

    @Nick-Lucas
    Author

    As an aside, it might be better to externalise the polyfill but document it as a requirement, plus in runtime-support check that it exists and throw the same as an error.

    Importing a package and globalThis being mutated with a future API as a side effect isn't ideal when there are 3 polyfills for this API and applications may be using an alternative one, as a codebase could end up with a different winner when code changes and subtly change behaviour/bundles

  2. brandur commented on Oct 26, 2026

    @brandur
    Contributor

    @Nick-Lucas Good point on the polyfill. Let me take a quick look at that. I'll try to get a new release cut by EOD.

    OOC: Are you guys planning on using the new polyglot features in the sense that you have two River engines in each language running simultaneously?

  3. Nick-Lucas commented on Oct 26, 2026

    @Nick-Lucas
    Author

    🙏 thank you!

    Are you guys planning on using the new polyglot features

    Still a little early to say for certain, but one of our go services uses river already and we like the idea of having 1 tool that we understand well. My current work on the application side (typescript) needs to be bridged over into our go services for some sandbox orchestration, so the idea of typescript enqueuing/scheduling tasks and crossing the boundary to a go service picking up the work is very attractive. This all surrounds building a custom "World" for the Vercel Workflow SDK which is typescript only, and their postgres world uses graphile-worker which doesn't benefit from being cross-language so the polyglot option did draw us toward you guys

  4. brandur commented on Oct 27, 2026

    @brandur
    Contributor

    @Nick-Lucas Alright, want to give https://github.com/riverqueue/river/releases/tag/js%2Fv0.3.0 a shot?

    Still a little early to say for certain, but one of our go services uses river already and we like the idea of having 1 tool that we understand well. My current work on the application side (typescript) needs to be bridged over into our go services for some sandbox orchestration, so the idea of typescript enqueuing/scheduling tasks and crossing the boundary to a go service picking up the work is very attractive. This all surrounds building a custom "World" for the Vercel Workflow SDK which is typescript only, and their postgres world uses graphile-worker which doesn't benefit from being cross-language so the polyglot option did draw us toward you guys

    Great! Okay, thanks for the extra context. Let us run into any issues — we usually don't hear from our users and we're definitely interested in how polyglot integrations turn out when we're able to find them.

  5. Nick-Lucas commented on Oct 27, 2026

    @Nick-Lucas
    Author

    Upgraded and things are looking good so far, thanks for the fast turnaround!

    Happy to connect down the line if you want to talk use cases and feedback a bit too :)

  6. brandur commented on Oct 27, 2026

    @brandur
    Contributor

    SG and no problem! Love that things are working so far.

    Happy to connect down the line if you want to talk use cases and feedback a bit too :)

    Sign me up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions