Skip to content

Releases: getsentry/sentry-rust

0.37.0

01 Apr 11:45
Compare
Choose a tag to compare

Breaking changes

  • chore(msrv): cargo update and bump MSRV to 1.81 (#754) by @lcian
    • The minimum supported Rust version has been raised to 1.81.
  • feat(core): introduce release-health feature (#749) by @pepperoni505
    • A new release-health feature flag was introduced that gates the Release Health features of Sentry.
    • This allows for compilation of the SDK on certain WASM targets.
    • Release Health features were already present and enabled with no feature flag in previous versions.
    • The new feature flag will be enabled by default when using sentry, sentry-actix, sentry-tower or sentry-tracing with the default features.
    • If you're fine-tuning your feature flags, make sure to enable release-health to get back the previous behavior.
  • ref(metrics): remove features and code related to the old metrics beta (#740) by @lcian
    • The metrics feature and the code related to it has been removed from the crate, as the Sentry backend stopped ingesting metrics a while ago.
  • Switch to MIT license (#724) by @cleptric
    • The license for the crates has been changed to MIT.

Features

  • feat(actix): capture HTTP request body (#731) by @pacifistes
    • The middleware for actix-web now supports capturing and attaching the request body to HTTP request transactions.
    • You need to enable send_default_pii in your client options for this to be enabled, and you can fine-tune the behavior using the new option max_request_body_size.
  • feat(core): transaction.set_data sets data on TraceContext (#739) by @lcian
    • transaction.set_data now sets data on TraceContext, as the SDK should not use the extra field.
  • ref(backtrace): add entries and extra logic for in-app detection (#756) by @lcian
  • feat(core): add more frames to be considered not in_app (#760) by @lcian
    • The logic used by the SDK to detect in-app stack frames has been improved. Now the SDK will mark more frames as not in-app.
    • A similar improvement has been added to the Sentry backend so that old versions of the SDK can benefit from improved in-app reporting.

Fixes

  • fix(http): Finish transaction on drop (#727) by @Dav1dde
    • Fixed a bug where the current transaction was not finished (hence not sent to Sentry) when its corresponding future was dropped, e.g. due to a panic.
  • follow #439 for actix-web. fix #680 (#737) by @pavel-rosputko
    • The HTTP request metadata is now being correctly attached to transactions when using sentry-actix.
  • fix(tracing): wrap error with synthetic mechanism only if attaching stacktrace (#755) by @lcian
    • Fixed a bug that should result in improved grouping and issue titles for events reported by sentry-tracing when not capturing stack traces.
  • fix(actix): process request in other middleware using correct Hub (#758) by @lcian
    • The subsequent middleware in the chain when processing a request now execute within the correct Hub.
  • fix(anyhow): attach stacktrace only if error provides backtrace (#759) by @lcian
    • Fixed a bug where the SDK was providing incorrect stack traces when capturing an anyhow when the backtrace feature is enabled but RUST_BACKTRACE is not set.
    • This should result in correct grouping of the affected issues.

Various fixes & improvements

Dependencies

0.36.0

07 Jan 15:46
Compare
Choose a tag to compare

Various fixes & improvements

0.35.0

29 Nov 09:30
Compare
Choose a tag to compare

Fixes:

  • Envelopes will be discarded rather than blocking if the transport channel fills up (previously fixed in async-capable transports, now applied to the curl/ureq transports). (#701)

0.34.0

05 Jun 14:11
Compare
Choose a tag to compare

Features:

  • Renamed the UNSTABLE_metrics and UNSTABLE_cadence feature flags to metrics and metrics-cadence1 respectively.

0.33.0

27 May 15:25
Compare
Choose a tag to compare

Various fixes & improvements

  • ref(metrics): Add normalization and update set metrics hashing (#658) by @elramen
  • feat: add embedded-svc based http transport (#654) by @madmo

0.32.3

16 Apr 11:38
Compare
Choose a tag to compare

Compatiblity:

  • Raised the MSRV to 1.73.

Improvements:

  • Slightly improved overhead of the tracing layer. (#642)

Updates:

  • Updated reqwest to version 0.12.
  • Updated tonic to version 0.11.

0.32.2

30 Jan 10:50
Compare
Choose a tag to compare

Various fixes & improvements

0.32.1

18 Dec 14:03
Compare
Choose a tag to compare

Features:

  • Add experimental implementations for Sentry metrics and a cadence sink. These
    require to use the UNSTABLE_metrics and UNSTABLE_cadence feature flags.
    Note that these APIs are still under development and subject to change.

0.32.0

28 Nov 12:42
Compare
Choose a tag to compare

Features:

  • Updated sentry-tower dependencies, including axum and http.

0.31.8

10 Nov 15:42
Compare
Choose a tag to compare

Various fixes & improvements

  • MonitorSchedule constructor that validates crontab syntax (#625) by @szokeasaurusrex
  • fix(docs): Fix some doc errors that slipped in (#623) by @flub
  • docs(tower): Mention how to enable http feature from sentry crate (#622) by @flub
  • build(deps): bump rustix from 0.37.23 to 0.37.25 (#619) by @dependabot