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

Drop support for Ruby before 2.1.0 #229

Merged
merged 3 commits into from
Feb 2, 2022
Merged

Drop support for Ruby before 2.1.0 #229

merged 3 commits into from
Feb 2, 2022

Conversation

djmitche
Copy link
Contributor

Fixes #228.

@djmitche djmitche requested a review from remeh as a code owner November 12, 2021 17:27
@djmitche djmitche mentioned this pull request Jan 6, 2022
4 tasks
@djmitche
Copy link
Contributor Author

djmitche commented Jan 6, 2022

#230 seems to be showing that at least one of our deps has a transitive dep on a version of webrick not available in Ruby-2.0.

Copy link
Member

@marcotc marcotc left a comment

Choose a reason for hiding this comment

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

👍 Support for 2.0 has already been dropped by https://github.com/DataDog/dd-trace-rb/releases/tag/v0.50.0 in Jun 2021.

Copy link
Contributor

@remeh remeh left a comment

Choose a reason for hiding this comment

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

LGTM.

Gems tend to drop Ruby versions in major releases, and note that a while back I've added this section in the README: https://github.com/DataDog/dogstatsd-ruby#versioning for us to be able to use a minor if we would prefer (we may drop multiple versions of Ruby in the future and we probably won't want to have multiple majors of dogstatsd-ruby).

I think we should mention somewhere (in the CHANGELOG update?) which version of dogstatsd-ruby is the last one to support Ruby 2.0. WDYT?

@marcotc
Copy link
Member

marcotc commented Feb 2, 2022

I think we should mention somewhere (in the CHANGELOG update?) which version of dogstatsd-ruby is the last one to support Ruby 2.0. WDYT?

If you go this way, we have an example of listing support for older Rubies in the documentation: https://github.com/DataDog/dd-trace-rb/blob/279ff50/docs/GettingStarted.md#compatibility. The matrix will likely be more simplified here, but I wanted to show you what we are doing today, in case it helps.

@djmitche
Copy link
Contributor Author

djmitche commented Feb 2, 2022

# deprecation message for ruby < 2.1.0 users as we will drop support for ruby 2.0
# in dogstatsd-ruby 5.4.0
# TODO(remy): remove this message and the two global vars used in dogstatd-ruby 5.4.0
did mention the deprecation. I'll add a note to the README.

@djmitche djmitche merged commit aac4f54 into master Feb 2, 2022
@remeh remeh deleted the issue228 branch February 3, 2022 09:02
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.

Drop support for ruby<2.1.0
3 participants