-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase default Ruby version to 2.7.4 #1193
Conversation
61cf080
to
d7a6756
Compare
Our policy is to stay on the latest patch release of the middle supported Ruby version. Supported versions are 3.0, 2.7, and 2.6 so the latest of the 2.7 is 2.7.4.
d7a6756
to
427268d
Compare
SimpleDelegator was removed from being auto-required in Ruby 2.7 https://stackoverflow.com/questions/60459709/where-is-simpledelegator-in-ruby-2-7
- rspec ./spec/hatchet/rails5_spec.rb:46 # Rails 5.1 with webpacker calls bin/yarn no matter what is on the path - Hatchet::Runner.new("rails51_webpacker").tap do |app| - Test does not rely on Rails 5 specific behavior - rspec ./spec/hatchet/rails5_spec.rb:4 # Rails 5 works - Hatchet::Runner.new("rails5", stack: "heroku-18").deploy do |app, heroku| - Version of Rails does not work with Ruby 2.7.4 - Not rails 5 specific, upgrading to Rails 6 - rspec ./spec/hatchet/bugs_spec.rb:12 # Bugs database connections fails with better error message - Hatchet::Runner.new("connect_to_database_on_first_push", allow_failure: true).deploy do |app| - We can use a generic/maintained app instead and inject the database connection code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woot! :-D
Co-authored-by: Ed Morley <501702+edmorley@users.noreply.github.com>
* Moves the entry for #1193 to "unreleased", since it was not part of the v229 release. * Fixes the date for the v229 release (it was published to the buildpack registry on `2021-08-30T15:57:32.024Z`). * Turns the `Main` heading into an H2 so it's at the same heading level as the versioned headings.
@@ -2,6 +2,7 @@ | |||
|
|||
## v229 (7/30/2021) | |||
|
|||
* Default Ruby version is now 2.7.4 (https://github.com/heroku/heroku-buildpack-ruby/pull/1193) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This happened on a rebase perhaps? If we put effort into productizing our changelog check it would be nice to optionally enforce:
- Entry must be in the "unreleased" section (with optional over-ride)
- Entry dates in headers must be added with the current date (with optional over-ride)
- Maybe more
Thanks for spotting this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I missed it in my review, so my bad!
* Moves the entry for #1193 to "unreleased", since it was not part of the v229 release. * Fixes the date for the v229 release (it was published to the buildpack registry on `2021-08-30T15:57:32.024Z`). * Turns the `Main` heading into an H2 so it's at the same heading level as the versioned headings.
Our policy is to stay on the latest patch release of the middle supported Ruby version. Supported versions are 3.0, 2.7, and 2.6 so the latest of the 2.7 is 2.7.4.
GUS-W-9831879