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

Lines changed: 1 addition & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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 <[email protected]>"]
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

Lines changed: 6 additions & 3 deletions
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

Lines changed: 3 additions & 3 deletions
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 <[email protected]>"]
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

Lines changed: 2 additions & 2 deletions
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 <[email protected]>"]
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

Lines changed: 2 additions & 2 deletions
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 <[email protected]>"]
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

Lines changed: 2 additions & 2 deletions
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 <[email protected]>"]
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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 <[email protected]>"]
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

Lines changed: 1 addition & 1 deletion
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

0 commit comments

Comments
 (0)