Skip to content

Conversation

@rowanmanning
Copy link
Member

Node.js 22.12 removes the need for the --experimental-require-module CLI flag when importing native ESM into CommonJS contexts. We'd like to migrate Reliability Kit to be ESM and we'd like for the teams who use it to not have to include this CLI flag.

We're taking the decision to drop support for Node.js versions below 22.12 in order to support this.

This is the first step towards us migrating to native ESM, see #1479.

Note

this is being PRed into the 2026-majors branch, a long-running branch for our milestone.

Node.js 22.12 removes the need for the `--experimental-require-module`
CLI flag when importing native ESM into CommonJS contexts. We'd like to
migrate Reliability Kit to be ESM and we'd like for the teams who use it
to not have to include this CLI flag.

We're taking the decision to drop support for Node.js versions below
22.12 in order to support this.

This is the first step towards us migrating to native ESM, see #1479.
@rowanmanning rowanmanning added this to the Major Versions 2026 milestone Jan 9, 2026
@rowanmanning rowanmanning added the breaking change Indicates that the feature will require a major version bump. label Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Indicates that the feature will require a major version bump.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants