Skip to content
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

Merged
merged 5 commits into from
Sep 27, 2021
Merged

Increase default Ruby version to 2.7.4 #1193

merged 5 commits into from
Sep 27, 2021

Conversation

schneems
Copy link
Contributor

@schneems schneems commented Aug 30, 2021

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

@schneems schneems force-pushed the schneems/ruby-2.7.4 branch from 61cf080 to d7a6756 Compare August 30, 2021 17:58
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.
@schneems schneems force-pushed the schneems/ruby-2.7.4 branch from d7a6756 to 427268d Compare August 30, 2021 19:20
- 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.
@schneems schneems marked this pull request as ready for review September 22, 2021 17:13
@schneems schneems requested a review from a team as a code owner September 22, 2021 17:13
Copy link
Member

@edmorley edmorley left a 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>
@schneems schneems merged commit 98859a5 into main Sep 27, 2021
@schneems schneems deleted the schneems/ruby-2.7.4 branch September 27, 2021 16:10
edmorley added a commit that referenced this pull request Sep 29, 2021
* 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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@schneems This changelog entry has been added under the existing v229 release, rather than under the "unreleased" section - I've opened #1205 to fix it.

Copy link
Contributor Author

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!

Copy link
Member

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!

schneems pushed a commit that referenced this pull request Sep 29, 2021
* 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants