Skip to content

Commit 26554ff

Browse files
committed
release: 0.31.8
1 parent da4ff66 commit 26554ff

File tree

19 files changed

+61
-50
lines changed

19 files changed

+61
-50
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 0.31.8
4+
5+
### Various fixes & improvements
6+
7+
- MonitorSchedule constructor that validates crontab syntax (#625) by @szokeasaurusrex
8+
- fix(docs): Fix some doc errors that slipped in (#623) by @flub
9+
- docs(tower): Mention how to enable http feature from sentry crate (#622) by @flub
10+
- build(deps): bump rustix from 0.37.23 to 0.37.25 (#619) by @dependabot
11+
312
## 0.31.7
413

514
### 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.31.7"
3+
version = "0.31.8"
44
authors = ["Sentry <[email protected]>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -15,7 +15,7 @@ rust-version = "1.68"
1515
[dependencies]
1616
actix-web = { version = "4", default-features = false }
1717
futures-util = { version = "0.3.5", default-features = false }
18-
sentry-core = { version = "0.31.7", path = "../sentry-core", default-features = false, features = ["client"] }
18+
sentry-core = { version = "0.31.8", path = "../sentry-core", default-features = false, features = ["client"] }
1919

2020
[dev-dependencies]
2121
actix-web = { version = "4" }

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.31.7"
3+
version = "0.31.8"
44
authors = ["Sentry <[email protected]>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -17,8 +17,8 @@ default = ["backtrace"]
1717
backtrace = ["anyhow/backtrace"]
1818

1919
[dependencies]
20-
sentry-backtrace = { version = "0.31.7", path = "../sentry-backtrace" }
21-
sentry-core = { version = "0.31.7", path = "../sentry-core" }
20+
sentry-backtrace = { version = "0.31.8", path = "../sentry-backtrace" }
21+
sentry-core = { version = "0.31.8", 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.31.7"
3+
version = "0.31.8"
44
authors = ["Sentry <[email protected]>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -16,4 +16,4 @@ rust-version = "1.68"
1616
backtrace = "0.3.44"
1717
once_cell = "1"
1818
regex = { version = "1.5.5", default-features = false, features = ["std", "unicode-perl"] }
19-
sentry-core = { version = "0.31.7", path = "../sentry-core" }
19+
sentry-core = { version = "0.31.8", 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.31.7"
3+
version = "0.31.8"
44
authors = ["Sentry <[email protected]>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -14,7 +14,7 @@ edition = "2021"
1414
rust-version = "1.68"
1515

1616
[dependencies]
17-
sentry-core = { version = "0.31.7", path = "../sentry-core" }
17+
sentry-core = { version = "0.31.8", path = "../sentry-core" }
1818
libc = "0.2.66"
1919
hostname = "0.3.0"
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.31.7"
3+
version = "0.31.8"
44
authors = ["Sentry <[email protected]>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -31,7 +31,7 @@ test = ["client"]
3131
log = { version = "0.4.8", optional = true, features = ["std"] }
3232
once_cell = "1"
3333
rand = { version = "0.8.1", optional = true }
34-
sentry-types = { version = "0.31.7", path = "../sentry-types" }
34+
sentry-types = { version = "0.31.8", path = "../sentry-types" }
3535
serde = { version = "1.0.104", features = ["derive"] }
3636
serde_json = { version = "1.0.46" }
3737
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.31.7/sentry_core/test/index.html
105+
[`test`]: https://docs.rs/sentry-core/0.31.8/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.31.7"
3+
version = "0.31.8"
44
authors = ["Sentry <[email protected]>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -15,4 +15,4 @@ rust-version = "1.68"
1515
[dependencies]
1616
findshlibs = "=0.10.2"
1717
once_cell = "1"
18-
sentry-core = { version = "0.31.7", path = "../sentry-core" }
18+
sentry-core = { version = "0.31.8", 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.31.7/sentry_debug_images/sentry_core::protocol::Event
25+
[`Event`]: https://docs.rs/sentry-debug-images/0.31.8/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.31.7"
3+
version = "0.31.8"
44
authors = ["Sentry <[email protected]>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -13,7 +13,7 @@ edition = "2021"
1313
rust-version = "1.68"
1414

1515
[dependencies]
16-
sentry-core = { version = "0.31.7", path = "../sentry-core" }
16+
sentry-core = { version = "0.31.8", 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.31.7"
3+
version = "0.31.8"
44
authors = ["Sentry <[email protected]>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -13,8 +13,8 @@ edition = "2021"
1313
rust-version = "1.68"
1414

1515
[dependencies]
16-
sentry-core = { version = "0.31.7", path = "../sentry-core" }
17-
sentry-backtrace = { version = "0.31.7", path = "../sentry-backtrace" }
16+
sentry-core = { version = "0.31.8", path = "../sentry-core" }
17+
sentry-backtrace = { version = "0.31.8", 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.31.7"
3+
version = "0.31.8"
44
authors = ["Sentry <[email protected]>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -13,7 +13,7 @@ edition = "2021"
1313
rust-version = "1.68"
1414

1515
[dependencies]
16-
sentry-core = { version = "0.31.7", path = "../sentry-core" }
16+
sentry-core = { version = "0.31.8", 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.31.7"
3+
version = "0.31.8"
44
authors = ["Sentry <[email protected]>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -25,7 +25,7 @@ tower-layer = "0.3"
2525
tower-service = "0.3"
2626
http = { version = "0.2.6", optional = true }
2727
pin-project = { version = "1.0.10", optional = true }
28-
sentry-core = { version = "0.31.7", path = "../sentry-core", default-features = false, features = ["client"] }
28+
sentry-core = { version = "0.31.8", path = "../sentry-core", default-features = false, features = ["client"] }
2929
url = { version = "2.2.2", optional = true }
3030

3131
[dev-dependencies]

sentry-tower/README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,16 @@ Server::builder()
9494

9595
### Usage with `tower-http`
9696

97-
The `http` feature offers another layer which will attach request details
98-
onto captured events, and optionally start a new performance monitoring
99-
transaction based on the incoming HTTP headers.
97+
The `http` feature of the `sentry-tower` crate offers another layer which will attach
98+
request details onto captured events, and optionally start a new performance monitoring
99+
transaction based on the incoming HTTP headers. When using the tower integration via
100+
`sentry::integrations::tower`, this feature can also be enabled using the `tower-http`
101+
feature of the `sentry` crate instead of the `tower` feature.
100102

101103
The created transaction will automatically use the request URI as its name.
102104
This is sometimes not desirable in case the request URI contains unique IDs
103105
or similar. In this case, users should manually override the transaction name
104-
in the request handler using the [`Scope::set_transaction`](https://docs.rs/sentry-tower/0.31.7/sentry_tower/sentry_core::Scope::set_transaction)
106+
in the request handler using the [`Scope::set_transaction`](https://docs.rs/sentry-tower/0.31.8/sentry_tower/sentry_core::Scope::set_transaction)
105107
method.
106108

107109
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.31.7"
3+
version = "0.31.8"
44
authors = ["Sentry <[email protected]>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -20,10 +20,10 @@ default = []
2020
backtrace = ["dep:sentry-backtrace"]
2121

2222
[dependencies]
23-
sentry-core = { version = "0.31.7", path = "../sentry-core", features = ["client"] }
23+
sentry-core = { version = "0.31.8", path = "../sentry-core", features = ["client"] }
2424
tracing-core = "0.1"
2525
tracing-subscriber = { version = "0.3.1", default-features = false, features = ["std"] }
26-
sentry-backtrace = { version = "0.31.7", path = "../sentry-backtrace", optional = true }
26+
sentry-backtrace = { version = "0.31.8", path = "../sentry-backtrace", optional = true }
2727

2828
[dev-dependencies]
2929
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.31.7/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.31.8/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.31.7"
3+
version = "0.31.8"
44
authors = ["Sentry <[email protected]>"]
55
license = "Apache-2.0"
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.31.7"
3+
version = "0.31.8"
44
authors = ["Sentry <[email protected]>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -51,16 +51,16 @@ native-tls = ["dep:native-tls", "reqwest?/default-tls", "ureq?/native-tls"]
5151
rustls = ["dep:rustls", "reqwest?/rustls-tls", "ureq?/tls", "webpki-roots"]
5252

5353
[dependencies]
54-
sentry-core = { version = "0.31.7", path = "../sentry-core", features = ["client"] }
55-
sentry-anyhow = { version = "0.31.7", path = "../sentry-anyhow", optional = true }
56-
sentry-backtrace = { version = "0.31.7", path = "../sentry-backtrace", optional = true }
57-
sentry-contexts = { version = "0.31.7", path = "../sentry-contexts", optional = true }
58-
sentry-debug-images = { version = "0.31.7", path = "../sentry-debug-images", optional = true }
59-
sentry-log = { version = "0.31.7", path = "../sentry-log", optional = true }
60-
sentry-panic = { version = "0.31.7", path = "../sentry-panic", optional = true }
61-
sentry-slog = { version = "0.31.7", path = "../sentry-slog", optional = true }
62-
sentry-tower = { version = "0.31.7", path = "../sentry-tower", optional = true }
63-
sentry-tracing = { version = "0.31.7", path = "../sentry-tracing", optional = true }
54+
sentry-core = { version = "0.31.8", path = "../sentry-core", features = ["client"] }
55+
sentry-anyhow = { version = "0.31.8", path = "../sentry-anyhow", optional = true }
56+
sentry-backtrace = { version = "0.31.8", path = "../sentry-backtrace", optional = true }
57+
sentry-contexts = { version = "0.31.8", path = "../sentry-contexts", optional = true }
58+
sentry-debug-images = { version = "0.31.8", path = "../sentry-debug-images", optional = true }
59+
sentry-log = { version = "0.31.8", path = "../sentry-log", optional = true }
60+
sentry-panic = { version = "0.31.8", path = "../sentry-panic", optional = true }
61+
sentry-slog = { version = "0.31.8", path = "../sentry-slog", optional = true }
62+
sentry-tower = { version = "0.31.8", path = "../sentry-tower", optional = true }
63+
sentry-tracing = { version = "0.31.8", path = "../sentry-tracing", optional = true }
6464
log = { version = "0.4.8", optional = true, features = ["std"] }
6565
reqwest = { version = "0.11", optional = true, features = ["blocking", "json"], default-features = false }
6666
curl = { version = "0.4.25", optional = true }

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.31.7/sentry/fn.init.html
38-
[`Hub`]: https://docs.rs/sentry/0.31.7/sentry/struct.Hub.html
37+
[`sentry::init`]: https://docs.rs/sentry/0.31.8/sentry/fn.init.html
38+
[`Hub`]: https://docs.rs/sentry/0.31.8/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.31.7/sentry/integrations/index.html
51-
[apply_defaults]: https://docs.rs/sentry/0.31.7/sentry/fn.apply_defaults.html
50+
[integrations]: https://docs.rs/sentry/0.31.8/sentry/integrations/index.html
51+
[apply_defaults]: https://docs.rs/sentry/0.31.8/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.31.7/sentry/trait.Integration.html
60-
[`Transport`]: https://docs.rs/sentry/0.31.7/sentry/trait.Transport.html
59+
[`Integration`]: https://docs.rs/sentry/0.31.8/sentry/trait.Integration.html
60+
[`Transport`]: https://docs.rs/sentry/0.31.8/sentry/trait.Transport.html
6161
[`sentry-core`]: https://crates.io/crates/sentry-core
6262

6363
## Features

0 commit comments

Comments
 (0)