Skip to content

📣 Minimum supported Node.js version will be raised to v22 #19775

@andreiborza

Description

@andreiborza

Description

We are planning to raise the minimum supported Node.js version to v22 in the next major of the Sentry JavaScript SDKs v11.

This means we are dropping support for

and raising the engines field of our node-based SDKs to >=22.

We realize this goes against our usual support philosophy, but we're forced to upgrade to be in line with our major dependency on OpenTelemetry.

Motivation

OpenTelemetry's JS SDK is planning to raise its minimum Node.js version to v22 for their next v3 release. Sentry's SDKs rely heavily on OpenTelemetry, therefore we are forced to be in sync with their supported version range.

Timeline

The exact timing for the v11 major release has not been decided yet. We will provide more details as plans solidify. Users on Node.js v18 or v20 can continue to use the current major version of the SDK.

What you can do

  • If you are still on Node.js v18, we strongly recommend upgrading today, as it is already past its EOL and no longer receiving security patches.
  • If you are on Node.js v20, plan your upgrade to v22+.

We are sharing this early to give the community visibility and time to plan. Feedback is welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions