Update sentry-ruby monorepo to v5.28.1 #294
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/sentry-ruby-monorepo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
5.22.1->5.28.15.22.1->5.28.1Release Notes
getsentry/sentry-ruby (sentry-rails)
v5.28.1Compare Source
Bug Fixes
sentry.originlog event attribute is now correctly prefixed withauto.log(#2749)v5.28.0Compare Source
Features
enable_logsis true (#2721)Miscellaneous
Deprecate all Metrics related APIs #2726
Sentry no longer has the Metrics Beta offering so
all the following APIs linked to Metrics have been deprecated and will be removed in the next major.
...
Internal
config.loggercall ingraphqlpatch (#2722Configuration.beforeandConfiguration.afterto run hooks before and after given event (#2724)v5.27.1Compare Source
Features
:originattribute in log events (#2712)Bug Fixes
sentry.message.templatein the log event attributes if there are no interpolation parameters provided (#2700)log_levelwhen logging via:std_lib_loggerpatch (#2709)sentry.originattribute to log events (#2712)v5.27.0Compare Source
Feature
Propagated sampling rates as specified in Traces docs (#2671)
Support for Rails ActiveSupport log subscribers (#2690)
Support for defining custom Rails log subscribers that work with Sentry Structured Logging (#2689)
Rails applications can now define custom log subscribers that integrate with Sentry's structured logging system. The feature includes built-in subscribers for ActionController, ActiveRecord, ActiveJob, and ActionMailer events, with automatic parameter filtering that respects Rails'
config.filter_parametersconfiguration.To enable structured logging with Rails log subscribers:
... your setup ...
Make sure structured logging is enabled
Enable default Rails log subscribers (ActionController and ActiveRecord)
end
You can also define custom log subscribers by extending the base class:
structured_loggingconfig namespace (#2692)Bug Fixes
_performmethod redefinition warning (#2682)attr_reader(#2673)Internal
Sentry::DebugTransportthat captures events and stores them as JSON for debugging purposes (#2664)Sentry::DebugStructuredLoggerthat caputres log events and stores them as JSON to a file for debugging purposes (#2693)v5.26.0Compare Source
Feature
Support for
:loggerpatch which enables sending logs to Sentry whenenabled_logsis set to true (#2657)Here's a sample config:
... your setup ...
end
v5.25.0Compare Source
Features
before_send_log(#2634)Bug Fixes
v5.24.0Compare Source
Features
Add new sidekiq config
report_only_dead_jobs(#2581)Add
max_nestingof 10 to breadcrumbs data serialization (#2583)Add sidekiq config
propagate_tracesto control trace header injection (#2588)If you use schedulers you can get one large trace with all your jobs which is undesirable.
We recommend using the following to propagate traces only from the Rails server and not elsewhere.
Only expose
active_storagekeys on span data ifsend_default_piiis on (#2589)Add new
Sentry.loggerfor Structured Logging feature (#2620).To enable structured logging you need to turn on the
enable_logsconfiguration option:... your setup ...
end
You can also use message templates with positional or hash parameters:
Any other arbitrary attributes will be sent as part of the log event payload:
⚠️ When
enable_logsistrue, previousSentry.loggershould no longer be used for internal SDKlogging - it was replaced by
Sentry.configuration.sdk_loggerand should be used only by the SDKitself and its extensions.
active_job_report_on_retry_errorwhich enables reporting errors on each retry error (#2617)Bug Fixes
Internal
user_segmentfrom DSC (#2586)loggerwithsdk_logger(#2621)Sentry.loggeris now deprecated whenenable_logsis turned off. It's original behavior was ported toSentry.configuration.sdk_logger. Please notice that this logger is internal and should only be used for SDK-specific logging needs. (#2621)v5.23.0Compare Source
Features
Bug Fixes
Internal
File.openinLineCache(#2566)Miscellaneous
enable_tracingin favor oftraces_sample_rate = 1.0#2535v5.22.4Compare Source
Bug Fixes
stackprofwhen Vernier is configured as the profiler (#2537)Internal
Configuration#validateto validate configuration inSentry.initblock (#2538)Sentry.dependency_installed?to check if a 3rd party dependency is available ieSentry.dependency_installed?(:Vernier)(#2542)v5.22.3Compare Source
Bug Fixes
before_send*callbacks again (#2529)v5.22.2Compare Source
Features
code.namespacefor Ruby 3.4+ stacktraces (#2506)Bug fixes
internal_errorerror type for OpenTelemetry spans #2473before_sendandbefore_send_transaction's return value handling (#2504)Sentry.get_main_hubin a trap context (#2510)URI::RFC2396_PARSER.escapeexplicitly to remove warning logs to stderr (#2509)Internal
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 has been generated by Renovate Bot.
15431b8621tobeb678f921Update sentry-ruby monorepo to v5.22.2to Update sentry-ruby monorepo to v5.22.3beb678f921to0f8b27dd26Update sentry-ruby monorepo to v5.22.3to Update sentry-ruby monorepo to v5.22.40f8b27dd26toca9d683485Update sentry-ruby monorepo to v5.22.4to Update sentry-ruby monorepo to v5.23.0ca9d683485e199fa00ecUpdate sentry-ruby monorepo to v5.23.0to Update sentry-ruby monorepo to v5.24.0e199fa00ec2f2a9959e3Update sentry-ruby monorepo to v5.24.0to Update sentry-ruby monorepo to v5.25.02f2a9959e34eab08abc4Update sentry-ruby monorepo to v5.25.0to Update sentry-ruby monorepo to v5.26.04eab08abc40663292a0a0663292a0a5031678772Update sentry-ruby monorepo to v5.26.0to Update sentry-ruby monorepo to v5.27.050316787723f587824fbUpdate sentry-ruby monorepo to v5.27.0to Update sentry-ruby monorepo to v5.27.13f587824fb22d24adfeaUpdate sentry-ruby monorepo to v5.27.1to Update sentry-ruby monorepo to v5.28.022d24adfeaf96ecbd098Update sentry-ruby monorepo to v5.28.0to Update sentry-ruby monorepo to v5.28.1View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.