Skip to content

Commit 7e6d8cb

Browse files
committed
release: 0.37.0
1 parent 6a8b96d commit 7e6d8cb

File tree

20 files changed

+54
-52
lines changed

20 files changed

+54
-52
lines changed

CHANGELOG.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## Unreleased
3+
## 0.37.0
44

55
### Breaking changes
66

@@ -56,7 +56,6 @@
5656
- build(deps): bump openssl from 0.10.66 to 0.10.70 (#732) by @dependabot
5757
- build(deps): bump ring from 0.17.8 to 0.17.13 (#747) by @dependabot
5858

59-
6059
## 0.36.0
6160

6261
### Various fixes & improvements

sentry-actix/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sentry-actix"
3-
version = "0.36.0"
3+
version = "0.37.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "MIT"
66
readme = "README.md"
@@ -20,7 +20,7 @@ release-health = ["sentry-core/release-health"]
2020
actix-web = { version = "4", default-features = false }
2121
bytes = "1.2"
2222
futures-util = { version = "0.3.5", default-features = false }
23-
sentry-core = { version = "0.36.0", path = "../sentry-core", default-features = false, features = [
23+
sentry-core = { version = "0.37.0", path = "../sentry-core", default-features = false, features = [
2424
"client",
2525
] }
2626
actix-http = "3.10"

sentry-actix/README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ report them to `Sentry`.
1111

1212
To use this middleware just configure Sentry and then add it to your actix web app as a
1313
middleware. Because actix is generally working with non sendable objects and highly concurrent
14-
this middleware creates a new hub per request. As a result many of the sentry integrations
15-
such as breadcrumbs do not work unless you bind the actix hub.
14+
this middleware creates a new Hub per request.
1615

1716
## Example
1817

@@ -67,12 +66,16 @@ let _sentry = sentry::init(sentry::ClientOptions {
6766
## Reusing the Hub
6867

6968
This integration will automatically create a new per-request Hub from the main Hub, and update the
70-
current Hub instance. For example, the following will capture a message in the current request's Hub:
69+
current Hub instance. For example, the following in the handler or in any of the subsequent
70+
middleware will capture a message in the current request's Hub:
7171

7272
```rust
7373
sentry::capture_message("Something is not well", sentry::Level::Warning);
7474
```
7575

76+
It is recommended to register the Sentry middleware as the last, i.e. the first to be executed
77+
when processing a request, so that the rest of the processing will run with the correct Hub.
78+
7679
## Resources
7780

7881
License: MIT

sentry-anyhow/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sentry-anyhow"
3-
version = "0.36.0"
3+
version = "0.37.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "MIT"
66
readme = "README.md"
@@ -17,8 +17,8 @@ default = ["backtrace"]
1717
backtrace = ["anyhow/backtrace"]
1818

1919
[dependencies]
20-
sentry-backtrace = { version = "0.36.0", path = "../sentry-backtrace" }
21-
sentry-core = { version = "0.36.0", path = "../sentry-core" }
20+
sentry-backtrace = { version = "0.37.0", path = "../sentry-backtrace" }
21+
sentry-core = { version = "0.37.0", path = "../sentry-core" }
2222
anyhow = "1.0.39"
2323

2424
[dev-dependencies]

sentry-backtrace/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sentry-backtrace"
3-
version = "0.36.0"
3+
version = "0.37.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "MIT"
66
readme = "README.md"
@@ -19,4 +19,4 @@ regex = { version = "1.5.5", default-features = false, features = [
1919
"std",
2020
"unicode-perl",
2121
] }
22-
sentry-core = { version = "0.36.0", path = "../sentry-core" }
22+
sentry-core = { version = "0.37.0", path = "../sentry-core" }

sentry-contexts/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sentry-contexts"
3-
version = "0.36.0"
3+
version = "0.37.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "MIT"
66
readme = "README.md"
@@ -14,7 +14,7 @@ edition = "2021"
1414
rust-version = "1.81"
1515

1616
[dependencies]
17-
sentry-core = { version = "0.36.0", path = "../sentry-core" }
17+
sentry-core = { version = "0.37.0", path = "../sentry-core" }
1818
libc = "0.2.66"
1919
hostname = "0.4"
2020

sentry-core/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sentry-core"
3-
version = "0.36.0"
3+
version = "0.37.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "MIT"
66
readme = "README.md"
@@ -35,7 +35,7 @@ log = { version = "0.4.8", optional = true, features = ["std"] }
3535
once_cell = "1"
3636
rand = { version = "0.8.1", optional = true }
3737
regex = { version = "1.7.3", optional = true }
38-
sentry-types = { version = "0.36.0", path = "../sentry-types" }
38+
sentry-types = { version = "0.37.0", path = "../sentry-types" }
3939
serde = { version = "1.0.104", features = ["derive"] }
4040
serde_json = { version = "1.0.46" }
4141
uuid = { version = "1.0.0", features = ["v4", "serde"], optional = true }

sentry-core/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ functionality.
102102
[Sentry]: https://sentry.io/
103103
[`sentry`]: https://crates.io/crates/sentry
104104
[Unified API]: https://develop.sentry.dev/sdk/unified-api/
105-
[`test`]: https://docs.rs/sentry-core/0.36.0/sentry_core/test/index.html
105+
[`test`]: https://docs.rs/sentry-core/0.37.0/sentry_core/test/index.html
106106

107107
## Resources
108108

sentry-debug-images/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sentry-debug-images"
3-
version = "0.36.0"
3+
version = "0.37.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "MIT"
66
readme = "README.md"
@@ -15,4 +15,4 @@ rust-version = "1.81"
1515
[dependencies]
1616
findshlibs = "=0.10.2"
1717
once_cell = "1"
18-
sentry-core = { version = "0.36.0", path = "../sentry-core" }
18+
sentry-core = { version = "0.37.0", path = "../sentry-core" }

sentry-debug-images/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ let integration = sentry_debug_images::DebugImagesIntegration::new()
2222
.filter(|event| event.level >= Level::Warning);
2323
```
2424

25-
[`Event`]: https://docs.rs/sentry-debug-images/0.36.0/sentry_debug_images/sentry_core::protocol::Event
25+
[`Event`]: https://docs.rs/sentry-debug-images/0.37.0/sentry_debug_images/sentry_core::protocol::Event
2626

2727
## Resources
2828

sentry-log/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sentry-log"
3-
version = "0.36.0"
3+
version = "0.37.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "MIT"
66
readme = "README.md"
@@ -13,7 +13,7 @@ edition = "2021"
1313
rust-version = "1.81"
1414

1515
[dependencies]
16-
sentry-core = { version = "0.36.0", path = "../sentry-core" }
16+
sentry-core = { version = "0.37.0", path = "../sentry-core" }
1717
log = { version = "0.4.8", features = ["std"] }
1818

1919
[dev-dependencies]

sentry-panic/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sentry-panic"
3-
version = "0.36.0"
3+
version = "0.37.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "MIT"
66
readme = "README.md"
@@ -13,8 +13,8 @@ edition = "2021"
1313
rust-version = "1.81"
1414

1515
[dependencies]
16-
sentry-core = { version = "0.36.0", path = "../sentry-core" }
17-
sentry-backtrace = { version = "0.36.0", path = "../sentry-backtrace" }
16+
sentry-core = { version = "0.37.0", path = "../sentry-core" }
17+
sentry-backtrace = { version = "0.37.0", path = "../sentry-backtrace" }
1818

1919
[dev-dependencies]
2020
sentry = { path = "../sentry", default-features = false, features = ["test"] }

sentry-slog/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sentry-slog"
3-
version = "0.36.0"
3+
version = "0.37.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "MIT"
66
readme = "README.md"
@@ -13,7 +13,7 @@ edition = "2021"
1313
rust-version = "1.81"
1414

1515
[dependencies]
16-
sentry-core = { version = "0.36.0", path = "../sentry-core" }
16+
sentry-core = { version = "0.37.0", path = "../sentry-core" }
1717
slog = { version = "2.5.2", features = ["nested-values"] }
1818
serde_json = "1.0.46"
1919

sentry-tower/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sentry-tower"
3-
version = "0.36.0"
3+
version = "0.37.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "MIT"
66
readme = "README.md"
@@ -27,7 +27,7 @@ tower-layer = "0.3"
2727
tower-service = "0.3"
2828
http = { version = "1.0.0", optional = true }
2929
pin-project = { version = "1.0.10", optional = true }
30-
sentry-core = { version = "0.36.0", path = "../sentry-core", default-features = false, features = [
30+
sentry-core = { version = "0.37.0", path = "../sentry-core", default-features = false, features = [
3131
"client",
3232
] }
3333
url = { version = "2.2.2", optional = true }

sentry-tower/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ feature of the `sentry` crate instead of the `tower` feature.
103103
The created transaction will automatically use the request URI as its name.
104104
This is sometimes not desirable in case the request URI contains unique IDs
105105
or similar. In this case, users should manually override the transaction name
106-
in the request handler using the [`Scope::set_transaction`](https://docs.rs/sentry-tower/0.36.0/sentry_tower/sentry_core::Scope::set_transaction)
106+
in the request handler using the [`Scope::set_transaction`](https://docs.rs/sentry-tower/0.37.0/sentry_tower/sentry_core::Scope::set_transaction)
107107
method.
108108

109109
When combining both layers, take care of the ordering of both. For example

sentry-tracing/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sentry-tracing"
3-
version = "0.36.0"
3+
version = "0.37.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "MIT"
66
readme = "README.md"
@@ -21,14 +21,14 @@ backtrace = ["dep:sentry-backtrace"]
2121
release-health = ["sentry-core/release-health"]
2222

2323
[dependencies]
24-
sentry-core = { version = "0.36.0", path = "../sentry-core", features = [
24+
sentry-core = { version = "0.37.0", path = "../sentry-core", features = [
2525
"client",
2626
] }
2727
tracing-core = "0.1"
2828
tracing-subscriber = { version = "0.3.1", default-features = false, features = [
2929
"std",
3030
] }
31-
sentry-backtrace = { version = "0.36.0", path = "../sentry-backtrace", optional = true }
31+
sentry-backtrace = { version = "0.37.0", path = "../sentry-backtrace", optional = true }
3232

3333
[dev-dependencies]
3434
log = "0.4"

sentry-tracing/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ tracing::error!(
8383
);
8484
```
8585

86-
To track [error structs](https://docs.rs/sentry-tracing/0.36.0/sentry_tracing/std::error::Error), assign a reference to error trait object as field
86+
To track [error structs](https://docs.rs/sentry-tracing/0.37.0/sentry_tracing/std::error::Error), assign a reference to error trait object as field
8787
in one of the logging macros. By convention, it is recommended to use the `ERROR` level and
8888
assign it to a field called `error`, although the integration will also work with all other
8989
levels and field names.

sentry-types/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sentry-types"
3-
version = "0.36.0"
3+
version = "0.37.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "MIT"
66
readme = "README.md"

sentry/Cargo.toml

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sentry"
3-
version = "0.36.0"
3+
version = "0.37.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "MIT"
66
readme = "README.md"
@@ -60,18 +60,18 @@ rustls = ["dep:rustls", "reqwest?/rustls-tls", "ureq?/tls", "webpki-roots"]
6060
embedded-svc-http = ["dep:embedded-svc", "dep:esp-idf-svc"]
6161

6262
[dependencies]
63-
sentry-core = { version = "0.36.0", path = "../sentry-core", features = [
63+
sentry-core = { version = "0.37.0", path = "../sentry-core", features = [
6464
"client",
6565
] }
66-
sentry-anyhow = { version = "0.36.0", path = "../sentry-anyhow", optional = true }
67-
sentry-backtrace = { version = "0.36.0", path = "../sentry-backtrace", optional = true }
68-
sentry-contexts = { version = "0.36.0", path = "../sentry-contexts", optional = true }
69-
sentry-debug-images = { version = "0.36.0", path = "../sentry-debug-images", optional = true }
70-
sentry-log = { version = "0.36.0", path = "../sentry-log", optional = true }
71-
sentry-panic = { version = "0.36.0", path = "../sentry-panic", optional = true }
72-
sentry-slog = { version = "0.36.0", path = "../sentry-slog", optional = true }
73-
sentry-tower = { version = "0.36.0", path = "../sentry-tower", optional = true }
74-
sentry-tracing = { version = "0.36.0", path = "../sentry-tracing", optional = true }
66+
sentry-anyhow = { version = "0.37.0", path = "../sentry-anyhow", optional = true }
67+
sentry-backtrace = { version = "0.37.0", path = "../sentry-backtrace", optional = true }
68+
sentry-contexts = { version = "0.37.0", path = "../sentry-contexts", optional = true }
69+
sentry-debug-images = { version = "0.37.0", path = "../sentry-debug-images", optional = true }
70+
sentry-log = { version = "0.37.0", path = "../sentry-log", optional = true }
71+
sentry-panic = { version = "0.37.0", path = "../sentry-panic", optional = true }
72+
sentry-slog = { version = "0.37.0", path = "../sentry-slog", optional = true }
73+
sentry-tower = { version = "0.37.0", path = "../sentry-tower", optional = true }
74+
sentry-tracing = { version = "0.37.0", path = "../sentry-tracing", optional = true }
7575
log = { version = "0.4.8", optional = true, features = ["std"] }
7676
reqwest = { version = "0.12", optional = true, features = [
7777
"blocking",

sentry/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ sentry::capture_message("Hello World!", sentry::Level::Info);
3434
More complex examples on how to use sentry can also be found in [examples]. Extended instructions
3535
may also be found on [Sentry itself].
3636

37-
[`sentry::init`]: https://docs.rs/sentry/0.36.0/sentry/fn.init.html
38-
[`Hub`]: https://docs.rs/sentry/0.36.0/sentry/struct.Hub.html
37+
[`sentry::init`]: https://docs.rs/sentry/0.37.0/sentry/fn.init.html
38+
[`Hub`]: https://docs.rs/sentry/0.37.0/sentry/struct.Hub.html
3939
[examples]: https://github.com/getsentry/sentry-rust/tree/master/sentry/examples
4040
[Sentry itself]: https://docs.sentry.io/platforms/rust
4141

@@ -47,17 +47,17 @@ the ecosystem require a feature flag. For available integrations and how to use
4747
[integrations] and [apply_defaults].
4848

4949
[Features]: #features
50-
[integrations]: https://docs.rs/sentry/0.36.0/sentry/integrations/index.html
51-
[apply_defaults]: https://docs.rs/sentry/0.36.0/sentry/fn.apply_defaults.html
50+
[integrations]: https://docs.rs/sentry/0.37.0/sentry/integrations/index.html
51+
[apply_defaults]: https://docs.rs/sentry/0.37.0/sentry/fn.apply_defaults.html
5252

5353
## Minimal API
5454

5555
This crate comes fully-featured. If the goal is to instrument libraries for usage
5656
with sentry, or to extend sentry with a custom [`Integration`] or a [`Transport`],
5757
one should use the [`sentry-core`] crate instead.
5858

59-
[`Integration`]: https://docs.rs/sentry/0.36.0/sentry/trait.Integration.html
60-
[`Transport`]: https://docs.rs/sentry/0.36.0/sentry/trait.Transport.html
59+
[`Integration`]: https://docs.rs/sentry/0.37.0/sentry/trait.Integration.html
60+
[`Transport`]: https://docs.rs/sentry/0.37.0/sentry/trait.Transport.html
6161
[`sentry-core`]: https://crates.io/crates/sentry-core
6262

6363
## Features

0 commit comments

Comments
 (0)