Skip to content

docs(node): update minimum Node.js version to 20.19.0 - #19317

Merged
andreiborza merged 1 commit into
js-v11-docsfrom
nicolashrubec/sdk-1461-update-nodejs-minimum-version-in-docs
Sep 22, 2026
Merged

andreiborza merged 1 commit into
js-v11-docsfrom
nicolashrubec/sdk-1461-update-nodejs-minimum-version-in-docs

Conversation

@nicohrubec

@nicohrubec nicohrubec commented Sep 9, 2026 •

Copy link
Copy Markdown
Member

DESCRIBE YOUR PR

Set the Node.js minimum to 20.19.0 for v11 across the docs: reword the prerequisites with the full supported range, drop the now-moot "only available for Node v18.19.0 onwards" ESM notes (the minimum already guarantees them), and bump the stale Node-18 minimums on the Nitro and Elysia guides.

⚠️ Do not merge until v11 is released as stable.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.
Select exactly one option. For deadlines, replace YYYY-MM-DD with the due date. You can update this information later by editing the PR description.

  • Urgent deadline (GA date, etc.): YYYY-MM-DD
  • Other deadline: YYYY-MM-DD
  • No deadline: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've supplied a deadline.

Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

🤖 Generated with Claude Code

@vercel

vercel Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-docs Ready Ready Preview Sep 22, 2026 1:44pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
develop-docs Ignored Ignored Preview Sep 22, 2026 1:44pm UTC

Request Review

@linear-code

linear-code Bot commented Sep 9, 2026

Copy link
Copy Markdown

SDK-1461

@andreiborza
andreiborza changed the base branch from master to js-v11-docs September 22, 2026 12:14
JPeer264 added a commit that referenced this pull request Sep 22, 2026
## DESCRIBE YOUR PR

closes SDK-1494

(kept the version v18 ranges as they ill be removed here:
#19317)

Bring the Node install pages in line with the v11 install methods, and
fix the ESM snippets that stop the app from starting.

- Fix the extensionless `import "./instrument"` in the Express, Fastify,
Hapi and Connect ESM tabs, in `install/esm-without-import.mdx` and in
the NestJS ESM page. The config step creates `instrument.mjs`, and Node
ESM does not probe extensions, so the app stopped with
`ERR_MODULE_NOT_FOUND`.
- Start the Koa ESM tab with `--import` instead. With the extension
fixed the app starts, but `koa` is already loaded when `Sentry.init`
runs, so every router and middleware span and every route name is lost.
- Rewrite `install/late-initialization.mdx` around `node --import
@sentry/node/import`. The page told readers to use
`@sentry/node/preload`, which is no longer exported and fails with
`ERR_PACKAGE_PATH_NOT_EXPORTED`. Drop `SENTRY_PRELOAD_INTEGRATIONS` with
it, and show a CommonJS entry point next to the ESM one, since
`--import` covers both.
- Rework `install/index.mdx` around the three v11 methods: `--import`
your instrument file, a bundler plugin with a top-level import, and
`--import` the SDK with a later `Sentry.init()`. Say that `--import`
covers CommonJS as well, and that `--require` is gone.
- Rewrite `install/esm-without-import.mdx` around the bundler plugin and
the deferred entry point, and say why a top-level import alone is not
equivalent to `--import`.
- Remove the `registerEsmLoaderHooks` troubleshooting from
`install/esm.mdx`. The option was removed and the SDK no longer depends
on `import-in-the-middle`.

## IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.

- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [ ] No deadline: Not urgent, can wait up to 1 week+

## SLA

- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.

Thanks in advance for your help!

## PRE-MERGE CHECKLIST

_Make sure you've checked the following before merging your changes:_

- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)

## LEGAL BOILERPLATE

<!-- Sentry employees and contractors can delete or ignore this section.
-->

Look, I get it. The entity doing business as "Sentry" was incorporated
in the State of Delaware in 2015 as Functional Software, Inc. and is
gonna need some rights from me in order to utilize my contributions in
this here PR. So here's the deal: I retain all rights, title and
interest in and to my contributions, and by keeping this boilerplate
intact I confirm that Sentry can use, modify, copy, and redistribute my
contributions, under Sentry's choice of terms.

## EXTRA RESOURCES

- [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
@andreiborza
andreiborza marked this pull request as ready for review September 22, 2026 13:17
@codeowner-assignment
codeowner-assignment Bot requested a review from a team September 22, 2026 13:17
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@andreiborza
andreiborza force-pushed the nicolashrubec/sdk-1461-update-nodejs-minimum-version-in-docs branch from 46b6a33 to cd1dde7 Compare September 22, 2026 13:34
@andreiborza
andreiborza merged commit 9900850 into js-v11-docs Sep 22, 2026
8 of 9 checks passed
@andreiborza
andreiborza deleted the nicolashrubec/sdk-1461-update-nodejs-minimum-version-in-docs branch September 22, 2026 13:37

This branch was successfully deployed

1 active deployment
Preview – sentry-docs — cd1dde70 Deployed Sep 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

js-v11-docs Priority: Normal Docs review has no urgent deadline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants