From 332aba4873ce50d97a621332f92c59faac9a2c48 Mon Sep 17 00:00:00 2001 From: Richard Schneeman Date: Wed, 8 Nov 2023 14:11:18 -0600 Subject: [PATCH] v262 and an update to the warning message (#1402) Co-authored-by: Richard Schneeman --- CHANGELOG.md | 2 ++ lib/language_pack/ruby.rb | 5 +++-- lib/language_pack/version.rb | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d787c8bee..e79994251 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/lib/language_pack/ruby.rb b/lib/language_pack/ruby.rb index beb1b0f0d..d03b9ac6c 100644 --- a/lib/language_pack/ruby.rb +++ b/lib/language_pack/ruby.rb @@ -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 diff --git a/lib/language_pack/version.rb b/lib/language_pack/version.rb index 32d3f4d25..98fef1a97 100644 --- a/lib/language_pack/version.rb +++ b/lib/language_pack/version.rb @@ -2,6 +2,6 @@ module LanguagePack class LanguagePack::Base - BUILDPACK_VERSION = "v261" + BUILDPACK_VERSION = "v262" end end