Open
Conversation
Contributor
Author
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: Cargo.lock |
622271e to
bb5274e
Compare
5e9e75e to
96c5a59
Compare
96c5a59 to
256c6f2
Compare
Contributor
Author
|
256c6f2 to
ecc880f
Compare
ecc880f to
0c91a82
Compare
0c91a82 to
506feab
Compare
506feab to
457e02e
Compare
457e02e to
3a959b8
Compare
3a959b8 to
d99ef19
Compare
d99ef19 to
d046677
Compare
d046677 to
c6aee6f
Compare
c6aee6f to
0f877b0
Compare
0f877b0 to
44488c7
Compare
44488c7 to
618db41
Compare
618db41 to
c2ac017
Compare
c2ac017 to
a786e3b
Compare
a786e3b to
3d68d50
Compare
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
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.20.1→0.47.0Release Notes
getsentry/sentry-rust (sentry)
v0.47.0Compare Source
Breaking Changes
RequestHttpTransport::with_clientmethod.sentry_core::HubSwitchGuardis now!Send, preventing it from being moved across threads (#957).New Features
Envelope::into_itemsmethod, which returns an iterator over ownedEnvelopeItems in theEnvelope(#983).Fixes
HubSwitchGuardcould be dropped on wrong thread (#957).Hubevery time a span is entered. This prevents data from leaking across spans (#957).v0.46.2Compare Source
New Features
Minimum Supported Rust Version
v0.46.1Compare Source
Improvements
Dependencies
v0.46.0Compare Source
Breaking changes
ClientOptionsstruct'strim_backtracesandextra_border_framesfields (#925).Improvements
Fixes
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:
v0.34.0Compare Source
Features:
UNSTABLE_metricsandUNSTABLE_cadencefeature flags tometricsandmetrics-cadence1respectively.v0.33.0Compare Source
Various fixes & improvements
v0.32.3Compare Source
Compatiblity:
Improvements:
tracinglayer. (#642)Updates:
reqwestto version0.12.tonicto version0.11.v0.32.2Compare Source
Various fixes & improvements
MonitorConfigtype (#638) by @szokeasaurusrexv0.32.1Compare Source
Features:
require to use the
UNSTABLE_metricsandUNSTABLE_cadencefeature flags.Note that these APIs are still under development and subject to change.
v0.32.0Compare Source
Features:
sentry-towerdependencies, includingaxumandhttp.v0.31.8Compare Source
Various fixes & improvements
v0.31.7Compare Source
Various fixes & improvements
v0.31.6Compare Source
Various fixes & improvements
v0.31.5Compare Source
Various fixes & improvements
v0.31.4Compare Source
Various fixes & improvements
v0.31.3Compare Source
Various fixes & improvements
v0.31.2Compare Source
Various fixes & improvements
v0.31.1Compare Source
Features:
(tower-)axum-matched-pathfeature to use theMatchedPathas transaction name, along with attaching the request metadata to the transaction.Fixes:
Thank you:
Features, fixes and improvements in this release have been contributed by:
v0.31.0Compare Source
Breaking Changes:
Features:
ProfilesSamplerto theClientOptions.Fixes:
ureqtransport without thenative-tlsfeature.Envelopes, and added a newfrom_bytes_rawconstructor.Thank you:
Features, fixes and improvements in this release have been contributed by:
v0.30.0Compare Source
Breaking Changes:
Fixes:
from_secs_f64intimestamp_to_datetimefunction to prevent panics (#554) by @olksdrInternal:
sentry-backtrace(#552) by @xfixv0.29.3Compare Source
Features:
debug_imagesis now a default feature. (#545from_path_rawfunction toEnvelopethat reads an envelope from a file without parsing anything. (#549)datamethod toperformance::Spanthat gives access to the span's attached data. (#548)Fixes:
v0.29.2Compare Source
Various fixes & improvements
match_patternovermatch_namein actix (#539) by @wuergesnative-tls/rustlsinfo in README (#535) by @seritoolstower-httpenable thetowerfeature (#532) by @Turbo87v0.29.1Compare Source
Features:
TransactionContextmay now addcustomcontext to it. This may be used bytraces_samplerto decide sampling rates on a per-transaction basis. (#512)Fixes:
Internal:
Hub::runandSentryFutureby using a scope-guard forHubswitching. (#524, #529)Thank you:
Features, fixes and improvements in this release have been contributed by:
v0.29.0Compare Source
Features:
traces_samplerto inspect well known properties ofTransactionContext(#514)v0.28.0Compare Source
Breaking Changes:
traces_sampleroption toClientOptions. This allows the user to customise sampling rates on a per-transaction basis. (#510)Features:
SSL_VERIFYoption to control certificate verification. (#508)tower-httpfeature as a shortcut (#493)Internal:
pprofdefault features (#491)event_from_errorfn insentry-anyhow(#476)Thank you:
Features, fixes and improvements in this release have been contributed by:
v0.27.0Compare Source
Breaking Changes:
rust-versionfield to the manifest. (#473)Features:
Envelope::from_pathandEnvelope::from_slice. (#456)attachmentsupport. (#466)Internal:
lazy_staticcrate withonce_cellorconstslices. (#471)Thank you:
Features, fixes and improvements in this release have been contributed by:
v0.26.0Compare Source
Breaking Changes:
debugidanduuiddependencies to versions0.8.0and1.0.0respectively.Features:
set_transaction. (#439)#[instrument(err)]. (#453)debug_imagesfunction fromsentry-debug-images.Fixes:
sentry-towerintegration. (#460)panicon invalidHTTP(S)_PROXYenv. (#450)Internal:
Thank you:
Features, fixes and improvements in this release have been contributed by:
v0.25.0Compare Source
Breaking Changes:
sentry-actixintegration toactix-web@4. (#437)Features:
Scope::set_transactionwill override the Transaction name of any currently running performance monitoring transaction. (#433)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.