GitHub recently upgraded to Ruby
2.7 and today, shared some key takeaways from the upgrade, including how the
team approached thousands of deprecation warnings, why it’s important to keep
up with new releases, along with a snapshot of the resulting performance
improvements.
Ruby 2.7 is a unique and
significant upgrade because the Ruby Core team has deprecated how keyword
arguments behave. GitHub is committed to running deprecation-free on both Ruby
and Rails to prevent falling behind on future upgrades. In this instance, in
order to run Ruby 2.7 deprecation-free, GitHub had to fix over 11k warnings,
which required a solid strategy for sharing the work.