getsentry/sentry-ruby (sentry-rails)
### [`v5.18.0`](https://togithub.com/getsentry/sentry-ruby/blob/HEAD/CHANGELOG.md#5180)
[Compare Source](https://togithub.com/getsentry/sentry-ruby/compare/5.17.3...5.18.0)
##### Features
- Add generator for initializer generation ([#2286](https://togithub.com/getsentry/sentry-ruby/pull/2286))
Rails users will be able to use `bin/rails generate sentry` to generate their `config/initializers/sentry.rb` file.
- Notify users when their custom options are discarded ([#2303](https://togithub.com/getsentry/sentry-ruby/pull/2303))
- Add a new `:graphql` patch to automatically enable instrumenting GraphQL spans ([#2308](https://togithub.com/getsentry/sentry-ruby/pull/2308))
Usage:
```rb
Sentry.init do |config|
```
### ...
config.enabled_patches += [:graphql]
end
```
- Add `Sentry.get_trace_propagation_meta` helper for injecting meta tags into views ([#2314](https://togithub.com/getsentry/sentry-ruby/pull/2314))
- Add query source support to `sentry-rails` ([#2313](https://togithub.com/getsentry/sentry-ruby/pull/2313))
The feature is only activated in apps that use Ruby 3.2+ and Rails 7.1+. By default only queries that take longer than 100ms will have source recorded, which can be adjusted by updating the value of `config.rails.db_query_source_threshold_ms`.
- Log envelope delivery message with debug instead of info ([#2320](https://togithub.com/getsentry/sentry-ruby/pull/2320))
##### Bug Fixes
- Don't throw error on arbitrary arguments being passed to `capture_event` options [#2301](https://togithub.com/getsentry/sentry-ruby/pull/2301)
- Fixes [#2299](https://togithub.com/getsentry/sentry-ruby/issues/2299)
- Decrease the default number of background worker threads by half ([#2305](https://togithub.com/getsentry/sentry-ruby/pull/2305))
- Fixes [#2297](https://togithub.com/getsentry/sentry-ruby/issues/2297)
- Don't mutate `enabled_environments` when using `Sentry::TestHelper` ([#2317](https://togithub.com/getsentry/sentry-ruby/pull/2317))
- Don't use array for transaction names and sources on scope ([#2324](https://togithub.com/getsentry/sentry-ruby/pull/2324))
- Fixes [#2257](https://togithub.com/getsentry/sentry-ruby/issues/2257)
##### Internal
- Add `origin` to spans and transactions to track integration sources for instrumentation ([#2319](https://togithub.com/getsentry/sentry-ruby/pull/2319))
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Enabled.
β» 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 has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
5.17.3
->5.18.0
5.17.3
->5.18.0
Release Notes
getsentry/sentry-ruby (sentry-rails)
### [`v5.18.0`](https://togithub.com/getsentry/sentry-ruby/blob/HEAD/CHANGELOG.md#5180) [Compare Source](https://togithub.com/getsentry/sentry-ruby/compare/5.17.3...5.18.0) ##### Features - Add generator for initializer generation ([#2286](https://togithub.com/getsentry/sentry-ruby/pull/2286)) Rails users will be able to use `bin/rails generate sentry` to generate their `config/initializers/sentry.rb` file. - Notify users when their custom options are discarded ([#2303](https://togithub.com/getsentry/sentry-ruby/pull/2303)) - Add a new `:graphql` patch to automatically enable instrumenting GraphQL spans ([#2308](https://togithub.com/getsentry/sentry-ruby/pull/2308)) Usage: ```rb Sentry.init do |config| ``` ### ... config.enabled_patches += [:graphql] end ``` - Add `Sentry.get_trace_propagation_meta` helper for injecting meta tags into views ([#2314](https://togithub.com/getsentry/sentry-ruby/pull/2314)) - Add query source support to `sentry-rails` ([#2313](https://togithub.com/getsentry/sentry-ruby/pull/2313)) The feature is only activated in apps that use Ruby 3.2+ and Rails 7.1+. By default only queries that take longer than 100ms will have source recorded, which can be adjusted by updating the value of `config.rails.db_query_source_threshold_ms`. - Log envelope delivery message with debug instead of info ([#2320](https://togithub.com/getsentry/sentry-ruby/pull/2320)) ##### Bug Fixes - Don't throw error on arbitrary arguments being passed to `capture_event` options [#2301](https://togithub.com/getsentry/sentry-ruby/pull/2301) - Fixes [#2299](https://togithub.com/getsentry/sentry-ruby/issues/2299) - Decrease the default number of background worker threads by half ([#2305](https://togithub.com/getsentry/sentry-ruby/pull/2305)) - Fixes [#2297](https://togithub.com/getsentry/sentry-ruby/issues/2297) - Don't mutate `enabled_environments` when using `Sentry::TestHelper` ([#2317](https://togithub.com/getsentry/sentry-ruby/pull/2317)) - Don't use array for transaction names and sources on scope ([#2324](https://togithub.com/getsentry/sentry-ruby/pull/2324)) - Fixes [#2257](https://togithub.com/getsentry/sentry-ruby/issues/2257) ##### Internal - Add `origin` to spans and transactions to track integration sources for instrumentation ([#2319](https://togithub.com/getsentry/sentry-ruby/pull/2319))Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Enabled.
β» 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.
This PR has been generated by Mend Renovate. View repository job log here.