Skip to content

Update sentry-ruby monorepo to v7 - #1538

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

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

Conversation

@renovate

@renovate renovate Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
sentry-rails (source, changelog) 6.7.0 → 7.1.0 age confidence
sentry-ruby (source, changelog) 6.7.0 → 7.1.0 age confidence

Release Notes

getsentry/sentry-ruby (sentry-rails)

v7.1.0

Compare Source

Breaking Changes 🛠
  • Disable Rails Structured Logging by default. by @​sl0thentr0py in #​3102

    Since enable_logs was removed in 7.0.0 and the community did not like the automatic enabling of Rails Structured Logging, we are disabling it in this minor.
    We apologize for the confusion caused. If you want to turn it on, please use:

    Sentry.init do |config|
      # ...
      config.rails.structured_logging.enabled = true
    end
  • fix!(tracing): Remove 302/303 from default trace_ignore_status_codes by @​sl0thentr0py in #​3103

New Features ✨
  • (metrics) Attribute integration-emitted metrics by @​sentry-junior in #​3071

  • The SDK now wraps user callbacks so that they don't unintentionally break your application if they raise inside the callback. by @​sl0thentr0py in #​3077

    Callback Behavior
    before_send Return nil and drop the event
    before_send_transaction Return nil and drop the transaction
    before_send_check_in Return nil and drop the check-in
    event_processor Return nil and drop the event
    before_send_log Return nil and drop the log item
    before_send_metric Return nil and drop the metric item
    before_breadcrumb Return nil and drop the breadcrumb
    traces_sampler Fall back to traces_sample_rate
    backtrace_cleanup_callback Fall back to the original backtrace
    std_lib_logger_filter Return nil and skip the log
Bug Fixes 🐛
Logs, Metrics
Other

v7.0.0

Compare Source

Breaking Changes 🛠
  • Logs are now enabled by default and enable_logs is removed. by @​sl0thentr0py in #​3053

    Using sentry-rails will automatically turn on automatic structured logging from Rails. if you want to turn it off, use:

    Sentry.init do |config
      # ...
      config.rails.structured_logging.enabled = false
    end
  • Metrics are now enabled by default and enable_metrics is removed. by @​sl0thentr0py in #​3061

  • config.otlp.setup_otlp_traces_exporter and config.otlp.setup_propagator now default to false. by @​sl0thentr0py in #​3063

New Features ✨
Data Collection

We are moving away from send_default_pii to a more granular configuration called data_collection.
It allows you to precisely control the data that Sentry collects from your app.

Sentry.init do |config|
  # ...
  config.data_collection.user_info = false
  config.data_collection.http_bodies = []
end

send_default_pii is deprecated but will continue to default to false.
data_collection will be backfilled when send_default_pii = false with the following values in 7.0.0:

data_collection.user_info = false
data_collection.cookies.mode = :off
data_collection.http_headers.request.mode = :deny_list
data_collection.http_headers.request.terms = %w[forwarded -ip _ip remote via _user -user]
data_collection.http_headers.response.mode = :deny_list
data_collection.http_headers.response.terms = %w[forwarded -ip _ip remote via _user -user]
data_collection.http_bodies = []
data_collection.url_query_params.mode = :off
data_collection.graphql.document = false
data_collection.graphql.variables = false
data_collection.database_query_data = false
data_collection.queues = false
data_collection.frame_context_lines = 3

In 8.0.0, send_default_pii will be removed and we will move to more permissive defaults for data_collection.
We recommend migrating to data_collection to match the behavior you want eventually.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

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

♻ Rebasing: Whenever PR is behind base branch, 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.

@mitlib
mitlib temporarily deployed to thesis-submit-pr-1538 September 1, 2026 22:59 Inactive
@coveralls

coveralls commented Sep 1, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 98.3%. remained the same — renovate/major-sentry-ruby-monorepo into main

@renovate
renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch from bf025e2 to 92bb9a9 Compare September 3, 2026 16:04
@mitlib
mitlib temporarily deployed to thesis-submit-pr-1538 September 3, 2026 16:05 Inactive
@renovate
renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch 2 times, most recently from a4aa3b2 to 9fc7d47 Compare September 18, 2026 20:14
@renovate
renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch from 9fc7d47 to 5d9f8b7 Compare September 29, 2026 12:10
@renovate
renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch from 5d9f8b7 to 67ad64c Compare October 2, 2026 17:42

This branch was previously deployed

1 inactive (outdated) deployment
thesis-submit-pr-1538 — 92bb9a99 Deployed Sep 3, 2026 by mitlib
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