-
-
Notifications
You must be signed in to change notification settings - Fork 1
fix(deps): update rust crate sentry to 0.45.0 #263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/sentry-rust-monorepo
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4ec24db to
4e6065b
Compare
4e6065b to
8cc34a0
Compare
8cc34a0 to
591dcf8
Compare
591dcf8 to
1ae5c26
Compare
1ae5c26 to
05966da
Compare
05966da to
47bebd3
Compare
47bebd3 to
e049c04
Compare
e049c04 to
2a17d8d
Compare
2a17d8d to
1e294df
Compare
Contributor
Author
|
1e294df to
b65bba9
Compare
b65bba9 to
67ff8fa
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.34.0->0.45.0Release Notes
getsentry/sentry-rust (sentry)
v0.45.0Compare Source
Breaking changes
AttachmentTypethat holds an arbitrary String. (#916)v0.44.0Compare Source
Breaking changes
sentry::integrations::log::LogFilterhas been changed to abitflagsstruct.logrecord to multiple items in Sentry by combining multiple log filters in the filter, e.g.log::Level::ERROR => LogFilter::Event | LogFilter::Log.mapperinstead, it's possible to return aVec<sentry::integrations::log::RecordMapping>to map alogrecord to multiple items in Sentry.Behavioral changes
logsfeature flag is enabled, the default Sentryloglogger now sends logs for all events at or above INFO.sentry::ClientOptions::enable_logstotrue.logfeature flag to thesentrydependency to opt-in to sending logs.logfeature flag is enabled, thetracingandlogintegrations will send structured logs to Sentry for all logs/events at or above INFO level by default.v0.43.0Compare Source
Breaking changes
tracingintegration now uses the tracing span name as the Sentry span name by default.tracingspan target (<module>::<function>when using thetracing::instrumentmacro).tracingintegration now uses<span target>::<span name>as the default Sentry span op (i.e.<module>::<function>when usingtracing::instrument).tracingspan name.code.module.name,code.file.pathandcode.line.numberstandardized in OTEL to surface the respective information, in contrast with the previously senttracing.module_path,tracing.fileandtracing.line.capture_server_errorsoption (enabled by default), capturing errors returned by middleware only if they are server errors (HTTP status code 5xx).TraceContextnow has an additional fieldorigin, used to report which integration created a transaction.Behavioral changes
logsfeature flag is enabled, andenable_logs: trueis set on your client options, the default Sentrytracinglayer now sends logs for all events at or above INFO.Features
ref(tracing): rework tracing to Sentry span name/op conversion (#887) by @lcian
sentry.op: override the Sentry span op.sentry.name: override the Sentry span name.sentry.trace: given a string matching a validsentry-traceheader (sent automatically by client SDKs), continues the distributed trace instead of starting a new one. If the value is not a validsentry-traceheader or a trace is already started, this value is ignored.sentry.opandsentry.namecan also be applied retroactively by declaring fields with valuetracing::field::Emptyand then recorded usingtracing::Span::record.sentry.tracing.target: corresponds to thetracingspan'smetadata.target()code.module.name,code.file.path,code.line.numberfeat(core): add Response context (#874) by @lcian
Responsecontext can now be attached to events, to include information about HTTP responses such as headers, cookies and status code.Fixes
sentry-paniccrate now builds successfully when used as a standalone dependency.v0.42.0Compare Source
Features
logrecord using thekvfeature are now recorded as attributes on the log sent to Sentry.Behavioral changes
Requestis created manually by the user, then these fields are not filtered out.Fixes
debugoption with behavior since PR #820 (#860) by @AlexTMjugadorv0.41.0Compare Source
Breaking changes
EventFilterhas been changed to abitflagsstruct.tracingevent to multiple items in Sentry by combining multiple event filters in theevent_filter, e.g.tracing::Level::ERROR => EventFilter::Event | EventFilter::Log.EventMapping::Combinedto map atracingevent to multiple items in Sentry.ctxin the signatures ofevent_from_event,breadcrumb_from_eventandlog_from_eventhas been changed to takeimpl Into<Option<&'context Context<'context, S>>>to avoid cloning theContextwhen mapping to multiple items.Features
Fixes
i64::MAX(#846) by @lcianDependencies
anyhowand disable itsbacktracefeature (#632) by @LunaBorowskav0.40.0Compare Source
Breaking changes
send_default_pii(#843) by @lciansend_default_pii. Therefore, that parameter was removed fromsentry_core::Scope::apply_to_log.Features
tracingevents as Sentry structured logs, enable thelogsfeature of thesentrycrate.enable_logs: truein your client options.logrecords as Sentry structured logs, enable thelogsfeature of thesentrycrate.enable_logs: truein your client options.os.nameandos.versionare now being attached to logs as default attributes.Fixes
sentry.environmentdefault attribute (#837) by @lcianBehavioral changes
dataunder their original field name.errors.Dependencies
ureqto 3.x (#835) by @algestenv0.39.0Compare Source
Features
Support for Sentry structured logs has been added to the SDK.
To set up logs, enable the
logsfeature of thesentrycrate and setenable_logstotruein your client options.Then, use the
logger_trace!,logger_debug!,logger_info!,logger_warn!,logger_error!andlogger_fatal!macros to capture logs.To filter or update logs before they are sent, you can use the
before_send_logclient option.Please note that breaking changes could occur until the API is finalized.
feat(logs): add log protocol types (#821) by @lcian
feat(logs): add ability to capture and send logs (#823) by @lcian & @Swatinem
feat(logs): add macro-based API (#827) by @lcian & @szokeasaurusrex
feat(logs): send logs in batches (#831) by @lcian
Behavioral changes
Scopeis associated with an object holding some tracing information.Scope::iter_trace_propagation_headershas been provided that will use the fallback tracing information if there is no currentSpanon theScope.Breaking changes
debug-logsfeature (#820) by @lciandebug-logsfeature of thesentrycrate, used for the SDK's own internal logging, has been removed.v0.38.1Compare Source
Fixes
sentry-actixoptionally whenrelease-healthis enabled (#806) by @lciansentry-actixis now being included as a dependency only when explicitly added, either as a direct dependency or through theactixfeature flag of thesentrycrate.Cargo.toml, it was previously being included as a dependency by default when using just thesentrycrate with default features.v0.38.0Compare Source
OpenTelemetry integration
An OpenTelemetry integration has been released. Please refer to the changelog entry below for the details.
Breaking changes
EventFilter::exceptionand always attach exception (#768) by @lcianEventFilter::Exceptionenum variant has been removed. Please useEventFilter::Eventinstead to achieve the same behavior.EventFilter::Eventwill always attach any error struct used within theerrorfield passed to thetracingmacro, asEventFilter::Exceptiondid previously.errorfield will also be attached to breadcrumbs as anerrorsfield resembling the structure of Sentry events created from error structs.release-healthflag insentry-actixand remove it from subcrates where unneeded (#787) by @lcianClientOptionsfieldsauto_session_trackingandsession_modeare now gated behind therelease-healthfeature flag of thesentrycrate.sentrywithdefault-features = false, you need to include therelease-healthfeature flag to benefit from the Release Health features of Sentry and have access to the aforementioned client options.release-healthfeature flag is used correctly insentry-actixto enable compilation of that subcrate when it's disabled.release-healthhas been removed from thesentry-tracingandsentry-towersubcrates, where it was unnecessary.surfcrate is unmaintained and it was holding back dependency upgrades.TransportFactoryand pass it as thetransportin yourClientOptionsBehavioral changes
send_default_piiinsentry-actixandsentry-tower(#771) by @lciansend_default_pii(disabled by default) is now honored bysentry-actixandsentry-tower.send_default_piitotruein yourClientOptions.DEBUG_METAon integration init (#773) by @lcianDebugImagesintegration has been updated to init theDEBUG_METALazyimmediately.Features
opentelemetrycrate has been released.opentelemetryAPI and send them to Sentry.sentry-actixas a feature ofsentry(#788) by @lciansentry-actixis now exposed by thesentrycrate assentry::integrations::actix, gated behind theactixfeature flag.sentry-actixsubcrate directly.Dependencies
Cargo.lock(#772) by @lcianVarious fixes & improvements
once_cellwithstd::sync::LazyLock(#776) by @FalkWoldmannsentry-opentelemetryto workspace (#789) by @lcianv0.37.0Compare Source
Breaking changes
cargo updateand bump MSRV to 1.81 (#754) by @lcianrelease-healthfeature (#749) by @pepperoni505release-healthfeature flag was introduced that gates the Release Health features of Sentry.sentry,sentry-actix,sentry-towerorsentry-tracingwith the default features.release-healthto get back the previous behavior.Features
actix-webnow supports capturing and attaching the request body to HTTP request transactions.send_default_piiin your client options for this to be enabled, and you can fine-tune the behavior using the new optionmax_request_body_size.transaction.set_datasets data onTraceContext(#739) by @lciantransaction.set_datanow sets data onTraceContext, as the SDK should not use theextrafield.in-appstack frames has been improved. Now the SDK will mark more frames as notin-app.in-appreporting.Fixes
sentry-actix.sentry-tracingwhen not capturing stack traces.anyhowwhen thebacktracefeature is enabled butRUST_BACKTRACEis not set.Various fixes & improvements
Dependencies
v0.36.0Compare Source
Various fixes & improvements
Syncif request isn't (#721) by @sypharaxumdependency to v0.8 (#718) by @Turbo87finish(#712) by @thomaseizingerv0.35.0Compare Source
Fixes:
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 this update again.
This PR was generated by Mend Renovate. View the repository job log.