Skip to content

Conversation

@mudge
Copy link
Contributor

@mudge mudge commented Jan 15, 2026

Description

Ruby 4.0 moved "logger" from being a default gem to a bundled one (see https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/#stdlib-updates and https://stdgems.org/logger/) so it now needs to be added as an explicit dependency.

Without this, it will raise the following warning:

warning: logger used to be loaded from the standard library, but is not part of the default gems since Ruby 4.0.0.
You can add logger to your Gemfile or gemspec to fix this error.

mudge and others added 2 commits January 15, 2026 08:24
Ruby 4.0 moved "logger" from being a default gem to a bundled one (see
https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/#stdlib-updates
and https://stdgems.org/logger/) so it now needs to be added as an
explicit dependency.

Without this, it will raise the following warning:

    warning: logger used to be loaded from the standard library, but is
    not part of the default gems since Ruby 4.0.0.
    You can add logger to your Gemfile or gemspec to fix this error.
@solnic solnic merged commit 6ddf4d6 into getsentry:master Jan 26, 2026
257 of 259 checks passed
@codecov
Copy link

codecov bot commented Jan 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.27%. Comparing base (7d10c02) to head (3cf811b).
⚠️ Report is 18 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2837      +/-   ##
==========================================
+ Coverage   90.13%   90.27%   +0.14%     
==========================================
  Files         132      138       +6     
  Lines        5301     5421     +120     
==========================================
+ Hits         4778     4894     +116     
- Misses        523      527       +4     
Components Coverage Δ
sentry-ruby 97.26% <98.78%> (-0.03%) ⬇️
sentry-rails 55.50% <ø> (ø)
sentry-sidekiq 95.05% <ø> (ø)
sentry-resque 94.44% <ø> (ø)
sentry-delayed_job 94.68% <ø> (ø)
sentry-opentelemetry 99.32% <100.00%> (+0.01%) ⬆️
see 1 file with indirect coverage changes
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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