Skip to content

Bump sentry-rails from 6.7.0 to 7.0.0 - #1012

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/bundler/sentry-rails-7.0.0
Open

dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/bundler/sentry-rails-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor

Bumps sentry-rails from 6.7.0 to 7.0.0.

Changelog

Sourced from sentry-rails's changelog.

7.0.0

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

... (truncated)

Commits
  • 28e4246 release: 7.0.0
  • b6c4ddd feat(data-collection): Make rails breadcrumbs respect data collection (#3068)
  • 3bf6552 feat(data-collection): Change stack_frame_variables to KeyValueCollection (#3...
  • caa1b0c feat(data-collection): Gate ActiveJob arguments and ExecutionContext inclusio...
  • 685e82a ci: 🤖 Update pinned CI lockfiles (#3060)
  • 100cdc9 feat!: Remove enable_logs (#3053)
  • 040fb0d fix(rails): set dummy rails app before calling initializers (#3055)
  • f34bffb ci: 🤖 Update pinned CI lockfiles (#3054)
  • c071bcd feat(data-collection): Port Rails log subscribers (#3034)
  • 5a2f1ed feat(data-collection): Port Rails controller and ActiveStorage (#3033)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Sep 14, 2026
Copilot AI lite review requested due to automatic review settings September 14, 2026 09:29
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Sep 14, 2026
@cla-bot cla-bot Bot added the cla-signed label Sep 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

github-actions Bot commented Sep 14, 2026

Copy link
Copy Markdown

Test coverage

93.57% line coverage reported by SimpleCov.
Run: https://github.com/RaspberryPiFoundation/editor-api/actions/runs/35116298102

@zetter-rpf

Copy link
Copy Markdown
Contributor

@dependabot recreate

Bumps [sentry-rails](https://github.com/getsentry/sentry-ruby) from 6.7.0 to 7.0.0.
- [Release notes](https://github.com/getsentry/sentry-ruby/releases)
- [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md)
- [Commits](getsentry/sentry-ruby@6.7.0...7.0.0)

---
updated-dependencies:
- dependency-name: sentry-rails
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/bundler/sentry-rails-7.0.0 branch from 68077d9 to 8d6e491 Compare September 16, 2026 15:24
@raspberrypiherokubot
raspberrypiherokubot temporarily deployed to editor-api-p-dependabot-lyfy9s September 16, 2026 15:29 Inactive
We use better stack for this so don't need this sentry feature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants