Skip to content

Conversation

@hannahramadan
Copy link
Contributor

@hannahramadan hannahramadan commented Oct 9, 2025

This PR adds the logger gem as an agent dependency. logger is no longer a part of Ruby default gems starting from Ruby 4.0.0, but agent code is quite intertwined with it and all other Ruby versions we support include it as a default, so adding it as a dependency makes sense.

This PR also updates tests to account for the removal of logger and benchmark from Ruby 4.0.0.

Full CI run: https://github.com/newrelic/newrelic-ruby-agent/actions/runs/17749090770

(This PR was created when Ruby 3.5.0 was the planned release for Christmas 2025 instead of 4.0.0)

@hannahramadan hannahramadan marked this pull request as ready for review October 9, 2025 18:31
@hannahramadan hannahramadan requested a review from a team as a code owner October 9, 2025 18:31
@hannahramadan hannahramadan changed the title Add logger as a dependency v10.0.0 - Add logger as a dependency Oct 22, 2025
Copy link
Contributor

@kaylareopelle kaylareopelle left a comment

Choose a reason for hiding this comment

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

Do you think we need a changelog entry for this? Otherwise, LGTM!

@kaylareopelle
Copy link
Contributor

Another thought -- wdyt about changing the PR title to include "Ruby 3.5 support" or something like that to make it easier to search later on?

Copy link
Contributor

@kaylareopelle kaylareopelle left a comment

Choose a reason for hiding this comment

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

jkjk - I think we should add a changelog entry, at least for the logger part. open to other opinions though!

@hannahramadan hannahramadan changed the title v10.0.0 - Add logger as a dependency Ruby 3.5 support - add logger as a dependency Nov 12, 2025
@hannahramadan
Copy link
Contributor Author

@kaylareopelle changed both the title and added that changelog entry! https://github.com/newrelic/newrelic-ruby-agent/pull/3293/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR8-R10

@hannahramadan hannahramadan changed the title Ruby 3.5 support - add logger as a dependency Ruby 4.5 support - Add logger as a dependency Nov 13, 2025
@hannahramadan hannahramadan changed the title Ruby 4.5 support - Add logger as a dependency Ruby 4.0 support - Add logger as a dependency Nov 13, 2025
@hannahramadan
Copy link
Contributor Author

Updated the changelog to reflect the eventual change of ruby 3.5 to ruby 4.0

@github-actions
Copy link
Contributor

SimpleCov Report

Coverage Threshold
Line 93.76% 93%

@hannahramadan hannahramadan merged commit f269e50 into v10_0_0 Nov 14, 2025
55 checks passed
@hannahramadan hannahramadan deleted the ci_ruby_3_5 branch November 14, 2025 02:48
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.

3 participants