From b5c7d2e6aa6ba60afd5c029f07fffd0586764359 Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Fri, 11 Jun 2021 10:50:16 +0200 Subject: [PATCH 1/2] meta: Add Changelog for upcoming Release --- CHANGELOG.md | 15 +++++++++++++++ sentry-contexts/Cargo.toml | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41f659f7c..4e3ba8cd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,11 +8,26 @@ **Features**: +- Added support for pre-aggregated Sessions using the new `SessionMode::Request` option. This requires **Sentry 21.2**. +- Added a new `Client::flush` method to explicitly flush the transport and use that to make sure events are flushed out when using `panic=abort`. +- Added a new `flush` hook to the `Transport` trait. +- Exposed a new `RateLimiter` utility that transport implementations can use to drop envelopes early when the DSN is being rate limited. - Allow capturing backtraces from anyhow errors. +- Added new crate `sentry-tracing` and feature `tracing` that enables support to capture Events and Breadcrumbs from tracing logs. **Fixes**: - Honor the `attach_stacktrace` option correctly when capturing errors. +- Added the missing `addr_mode` property to `Frame`. + +**Thank you**: + +Features, fixes and improvements in this release have been contributed by: + +- [@XX](https://github.com/XX) +- [@Jake-Shadle](https://github.com/Jake-Shadle) +- [@Tuetuopay](https://github.com/Tuetuopay) +- [@irevoire](https://github.com/irevoire) ## 0.22.0 diff --git a/sentry-contexts/Cargo.toml b/sentry-contexts/Cargo.toml index 8e40ea041..6c0533129 100644 --- a/sentry-contexts/Cargo.toml +++ b/sentry-contexts/Cargo.toml @@ -23,7 +23,7 @@ lazy_static = "1.4.0" uname = "0.1.1" [build-dependencies] -rustc_version = "0.3.0" +rustc_version = "0.4.0" [dev-dependencies] sentry = { version = "0.22.0", path = "../sentry", default-features = false, features = ["test"] } From 637702ac47bdac82984b36b6694b0eefb198f258 Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Thu, 17 Jun 2021 11:05:02 +0200 Subject: [PATCH 2/2] update --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e3ba8cd4..38051e49a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ - Honor the `attach_stacktrace` option correctly when capturing errors. - Added the missing `addr_mode` property to `Frame`. +- Fixed extracting the error type from a `anyhow::msg`. **Thank you**: