Skip to content

Commit

Permalink
v262 and an update to the warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Schneeman committed Nov 8, 2023
1 parent 77c1ac3 commit 915ee93
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Main (unreleased)

## v262 (2023/11/08)

- Warn when relying on default Node.js or Yarn versions (https://github.com/heroku/heroku-buildpack-ruby/pull/1401)
- Warn when default Node.js or Yarn versions change (https://github.com/heroku/heroku-buildpack-ruby/pull/1401)

Expand Down
5 changes: 3 additions & 2 deletions lib/language_pack/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1062,8 +1062,9 @@ def add_yarn_binary
Installing a default version (#{version}) of Yarn
This version is not pinned and can change over time, causing unexpected failures.
Heroku recommends placing the `heroku/nodejs` buildpack in front of
`heroku/ruby` to install a specific version of node:
Heroku recommends placing the `heroku/nodejs` buildpack in front of the `heroku/ruby`
buildpack as it offers more comprehensive Node.js support, including the ability to
customise the Node.js version:
https://devcenter.heroku.com/articles/ruby-support#node-js-support
WARNING
Expand Down
2 changes: 1 addition & 1 deletion lib/language_pack/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module LanguagePack
class LanguagePack::Base
BUILDPACK_VERSION = "v261"
BUILDPACK_VERSION = "v262"
end
end

0 comments on commit 915ee93

Please sign in to comment.