Dropping support for EOL Ruby #440
Replies: 5 comments
-
I did like the charm of the version being the year. Version 0.2.2 for 2022, 0.2.3 for 2023. It also sets expectations. |
Beta Was this translation helpful? Give feedback.
-
Is there indeed backward incompatibility? I have been working on a number of branches for the PRs with ruby 2.7 and calling the jira-ruby gem the same way we coded for the prior version. |
Beta Was this translation helpful? Give feedback.
-
@marlinpierce the incompatibility comes into play with the update to the 1.0 release of the OAuth gem. Here's the build: https://github.com/sumoheavy/jira-ruby/actions/runs/8514256166. The author is dropping non-commercial support for 0.6.x this month https://github.com/oauth-xx/oauth-ruby/releases. That said, I definitely want to be supportive here! I could branch off the most recent tag, merge some of the updates into it, and release that as 2.4.0 in the interim. That way we can keep it semver -- there was no intent to matching the release date by year. |
Beta Was this translation helpful? Give feedback.
-
Oh, I wasn't expressing a need for backward compatibility. I was just asking for an explanation of what is incompatible. |
Beta Was this translation helpful? Give feedback.
-
Unpinning and moving to discussions. |
Beta Was this translation helpful? Give feedback.
-
Overview
The library was initially built against older versions of Ruby, but now that we're modernizing, I propose dropping support for any EOL versions.
Reference: (link)
This would mean adding support for 3.2 and 3.3, and dropping 2.7 and below (should include 3.0 as well, but it did not EOL yesterday).
Required Updates
Most importantly, we'll need to consider a new major version (
v3.0.0
) due to the backward incompatibilities. We'll also need to:guard
in favor of something else, likepre-commit
)Beta Was this translation helpful? Give feedback.
All reactions