hmcts / et-pet-et1

Application for Applying To (an) Employment Tribunal
MIT License
9 stars 3 forks source link

Update sentry-ruby monorepo to v5.21.0 #1624

Open renovate[bot] opened 7 months ago

renovate[bot] commented 7 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sentry-rails (source, changelog) 5.17.2 -> 5.21.0 age adoption passing confidence
sentry-ruby (source, changelog) 5.17.2 -> 5.21.0 age adoption passing confidence
sentry-sidekiq (source, changelog) 5.17.2 -> 5.21.0 age adoption passing confidence

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

getsentry/sentry-ruby (sentry-rails) ### [`v5.21.0`](https://redirect.github.com/getsentry/sentry-ruby/releases/tag/5.21.0) [Compare Source](https://redirect.github.com/getsentry/sentry-ruby/compare/5.20.1...5.21.0) ##### Features - Experimental support for multi-threaded profiling using [Vernier](https://redirect.github.com/jhawthorn/vernier) ([#​2372](https://redirect.github.com/getsentry/sentry-ruby/pull/2372)) You can have much better profiles if you're using multi-threaded servers like Puma now by leveraging Vernier. To use it, first add `vernier` to your `Gemfile` and make sure it is loaded before `sentry-ruby`. ```ruby ``` ### Gemfile gem 'vernier' gem 'sentry-ruby' ```` Then, set a `profiles_sample_rate` and the new `profiler_class` configuration in your sentry initializer to use the new profiler. ```ruby ### config/initializers/sentry.rb Sentry.init do |config| ### ... config.profiles_sample_rate = 1.0 config.profiler_class = Sentry::Vernier::Profiler end ```` ##### Internal - Profile items have bigger size limit now ([#​2421](https://redirect.github.com/getsentry/sentry-ruby/pull/2421)) - Consistent string freezing ([#​2422](https://redirect.github.com/getsentry/sentry-ruby/pull/2422)) ### [`v5.20.1`](https://redirect.github.com/getsentry/sentry-ruby/releases/tag/5.20.1) [Compare Source](https://redirect.github.com/getsentry/sentry-ruby/compare/5.20.0...5.20.1) ##### Bug Fixes - Skip `rubocop.yml` in `spec.files` ([#​2420](https://redirect.github.com/getsentry/sentry-ruby/pull/2420)) ### [`v5.20.0`](https://redirect.github.com/getsentry/sentry-ruby/releases/tag/5.20.0) [Compare Source](https://redirect.github.com/getsentry/sentry-ruby/compare/5.19.0...5.20.0) - Add support for `$SENTRY_DEBUG` and `$SENTRY_SPOTLIGHT` ([#​2374](https://redirect.github.com/getsentry/sentry-ruby/pull/2374)) - Support human readable intervals in `sidekiq-cron` ([#​2387](https://redirect.github.com/getsentry/sentry-ruby/pull/2387)) - Set default app dirs pattern ([#​2390](https://redirect.github.com/getsentry/sentry-ruby/pull/2390)) - Add new `strip_backtrace_load_path` boolean config (default true) to enable disabling load path stripping ([#​2409](https://redirect.github.com/getsentry/sentry-ruby/pull/2409)) ##### Bug Fixes - Fix error events missing a DSC when there's an active span ([#​2408](https://redirect.github.com/getsentry/sentry-ruby/pull/2408)) - Verifies presence of client before adding a breadcrumb ([#​2394](https://redirect.github.com/getsentry/sentry-ruby/pull/2394)) - Fix `Net:HTTP` integration for non-ASCII URI's ([#​2417](https://redirect.github.com/getsentry/sentry-ruby/pull/2417)) - Prevent Hub from having nil scope and client ([#​2402](https://redirect.github.com/getsentry/sentry-ruby/pull/2402)) ### [`v5.19.0`](https://redirect.github.com/getsentry/sentry-ruby/releases/tag/5.19.0) [Compare Source](https://redirect.github.com/getsentry/sentry-ruby/compare/5.18.2...5.19.0) ##### Features - Use `Concurrent.available_processor_count` instead of `Concurrent.usable_processor_count` ([#​2358](https://redirect.github.com/getsentry/sentry-ruby/pull/2358)) - Support for tracing Faraday requests ([#​2345](https://redirect.github.com/getsentry/sentry-ruby/pull/2345)) - Closes [#​1795](https://redirect.github.com/getsentry/sentry-ruby/issues/1795) - Please note that the Faraday instrumentation has some limitations in case of async requests: [https://github.com/lostisland/faraday/issues/1381](https://redirect.github.com/lostisland/faraday/issues/1381) - [https://github.com/lostisland/faraday/issues/1381](https://redirect.github.com/lostisland/faraday/issues/1381) Usage: ```rb Sentry.init do |config| ``` ### ... config.enabled_patches << :faraday end ```` - Support for attachments ([#​2357](https://redirect.github.com/getsentry/sentry-ruby/pull/2357)) Usage: ```ruby Sentry.add_attachment(path: '/foo/bar.txt') Sentry.add_attachment(filename: 'payload.json', bytes: '{"value": 42}')) ```` - Transaction data are now included in the context ([#​2365](https://redirect.github.com/getsentry/sentry-ruby/pull/2365)) - Closes [#​2364](https://redirect.github.com/getsentry/sentry-ruby/issues/2363) - Inject Sentry meta tags in the Rails application layout automatically in the generator ([#​2369](https://redirect.github.com/getsentry/sentry-ruby/pull/2369)) To turn this behavior off, use ```bash bin/rails generate sentry --inject-meta false ``` ##### Bug Fixes - Fix skipping `connect` spans in open-telemetry [#​2364](https://redirect.github.com/getsentry/sentry-ruby/pull/2364) ### [`v5.18.2`](https://redirect.github.com/getsentry/sentry-ruby/releases/tag/5.18.2) [Compare Source](https://redirect.github.com/getsentry/sentry-ruby/compare/5.18.1...5.18.2) ##### Bug Fixes - Don't overwrite `ip_address` if already set on `user` [#​2350](https://redirect.github.com/getsentry/sentry-ruby/pull/2350) - Fixes [#​2347](https://redirect.github.com/getsentry/sentry-ruby/issues/2347) - `teardown_sentry_test` helper should clear global even processors too ([#​2342](https://redirect.github.com/getsentry/sentry-ruby/pull/2342)) - Suppress the unnecessary “unsupported options notice” ([#​2349](https://redirect.github.com/getsentry/sentry-ruby/pull/2349)) ##### Internal - Use `Concurrent.usable_processor_count` when it is available ([#​2339](https://redirect.github.com/getsentry/sentry-ruby/pull/2339)) - Report dropped spans in Client Reports ([#​2346](https://redirect.github.com/getsentry/sentry-ruby/pull/2346)) ### [`v5.18.1`](https://redirect.github.com/getsentry/sentry-ruby/releases/tag/5.18.1) [Compare Source](https://redirect.github.com/getsentry/sentry-ruby/compare/5.18.0...5.18.1) ##### Bug Fixes - Drop `Gem::Specification`'s usage so it doesn't break bundler standalone ([#​2335](https://redirect.github.com/getsentry/sentry-ruby/pull/2335)) ### [`v5.18.0`](https://redirect.github.com/getsentry/sentry-ruby/releases/tag/5.18.0) [Compare Source](https://redirect.github.com/getsentry/sentry-ruby/compare/5.17.3...5.18.0) ##### Features - Add generator for initializer generation ([#​2286](https://redirect.github.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://redirect.github.com/getsentry/sentry-ruby/pull/2303)) - Add a new `:graphql` patch to automatically enable instrumenting GraphQL spans ([#​2308](https://redirect.github.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://redirect.github.com/getsentry/sentry-ruby/pull/2314)) - Add query source support to `sentry-rails` ([#​2313](https://redirect.github.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://redirect.github.com/getsentry/sentry-ruby/pull/2320)) ##### Bug Fixes - Don't throw error on arbitrary arguments being passed to `capture_event` options [#​2301](https://redirect.github.com/getsentry/sentry-ruby/pull/2301) - Fixes [#​2299](https://redirect.github.com/getsentry/sentry-ruby/issues/2299) - Decrease the default number of background worker threads by half ([#​2305](https://redirect.github.com/getsentry/sentry-ruby/pull/2305)) - Fixes [#​2297](https://redirect.github.com/getsentry/sentry-ruby/issues/2297) - Don't mutate `enabled_environments` when using `Sentry::TestHelper` ([#​2317](https://redirect.github.com/getsentry/sentry-ruby/pull/2317)) - Don't use array for transaction names and sources on scope ([#​2324](https://redirect.github.com/getsentry/sentry-ruby/pull/2324)) - Fixes [#​2257](https://redirect.github.com/getsentry/sentry-ruby/issues/2257) - **BREAKING** This removes the internal `scope.transaction_names` method, please use `scope.transaction_name` instead ##### Internal - Add `origin` to spans and transactions to track integration sources for instrumentation ([#​2319](https://redirect.github.com/getsentry/sentry-ruby/pull/2319)) ### [`v5.17.3`](https://redirect.github.com/getsentry/sentry-ruby/releases/tag/5.17.3) [Compare Source](https://redirect.github.com/getsentry/sentry-ruby/compare/5.17.2...5.17.3) ##### Internal - Update key, unit and tags sanitization logic for metrics [#​2292](https://redirect.github.com/getsentry/sentry-ruby/pull/2292) - Consolidate client report and rate limit handling with data categories [#​2294](https://redirect.github.com/getsentry/sentry-ruby/pull/2294) - Record `:network_error` client reports for `send_envelope` [#​2295](https://redirect.github.com/getsentry/sentry-ruby/pull/2295) ##### Bug Fixes - Make sure isolated envelopes respect `config.enabled_environments` [#​2291](https://redirect.github.com/getsentry/sentry-ruby/pull/2291) - Fixes [#​2287](https://redirect.github.com/getsentry/sentry-ruby/issues/2287)

Configuration

📅 Schedule: Branch creation - "after 7am and before 11am every weekday" in timezone Europe/London, 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.



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