Skip to content

Update sentry-ruby monorepo to v7 - #988

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.6.2 → 7.1.0 age confidence
sentry-ruby (source, changelog) 6.6.2 → 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.

v6.7.0

Compare Source

New Features ✨
Bug Fixes 🐛
Rails
Other
Internal Changes 🔧

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 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.

@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-m-9mqwpw September 1, 2026 23:14 Inactive
@renovate
renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch from 6d80a54 to 898a846 Compare September 4, 2026 17:39
@mitlib
mitlib temporarily deployed to timdex-api-p-renovate-m-9mqwpw September 4, 2026 17:40 Inactive
@renovate
renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch from 898a846 to 58084ac Compare September 15, 2026 13:43
@renovate
renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch from 58084ac to 4201b1f Compare September 25, 2026 04:09
@renovate
renovate Bot force-pushed the renovate/major-sentry-ruby-monorepo branch from 4201b1f to 1749881 Compare September 29, 2026 14:48

This branch was previously deployed

1 inactive (outdated) deployment
timdex-api-p-renovate-m-9mqwpw — 898a846c Deployed Sep 4, 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.

1 participant