Skip to content

Warn when deploying with End-of-Life Node.js versions#1616

Closed
colincasey wants to merge 4 commits intonodejs-data-queryfrom
eol-warnings
Closed

Warn when deploying with End-of-Life Node.js versions#1616
colincasey wants to merge 4 commits intonodejs-data-queryfrom
eol-warnings

Conversation

@colincasey
Copy link
Copy Markdown
Contributor

Summary

  • Add eol boolean field to resolve-version subcommand JSON output, checking if the resolved version's major is in nodejs_data::SUPPORTED_NODEJS_VERSIONS
  • Display EOL warning via output::error when deploying with an unsupported Node.js version
  • Track node_version_eol metric via build_data::set_raw
  • Add EOL warning assertions to hatchet specs for all EOL versions (10, 12, 14, 15, 16, 17, 18, 19, 21, 23) and absence assertions for supported versions (20, 22, 24, 25)

Matches the CNB buildpack behavior from heroku/buildpacks-nodejs#1353.

Stacked on #1613.

@colincasey
Copy link
Copy Markdown
Contributor Author

Replaced by #1621 (stacked on the simplified resolve-version series)

@colincasey colincasey closed this Apr 17, 2026
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