Skip to content

Releases: getsentry/sentry-rust

0.20.1

15 Sep 08:38
46e04c8
Compare
Choose a tag to compare

Fixes:

  • Fixed a deadlock when nesting configure_scope calls.
  • Improved transport shutdown logic and fixed a potential deadlock on shutdown.

0.20.0

09 Sep 11:37
c1e0824
Compare
Choose a tag to compare

Highlights:

  • The Rust SDK now has experimental support for Release Health Sessions using the start_session and end_session API (global and on the Hub).

Breaking Changes:

  • The Transport was changed to work on Envelopes instead of Events. The send_event trait function was removed in favor of send_envelope.

Features:

  • The Envelope, SessionUpdate, and other related types have been added to the sentry_types::protocol::v7 module.
  • A clear_breadcrumbs method was added to Scope.
  • sentry_contexts::utils is now public.

Fixes:

  • Panic events now have a proper mechanism.

Deprecations:

  • The Future and FutureExt exports have been renamed to SentryFuture and SentryFutureExt respectively.

Thank you:

Features, fixes and improvements in this release have been contributed by:

0.19.1

28 Aug 09:14
b9e0096
Compare
Choose a tag to compare

Fixes:

  • Better deal with concurrent Hub access.

0.19.0

18 Jun 13:55
Compare
Choose a tag to compare

Highlights:

The sentry crate has been split up into a sentry-core, and many smaller per-integration crates. Application users should continue using the sentry crate, but library users and integration/transport authors are encouraged to use the sentry-core crate instead.

Additionally, sentry can now be extended via Integrations.

Breaking Changes:

  • The utils module has been removed, and most utils have been moved into integrations.
  • The integrations module was completely rewritten.
  • When constructing a Client using a ClientOptions struct manually, it does not have any default integrations, and it does not resolve default options from environment variables any more. Please use the explicit apply_defaults function instead. The init function will automatically call apply_defaults.
  • The init function can’t be called with a Client anymore.

Features:

  • Sentry can now capture std::error::Error types, using the capture_error and Hub::capture_error functions, and an additional event_from_error utility function.
  • Sentry now has built-in support to bind a Hub to a Future.
  • Sentry can now be extended with Integrations.
  • The ClientInitGuard, Future and ScopeGuard structs and apply_defaults, capture_error, event_from_error, with_integration and parse_type_from_debug functions have been added to the root exports.
  • The FutureExt, Integration, IntoBreadcrumbs, IntoDsn, Transport and TransportFactory traits are now exported.
  • The types module now re-exports sentry-types.

Deprecations:

  • The internals module is deprecated. Please use items from the crate root or the types module instead.
  • All the feature flags have been renamed, the old names are still available but

0.18.1

14 May 13:52
0.18.1
8a45764
Compare
Choose a tag to compare
  • Fix potential segfault with with_debug_meta (#211).
  • Fix panic when running inside of tokio (#186).

0.18.0

19 Feb 16:27
Compare
Choose a tag to compare
  • Upgrade most dependencies to their current versions (#183):

    • env_logger 0.7
    • reqwest 0.10
    • error-chain 0.12
    • url 2.1
    • sentry-types 0.14
  • Remove the log and env_logger integration from default features (#183).

  • Fix backtraces for newer failure and backtrace versions (#183).

  • Fix compilation of the with_rust_info feature (#183).

  • Add "panics" sections to functions that may panic (#174).

  • Document all feature flags consistently.

0.17.0

27 Aug 13:51
Compare
Choose a tag to compare
  • Upgrade findshlibs (#153)

0.16.0

29 Jul 16:39
Compare
Choose a tag to compare
  • Bump the minimum required Rust version to 1.34.0.
  • Fix potentially broken payloads when using the curl transport (#152).
  • Report the SDK as sentry.rust for analytics (#142).

0.15.5

17 May 07:20
Compare
Choose a tag to compare
  • Fix backtraces with inline frames in newer Rust versions (#141).

0.15.4

28 Apr 09:18
Compare
Choose a tag to compare
  • Added a feature flag to disable the default sentry features in sentry-actix. (#139)