Skip to content

Commit b37eadc

Browse files
joshwlewisedmorley
andauthored
Bump default Node.js and Yarn versions (#1342)
* Bump default Node.js and Yarn versions * Add links to changelog * Update CHANGELOG.md Co-authored-by: Ed Morley <[email protected]> Co-authored-by: Ed Morley <[email protected]>
1 parent 9f382c6 commit b37eadc

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## Main (unreleased)
44

5+
## v246 (2022/11/29)
6+
7+
* Default Node.js version now 16.18.1 (https://github.com/heroku/heroku-buildpack-ruby/pull/1342)
8+
* Default Yarn version now 1.22.19 (https://github.com/heroku/heroku-buildpack-ruby/pull/1342)
9+
510
## v245 (2022/11/16)
611

712
* Bump Bundler 2 wrapper to 2.3.25 (https://github.com/heroku/heroku-buildpack-ruby/pull/1337)

changelogs/v246/node_defaults.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## Ruby apps now default to Node version 16.18.1 and Yarn version 1.22.19
2+
3+
Applications using the `heroku/ruby` buildpack that do not already have `node`
4+
and/or `yarn` installed by another buildpack (such as the `heroku/nodejs`
5+
buildpack) will now receive:
6+
7+
- Node.js version 16.18.1 (was previously 16.13.1)
8+
- Yarn version 1.22.19 (was previously 1.22.17)
9+
10+
These versions and instructions on how to specify a specific version of these binaries can be found on the [installed binaries section of the Heroku Ruby Support page](https://devcenter.heroku.com/articles/ruby-support#installed-binaries).

lib/language_pack/helpers/nodebin.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
class LanguagePack::Helpers::Nodebin
44
def self.hardcoded_node_lts
5-
version = "16.13.1"
5+
version = "16.18.1"
66
{
77
"number" => version,
88
"url" => "https://heroku-nodebin.s3.us-east-1.amazonaws.com/node/release/linux-x64/node-v#{version}-linux-x64.tar.gz"
99
}
1010
end
1111

1212
def self.hardcoded_yarn
13-
version = "1.22.17"
13+
version = "1.22.19"
1414
{
1515
"number" => version,
1616
"url" => "https://heroku-nodebin.s3.us-east-1.amazonaws.com/yarn/release/yarn-v#{version}.tar.gz"

lib/language_pack/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module LanguagePack
44
class LanguagePack::Base
5-
BUILDPACK_VERSION = "v245"
5+
BUILDPACK_VERSION = "v246"
66
end
77
end

0 commit comments

Comments
 (0)