Skip to content

Commit

Permalink
release: 0.31.8
Browse files Browse the repository at this point in the history
  • Loading branch information
getsentry-bot committed Nov 10, 2023
1 parent da4ff66 commit 26554ff
Show file tree
Hide file tree
Showing 19 changed files with 61 additions and 50 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.31.8

### Various fixes & improvements

- MonitorSchedule constructor that validates crontab syntax (#625) by @szokeasaurusrex
- fix(docs): Fix some doc errors that slipped in (#623) by @flub
- docs(tower): Mention how to enable http feature from sentry crate (#622) by @flub
- build(deps): bump rustix from 0.37.23 to 0.37.25 (#619) by @dependabot

## 0.31.7

### Various fixes & improvements
Expand Down
4 changes: 2 additions & 2 deletions sentry-actix/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentry-actix"
version = "0.31.7"
version = "0.31.8"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -15,7 +15,7 @@ rust-version = "1.68"
[dependencies]
actix-web = { version = "4", default-features = false }
futures-util = { version = "0.3.5", default-features = false }
sentry-core = { version = "0.31.7", path = "../sentry-core", default-features = false, features = ["client"] }
sentry-core = { version = "0.31.8", path = "../sentry-core", default-features = false, features = ["client"] }

[dev-dependencies]
actix-web = { version = "4" }
Expand Down
6 changes: 3 additions & 3 deletions sentry-anyhow/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentry-anyhow"
version = "0.31.7"
version = "0.31.8"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -17,8 +17,8 @@ default = ["backtrace"]
backtrace = ["anyhow/backtrace"]

[dependencies]
sentry-backtrace = { version = "0.31.7", path = "../sentry-backtrace" }
sentry-core = { version = "0.31.7", path = "../sentry-core" }
sentry-backtrace = { version = "0.31.8", path = "../sentry-backtrace" }
sentry-core = { version = "0.31.8", path = "../sentry-core" }
anyhow = "1.0.39"

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions sentry-backtrace/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentry-backtrace"
version = "0.31.7"
version = "0.31.8"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -16,4 +16,4 @@ rust-version = "1.68"
backtrace = "0.3.44"
once_cell = "1"
regex = { version = "1.5.5", default-features = false, features = ["std", "unicode-perl"] }
sentry-core = { version = "0.31.7", path = "../sentry-core" }
sentry-core = { version = "0.31.8", path = "../sentry-core" }
4 changes: 2 additions & 2 deletions sentry-contexts/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentry-contexts"
version = "0.31.7"
version = "0.31.8"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -14,7 +14,7 @@ edition = "2021"
rust-version = "1.68"

[dependencies]
sentry-core = { version = "0.31.7", path = "../sentry-core" }
sentry-core = { version = "0.31.8", path = "../sentry-core" }
libc = "0.2.66"
hostname = "0.3.0"

Expand Down
4 changes: 2 additions & 2 deletions sentry-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentry-core"
version = "0.31.7"
version = "0.31.8"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -31,7 +31,7 @@ test = ["client"]
log = { version = "0.4.8", optional = true, features = ["std"] }
once_cell = "1"
rand = { version = "0.8.1", optional = true }
sentry-types = { version = "0.31.7", path = "../sentry-types" }
sentry-types = { version = "0.31.8", path = "../sentry-types" }
serde = { version = "1.0.104", features = ["derive"] }
serde_json = { version = "1.0.46" }
uuid = { version = "1.0.0", features = ["v4", "serde"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion sentry-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ functionality.
[Sentry]: https://sentry.io/
[`sentry`]: https://crates.io/crates/sentry
[Unified API]: https://develop.sentry.dev/sdk/unified-api/
[`test`]: https://docs.rs/sentry-core/0.31.7/sentry_core/test/index.html
[`test`]: https://docs.rs/sentry-core/0.31.8/sentry_core/test/index.html

## Resources

Expand Down
4 changes: 2 additions & 2 deletions sentry-debug-images/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentry-debug-images"
version = "0.31.7"
version = "0.31.8"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -15,4 +15,4 @@ rust-version = "1.68"
[dependencies]
findshlibs = "=0.10.2"
once_cell = "1"
sentry-core = { version = "0.31.7", path = "../sentry-core" }
sentry-core = { version = "0.31.8", path = "../sentry-core" }
2 changes: 1 addition & 1 deletion sentry-debug-images/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ let integration = sentry_debug_images::DebugImagesIntegration::new()
.filter(|event| event.level >= Level::Warning);
```

[`Event`]: https://docs.rs/sentry-debug-images/0.31.7/sentry_debug_images/sentry_core::protocol::Event
[`Event`]: https://docs.rs/sentry-debug-images/0.31.8/sentry_debug_images/sentry_core::protocol::Event

## Resources

Expand Down
4 changes: 2 additions & 2 deletions sentry-log/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentry-log"
version = "0.31.7"
version = "0.31.8"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -13,7 +13,7 @@ edition = "2021"
rust-version = "1.68"

[dependencies]
sentry-core = { version = "0.31.7", path = "../sentry-core" }
sentry-core = { version = "0.31.8", path = "../sentry-core" }
log = { version = "0.4.8", features = ["std"] }

[dev-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions sentry-panic/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentry-panic"
version = "0.31.7"
version = "0.31.8"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -13,8 +13,8 @@ edition = "2021"
rust-version = "1.68"

[dependencies]
sentry-core = { version = "0.31.7", path = "../sentry-core" }
sentry-backtrace = { version = "0.31.7", path = "../sentry-backtrace" }
sentry-core = { version = "0.31.8", path = "../sentry-core" }
sentry-backtrace = { version = "0.31.8", path = "../sentry-backtrace" }

[dev-dependencies]
sentry = { path = "../sentry", default-features = false, features = ["test"] }
4 changes: 2 additions & 2 deletions sentry-slog/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentry-slog"
version = "0.31.7"
version = "0.31.8"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -13,7 +13,7 @@ edition = "2021"
rust-version = "1.68"

[dependencies]
sentry-core = { version = "0.31.7", path = "../sentry-core" }
sentry-core = { version = "0.31.8", path = "../sentry-core" }
slog = { version = "2.5.2", features = ["nested-values"] }
serde_json = "1.0.46"

Expand Down
4 changes: 2 additions & 2 deletions sentry-tower/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentry-tower"
version = "0.31.7"
version = "0.31.8"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -25,7 +25,7 @@ tower-layer = "0.3"
tower-service = "0.3"
http = { version = "0.2.6", optional = true }
pin-project = { version = "1.0.10", optional = true }
sentry-core = { version = "0.31.7", path = "../sentry-core", default-features = false, features = ["client"] }
sentry-core = { version = "0.31.8", path = "../sentry-core", default-features = false, features = ["client"] }
url = { version = "2.2.2", optional = true }

[dev-dependencies]
Expand Down
10 changes: 6 additions & 4 deletions sentry-tower/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,16 @@ Server::builder()

### Usage with `tower-http`

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

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

When combining both layers, take care of the ordering of both. For example
Expand Down
6 changes: 3 additions & 3 deletions sentry-tracing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentry-tracing"
version = "0.31.7"
version = "0.31.8"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -20,10 +20,10 @@ default = []
backtrace = ["dep:sentry-backtrace"]

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

[dev-dependencies]
log = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion sentry-tracing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ tracing::error!(
);
```

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
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
in one of the logging macros. By convention, it is recommended to use the `ERROR` level and
assign it to a field called `error`, although the integration will also work with all other
levels and field names.
Expand Down
2 changes: 1 addition & 1 deletion sentry-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentry-types"
version = "0.31.7"
version = "0.31.8"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand Down
22 changes: 11 additions & 11 deletions sentry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentry"
version = "0.31.7"
version = "0.31.8"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -51,16 +51,16 @@ native-tls = ["dep:native-tls", "reqwest?/default-tls", "ureq?/native-tls"]
rustls = ["dep:rustls", "reqwest?/rustls-tls", "ureq?/tls", "webpki-roots"]

[dependencies]
sentry-core = { version = "0.31.7", path = "../sentry-core", features = ["client"] }
sentry-anyhow = { version = "0.31.7", path = "../sentry-anyhow", optional = true }
sentry-backtrace = { version = "0.31.7", path = "../sentry-backtrace", optional = true }
sentry-contexts = { version = "0.31.7", path = "../sentry-contexts", optional = true }
sentry-debug-images = { version = "0.31.7", path = "../sentry-debug-images", optional = true }
sentry-log = { version = "0.31.7", path = "../sentry-log", optional = true }
sentry-panic = { version = "0.31.7", path = "../sentry-panic", optional = true }
sentry-slog = { version = "0.31.7", path = "../sentry-slog", optional = true }
sentry-tower = { version = "0.31.7", path = "../sentry-tower", optional = true }
sentry-tracing = { version = "0.31.7", path = "../sentry-tracing", optional = true }
sentry-core = { version = "0.31.8", path = "../sentry-core", features = ["client"] }
sentry-anyhow = { version = "0.31.8", path = "../sentry-anyhow", optional = true }
sentry-backtrace = { version = "0.31.8", path = "../sentry-backtrace", optional = true }
sentry-contexts = { version = "0.31.8", path = "../sentry-contexts", optional = true }
sentry-debug-images = { version = "0.31.8", path = "../sentry-debug-images", optional = true }
sentry-log = { version = "0.31.8", path = "../sentry-log", optional = true }
sentry-panic = { version = "0.31.8", path = "../sentry-panic", optional = true }
sentry-slog = { version = "0.31.8", path = "../sentry-slog", optional = true }
sentry-tower = { version = "0.31.8", path = "../sentry-tower", optional = true }
sentry-tracing = { version = "0.31.8", path = "../sentry-tracing", optional = true }
log = { version = "0.4.8", optional = true, features = ["std"] }
reqwest = { version = "0.11", optional = true, features = ["blocking", "json"], default-features = false }
curl = { version = "0.4.25", optional = true }
Expand Down
12 changes: 6 additions & 6 deletions sentry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ sentry::capture_message("Hello World!", sentry::Level::Info);
More complex examples on how to use sentry can also be found in [examples]. Extended instructions
may also be found on [Sentry itself].

[`sentry::init`]: https://docs.rs/sentry/0.31.7/sentry/fn.init.html
[`Hub`]: https://docs.rs/sentry/0.31.7/sentry/struct.Hub.html
[`sentry::init`]: https://docs.rs/sentry/0.31.8/sentry/fn.init.html
[`Hub`]: https://docs.rs/sentry/0.31.8/sentry/struct.Hub.html
[examples]: https://github.com/getsentry/sentry-rust/tree/master/sentry/examples
[Sentry itself]: https://docs.sentry.io/platforms/rust

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

[Features]: #features
[integrations]: https://docs.rs/sentry/0.31.7/sentry/integrations/index.html
[apply_defaults]: https://docs.rs/sentry/0.31.7/sentry/fn.apply_defaults.html
[integrations]: https://docs.rs/sentry/0.31.8/sentry/integrations/index.html
[apply_defaults]: https://docs.rs/sentry/0.31.8/sentry/fn.apply_defaults.html

## Minimal API

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

[`Integration`]: https://docs.rs/sentry/0.31.7/sentry/trait.Integration.html
[`Transport`]: https://docs.rs/sentry/0.31.7/sentry/trait.Transport.html
[`Integration`]: https://docs.rs/sentry/0.31.8/sentry/trait.Integration.html
[`Transport`]: https://docs.rs/sentry/0.31.8/sentry/trait.Transport.html
[`sentry-core`]: https://crates.io/crates/sentry-core

## Features
Expand Down

0 comments on commit 26554ff

Please sign in to comment.