Skip to content

Commit 0f18fe1

Browse files
Bump NODE_LTS_VERSION to 20.11.1
In e8638c9 we introduced a constant to store the version of Node to be used when generating `.node-version`. Since then, the [current LTS][LTS] version of Node is now `20.11.1` as of [2024-02-14][date]. [LTS]: https://nodejs.github.io/nodejs.dev/en/about/releases/ [date]: https://nodejs.org/en/blog/release/v20.11.1
1 parent 68b20b6 commit 0f18fe1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

railties/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
* Update the `.node-version` file conditionally generated for new applications to 20.11.1
2+
3+
*Steve Polito*
4+
15
* Fix sanitizer vendor configuration in 7.1 defaults.
26

37
In apps where rails-html-sanitizer was not eagerly loaded, the sanitizer default could end up

railties/lib/rails/generators/app_base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class AppBase < Base # :nodoc:
1616
include Devcontainer
1717
include AppName
1818

19-
NODE_LTS_VERSION = "18.15.0"
19+
NODE_LTS_VERSION = "20.11.1"
2020
BUN_VERSION = "1.0.1"
2121

2222
JAVASCRIPT_OPTIONS = %w( importmap bun webpack esbuild rollup )

0 commit comments

Comments
 (0)