Skip to content

chore(deps): update sentry-ruby monorepo to v6#590

Open
renovate[bot] wants to merge 1 commit into
stagingfrom
renovate/major-sentry-ruby-monorepo
Open

chore(deps): update sentry-ruby monorepo to v6#590
renovate[bot] wants to merge 1 commit into
stagingfrom
renovate/major-sentry-ruby-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Oct 23, 2025

This PR contains the following updates:

Package Change Age Confidence
sentry-rails (source, changelog) '~> 5.26''~> 6.5' age confidence
sentry-ruby (source, changelog) '~> 5.26''~> 6.5' age confidence
sentry-sidekiq (source, changelog) '~> 5.26''~> 6.5' age confidence

Release Notes

getsentry/sentry-ruby (sentry-rails)

v6.5.0

Compare Source

New Features ✨
Bug Fixes 🐛
Internal Changes 🔧

v6.4.1

Compare Source

Bug Fixes 🐛

v6.4.0

Compare Source

Features
  • Add support for OTLP ingestion in sentry-opentelemetry (#​2853)

    Sentry now has first class OTLP ingestion capabilities.

    Sentry.init do |config|
      ## ...
      config.otlp.enabled = true
    end

    Under the hood, this will setup:

    • An OpenTelemetry::Exporter that will automatically set up the OTLP ingestion endpoint from your DSN
      • You can turn this off with config.otlp.setup_otlp_traces_exporter = false to setup your own exporter
    • An OTLPPropagator that ensures Distributed Tracing works
      • You can turn this off with config.otlp.setup_propagator = false
    • Trace/Span linking for all other Sentry events such as Errors, Logs, Crons and Metrics

    If you were using the SpanProcessor before, we recommend migrating over to config.otlp since it's a much simpler setup.

  • Treat Sidekiq nil retry as true (#​2864)

  • Queue time capture for Rack (#​2838)

Bug Fixes
  • Fix MetricEvent timestamp serialization to float (#​2862)
  • Fix CGI imports for ruby 4.x (#​2863)
  • Always include scope user data in telemetry (#​2866)

v6.3.1

Compare Source

Bug Fixes
  • Use ActionDispatch::ExceptionWrapper for correct HTTP status code (#​2850)
  • Add explicit dependency on logger gem to fix Ruby 4.0 warning (#​2837)
Internal
  • Add external_propagation_context support (#​2841)

v6.3.0

Compare Source

Features
  • Implement new Sentry.metrics functionality (#​2818)

    The SDK now supports Sentry's new Trace Connected Metrics product.

     Sentry.metrics.count("button.click", 1, attributes: { button_id: "submit" })
     Sentry.metrics.distribution("response.time", 120.5, unit: "millisecond")
     Sentry.metrics.gauge("cpu.usage", 75.2, unit: "percent")

    Metrics is enabled by default and only activates once you use the above APIs. To disable completely:

    Sentry.init do |config|
      # ...
      config.enable_metrics = false
    end
  • Support for tracing Sequel queries (#​2814)

    require "sentry"
    require "sentry/sequel"
    
    Sentry.init do |config|
      config.enabled_patches << :sequel
    end
    
    DB = Sequel.sqlite
    DB.extension(:sentry)
  • Add support for OpenTelemetry messaging/queue system spans (#​2685)

  • Add support for config.std_lib_logger_filter proc (#​2829)

    Sentry.init do |config|
      config.std_lib_logger_filter = proc do |logger, message, severity|
        # Only send ERROR and above messages
        severity == :error || severity == :fatal
      end
    
      config.enabled_patches = [:std_lib_logger]
    end
Bug Fixes
  • Handle empty frames case gracefully with local vars (#​2807)
  • Handle more extra attribute types when using extra attributes for structured logging (#​2815)
    # This now works too and the nested hash is dumped to JSON string
    Sentry.logger.info("Hello World", extra: { today: Date.today, user_id: user.id })
  • Prevent SDK crash when SDK logging fails (#​2817)
Internal
  • Unify Logs and Metrics implementations (#​2826)
  • Unify LogEventBuffer and MetricEventBuffer logic (#​2830)
  • Add maximum limits on LogEventBuffer (1k) and MetricEventBuffer (10k) for protection from memory blowup (#​2831)
  • Lazily start LogEventBuffer and MetricEventBuffer threads (#​2832)

v6.2.0

Compare Source

Features
  • Include otel as custom sampling context (2683)
Fixes
  • Prevent logging from crashing main thread (2795)
  • Improve error handling in ActiveRecord subscriber (2798)

v6.1.2

Compare Source

Fixes
  • Handle positioned binds in logging (#​2787)
  • Handle cached queries with binds correctly when logging (#​2789)

v6.1.1

Compare Source

Improvements
  • Optimize getting query source location in ActiveRecord tracing - this makes tracing up to roughly 40-60% faster depending on the use cases (#​2769)
Bug fixes
  • Properly skip silenced ActiveRecord::Base.logger's log entries in the ActiveRecord log subscriber (#​2775)
  • Handle malformed utf-8 log messages and attributes (#​2777 and #​2780)
  • Fix initialized check in Sentry::Rails::CaptureExceptions (#​2783)

v6.1.0

Compare Source

Features
  • Add support for ActiveRecord binds in the log events (#​2761)
Bug Fixes
  • Guard log subscribers with initialized check (#​2765)

v6.0.0

Compare Source

Breaking Changes
  • Drop support for rubies below 2.7 #​2743
    • Drop support for Rails below 5.2.0
    • Drop support for Sidekiq below 5.0
  • Remove deprecated config.async #​1894
  • Remove deprecated Sentry::Metrics and config.metrics and all metrics related code (#​2729)
  • Remove deprecated config.capture_exception_frame_locals, use include_local_variables instead (#​2730)
  • Remove deprecated config.enable_tracing, use config.traces_sample_rate = 1.0 instead (#​2731)
  • Remove deprecated config.logger=, use config.sdk_logger= instead (#​2732)
  • Sentry.logger now always points to the StructuredLogger (#​2752)
  • Remove deprecated Sentry::Rails::Tracing::ActionControllerSubscriber (#​2733)
  • Remove deprecated Event#configuration (#​2740)
  • Remove deprecated Sentry::Client#generate_sentry_trace and Sentry::Client#generate_baggage (#​2741)
  • Remove Transaction deprecations (#​2736)
    • Remove deprecated constant Sentry::Transaction::SENTRY_TRACE_REGEXP, use Sentry::PropagationContext::SENTRY_TRACE_REGEXP instead
    • Remove deprecated method Sentry::Transaction.from_sentry_trace, use Sentry.continue_trace instead
    • Remove deprecated method Sentry::Transaction.extract_sentry_trace, use Sentry::PropagationContext.extract_sentry_trace instead
    • Remove deprecated attribute Sentry::Transaction.configuration
    • Remove deprecated attribute Sentry::Transaction.hub
    • Remove deprecated argument hub to Sentry::Transaction.finish
    • Remove deprecated argument hub to Sentry::Transaction#initialize (#​2739)
  • Remove :monotonic_active_support_logger from config.breadcrumbs_logger (#​2717)
  • Migrate from to_hash to to_h (#​2351)
  • Add before_send_check_in for applying to CheckInEvent (#​2703)
  • Returning a hash from before_send and before_send_transaction is no longer supported and will drop the event.
  • config.enabled_environments now defaults to nil instead of [] for sending to all environments (#​2716)
  • Requests which have response status codes in the inclusive ranges [(301..303), (305..399), (401..404)] will no longer create transactions by default. See config.trace_ignore_status_codes below to control what gets traced.
  • Stacktrace truncation for oversized events now takes 500 frames on each side instead of 250.
Features
  • Add config.trace_ignore_status_codes to control which response codes to ignore for tracing (#​2725)

    You can pass in an Array of individual status codes or ranges of status codes.

    Sentry.init do |config|
        # ...
        # will ignore 404, 501, 502, 503
        config.trace_ignore_status_codes = [404, (501..503)]
    end
  • Add config.profiles_sample_interval to control sampling frequency (#​2745)

    • Both stackprof and vernier now get sampled at a default frequency of 101 Hz.
  • Request body reading checks for :rewind to match Rack 3 behavior. (#​2754)

Internal

Configuration

📅 Schedule: (in timezone Europe/Amsterdam)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Oct 23, 2025
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Oct 23, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.92%. Comparing base (687c75d) to head (9779767).

Additional details and impacted files
@@           Coverage Diff            @@
##           staging     #590   +/-   ##
========================================
  Coverage    99.92%   99.92%           
========================================
  Files          197      197           
  Lines         2665     2665           
========================================
  Hits          2663     2663           
  Misses           2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch 2 times, most recently from b9705e7 to 55f61c3 Compare November 4, 2025 20:58
@renovate renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch 2 times, most recently from a939a91 to 9cbaa1f Compare November 20, 2025 13:09
@renovate renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch from 9cbaa1f to 0e0d116 Compare November 25, 2025 15:53
@renovate renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch from 0e0d116 to f0f0ab1 Compare November 27, 2025 16:02
@renovate renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch from f0f0ab1 to 279211a Compare December 31, 2025 12:58
@renovate renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch from 279211a to 3c7b9df Compare January 15, 2026 14:54
@renovate renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch from 3c7b9df to 9ab0a83 Compare February 2, 2026 17:14
@renovate renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch from 9ab0a83 to aabcb22 Compare February 11, 2026 17:12
@renovate renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch 2 times, most recently from f3881c8 to 5c0dc79 Compare March 2, 2026 13:23
@renovate renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch from 5c0dc79 to c8d4ac0 Compare March 13, 2026 18:11
@renovate renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch from c8d4ac0 to 9779767 Compare March 16, 2026 14:43
@renovate renovate Bot changed the title chore(deps): update sentry-ruby monorepo to v6 (major) chore(deps): update sentry-ruby monorepo to v6 May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file Rack 3.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant