Skip to content

Commit

Permalink
release: 0.29.2
Browse files Browse the repository at this point in the history
  • Loading branch information
getsentry-bot committed Jan 25, 2023
1 parent be5dfb2 commit 498ce9b
Show file tree
Hide file tree
Showing 18 changed files with 83 additions and 69 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.29.2

### Various fixes & improvements

- fix: Prefer `match_pattern` over `match_name` in actix (#539) by @wuerges
- feat(profiling): Add profile context to transaction. (#538) by @viglia
- Re-disable scheduled jobs on forks (#537) by @MarijnS95
- fix: Avoid Deadlock popping ScopeGuards out of order (#536) by @Swatinem
- sentry-core: make TraceContext publicly readable (#534) by @tommilligan
- sentry-core: make TransactionContext.trace_id readable (#533) by @tommilligan
- docs: fix outdated `native-tls`/`rustls` info in README (#535) by @seritools
- features: Make `tower-http` enable the `tower` feature (#532) by @Turbo87

## 0.29.1

**Features**:
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.29.1"
version = "0.29.2"
authors = ["Sentry <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -15,7 +15,7 @@ rust-version = "1.60"
[dependencies]
actix-web = { version = "4", default-features = false }
futures-util = { version = "0.3.5", default-features = false }
sentry-core = { version = "0.29.1", path = "../sentry-core", default-features = false, features = ["client"] }
sentry-core = { version = "0.29.2", 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.29.1"
version = "0.29.2"
authors = ["Sentry <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -17,8 +17,8 @@ default = ["backtrace"]
backtrace = ["anyhow/backtrace"]

[dependencies]
sentry-backtrace = { version = "0.29.1", path = "../sentry-backtrace" }
sentry-core = { version = "0.29.1", path = "../sentry-core" }
sentry-backtrace = { version = "0.29.2", path = "../sentry-backtrace" }
sentry-core = { version = "0.29.2", 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.29.1"
version = "0.29.2"
authors = ["Sentry <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -16,4 +16,4 @@ rust-version = "1.60"
backtrace = "0.3.44"
once_cell = "1"
regex = "1.5.5"
sentry-core = { version = "0.29.1", path = "../sentry-core" }
sentry-core = { version = "0.29.2", 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.29.1"
version = "0.29.2"
authors = ["Sentry <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -14,7 +14,7 @@ edition = "2021"
rust-version = "1.60"

[dependencies]
sentry-core = { version = "0.29.1", path = "../sentry-core" }
sentry-core = { version = "0.29.2", 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.29.1"
version = "0.29.2"
authors = ["Sentry <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -33,7 +33,7 @@ frame-pointer = ["pprof?/frame-pointer"]
log = { version = "0.4.8", optional = true, features = ["std"] }
once_cell = "1"
rand = { version = "0.8.1", optional = true }
sentry-types = { version = "0.29.1", path = "../sentry-types" }
sentry-types = { version = "0.29.2", 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.29.1/sentry_core/test/index.html
[`test`]: https://docs.rs/sentry-core/0.29.2/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.29.1"
version = "0.29.2"
authors = ["Sentry <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -15,4 +15,4 @@ rust-version = "1.60"
[dependencies]
findshlibs = "=0.10.2"
once_cell = "1"
sentry-core = { version = "0.29.1", path = "../sentry-core" }
sentry-core = { version = "0.29.2", 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.29.1/sentry_debug_images/sentry_core::protocol::Event
[`Event`]: https://docs.rs/sentry-debug-images/0.29.2/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.29.1"
version = "0.29.2"
authors = ["Sentry <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -13,7 +13,7 @@ edition = "2021"
rust-version = "1.60"

[dependencies]
sentry-core = { version = "0.29.1", path = "../sentry-core" }
sentry-core = { version = "0.29.2", 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.29.1"
version = "0.29.2"
authors = ["Sentry <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -13,8 +13,8 @@ edition = "2021"
rust-version = "1.60"

[dependencies]
sentry-core = { version = "0.29.1", path = "../sentry-core" }
sentry-backtrace = { version = "0.29.1", path = "../sentry-backtrace" }
sentry-core = { version = "0.29.2", path = "../sentry-core" }
sentry-backtrace = { version = "0.29.2", 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.29.1"
version = "0.29.2"
authors = ["Sentry <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -13,7 +13,7 @@ edition = "2021"
rust-version = "1.60"

[dependencies]
sentry-core = { version = "0.29.1", path = "../sentry-core" }
sentry-core = { version = "0.29.2", 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.29.1"
version = "0.29.2"
authors = ["Sentry <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -20,7 +20,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.29.1", path = "../sentry-core", default-features = false, features = ["client"] }
sentry-core = { version = "0.29.2", path = "../sentry-core", default-features = false, features = ["client"] }
url = { version = "2.2.2", optional = true }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion sentry-tower/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ transaction based on the incoming HTTP headers.
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.29.1/sentry_tower/sentry_core::Scope::set_transaction)
in the request handler using the [`Scope::set_transaction`](https://docs.rs/sentry-tower/0.29.2/sentry_tower/sentry_core::Scope::set_transaction)
method.

When combining both layers, take care of the ordering of both. For example
Expand Down
4 changes: 2 additions & 2 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.29.1"
version = "0.29.2"
authors = ["Sentry <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -13,7 +13,7 @@ edition = "2021"
rust-version = "1.60"

[dependencies]
sentry-core = { version = "0.29.1", path = "../sentry-core", features = ["client"] }
sentry-core = { version = "0.29.2", path = "../sentry-core", features = ["client"] }
tracing-core = "0.1"
tracing-subscriber = { version = "0.3.1", default-features = false, features = ["std"] }

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.29.1"
version = "0.29.2"
authors = ["Sentry <[email protected]>"]
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.29.1"
version = "0.29.2"
authors = ["Sentry <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -52,16 +52,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.29.1", path = "../sentry-core", features = ["client"] }
sentry-anyhow = { version = "0.29.1", path = "../sentry-anyhow", optional = true }
sentry-backtrace = { version = "0.29.1", path = "../sentry-backtrace", optional = true }
sentry-contexts = { version = "0.29.1", path = "../sentry-contexts", optional = true }
sentry-debug-images = { version = "0.29.1", path = "../sentry-debug-images", optional = true }
sentry-log = { version = "0.29.1", path = "../sentry-log", optional = true }
sentry-panic = { version = "0.29.1", path = "../sentry-panic", optional = true }
sentry-slog = { version = "0.29.1", path = "../sentry-slog", optional = true }
sentry-tower = { version = "0.29.1", path = "../sentry-tower", optional = true }
sentry-tracing = { version = "0.29.1", path = "../sentry-tracing", optional = true }
sentry-core = { version = "0.29.2", path = "../sentry-core", features = ["client"] }
sentry-anyhow = { version = "0.29.2", path = "../sentry-anyhow", optional = true }
sentry-backtrace = { version = "0.29.2", path = "../sentry-backtrace", optional = true }
sentry-contexts = { version = "0.29.2", path = "../sentry-contexts", optional = true }
sentry-debug-images = { version = "0.29.2", path = "../sentry-debug-images", optional = true }
sentry-log = { version = "0.29.2", path = "../sentry-log", optional = true }
sentry-panic = { version = "0.29.2", path = "../sentry-panic", optional = true }
sentry-slog = { version = "0.29.2", path = "../sentry-slog", optional = true }
sentry-tower = { version = "0.29.2", path = "../sentry-tower", optional = true }
sentry-tracing = { version = "0.29.2", 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
61 changes: 31 additions & 30 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.29.1/sentry/fn.init.html
[`Hub`]: https://docs.rs/sentry/0.29.1/sentry/struct.Hub.html
[`sentry::init`]: https://docs.rs/sentry/0.29.2/sentry/fn.init.html
[`Hub`]: https://docs.rs/sentry/0.29.2/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,43 +47,44 @@ 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.29.1/sentry/integrations/index.html
[apply_defaults]: https://docs.rs/sentry/0.29.1/sentry/fn.apply_defaults.html
[integrations]: https://docs.rs/sentry/0.29.2/sentry/integrations/index.html
[apply_defaults]: https://docs.rs/sentry/0.29.2/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.29.1/sentry/trait.Integration.html
[`Transport`]: https://docs.rs/sentry/0.29.1/sentry/trait.Transport.html
[`Integration`]: https://docs.rs/sentry/0.29.2/sentry/trait.Integration.html
[`Transport`]: https://docs.rs/sentry/0.29.2/sentry/trait.Transport.html
[`sentry-core`]: https://crates.io/crates/sentry-core

## Features

Additional functionality and integrations are enabled via feature flags. Some features require
extra setup to function properly.

| Feature | Default | Is Integration | Deprecated | Additional notes |
| -------------- | ------- | -------------- | ---------- | -------------------------------------------------------------------------------------------------- |
| `backtrace` | βœ… | πŸ”Œ | | |
| `contexts` | βœ… | πŸ”Œ | | |
| `panic` | βœ… | πŸ”Œ | | |
| `transport` | βœ… | | | |
| `anyhow` | | πŸ”Œ | | |
| `test` | | | | |
| `debug-images` | | πŸ”Œ | | |
| `log` | | πŸ”Œ | | Requires extra setup; See [`sentry-log`]'s documentation. |
| `debug-logs` | | | ❗ | Requires extra setup; See [`sentry-log`]'s documentation. |
| `slog` | | πŸ”Œ | | Requires extra setup; See [`sentry-slog`]'s documentation. |
| `reqwest` | βœ… | | | |
| `native-tls` | βœ… | | | `reqwest` or `ureq` must be enabled. |
| `rustls` | | | | `reqwest` or `ureq` must be enabled. `native-tls` must be disabled via `default-features = false`. |
| `curl` | | | | |
| `surf` | | | | |
| `tower` | | πŸ”Œ | | Requires extra setup; See [`sentry-tower`]'s documentation. |
| `ureq` | | | | `ureq` transport support using `rustls` by default |
| Feature | Default | Is Integration | Deprecated | Additional notes |
| -------------- | ------- | -------------- | ---------- | ---------------------------------------------------------------------------------------- |
| `backtrace` | βœ… | πŸ”Œ | | |
| `contexts` | βœ… | πŸ”Œ | | |
| `panic` | βœ… | πŸ”Œ | | |
| `transport` | βœ… | | | |
| `anyhow` | | πŸ”Œ | | |
| `test` | | | | |
| `debug-images` | | πŸ”Œ | | |
| `log` | | πŸ”Œ | | Requires extra setup; See [`sentry-log`]'s documentation. |
| `debug-logs` | | | ❗ | Requires extra setup; See [`sentry-log`]'s documentation. |
| `slog` | | πŸ”Œ | | Requires extra setup; See [`sentry-slog`]'s documentation. |
| `reqwest` | βœ… | | | |
| `native-tls` | βœ… | | | `reqwest` must be enabled. |
| `rustls` | | | | `reqwest` must be enabled. `native-tls` must be disabled via `default-features = false`. |
| `curl` | | | | |
| `surf` | | | | |
| `tower` | | πŸ”Œ | | Requires extra setup; See [`sentry-tower`]'s documentation. |
| `ureq` | | | | `ureq` transport support using `rustls` by default |
| `ureq-native-tls` | | | | |

[`sentry-log`]: https://crates.io/crates/sentry-log
[`sentry-slog`]: https://crates.io/crates/sentry-slog
Expand All @@ -107,14 +108,14 @@ extra setup to function properly.

### Transports
- `reqwest`: **Default**. Enables the `reqwest` transport.
- `native-tls`: **Default**. Uses the `native-tls` crate. This affects the `reqwest` and `ureq`
transport.
- `rustls`: Enables `rustls` support for `reqwest` or `ureq`. Please note that `native-tls` is a
default feature, and `default-features = false` must be set to completely disable building
`native-tls` dependencies.
- `native-tls`: **Default**. Uses the `native-tls` crate. This only affects the `reqwest` transport.
- `rustls`: Enables `rustls` support for `reqwest`. Please note that `native-tls` is a default
feature, and `default-features = false` must be set to completely disable building `native-tls`
dependencies.
- `curl`: Enables the `curl` transport.
- `surf`: Enables the `surf` transport.
- `ureq`: Enables the `ureq` transport using `rustls`.
- `ureq-native-tls`: Enables the `ureq` transport using `native-tls`.

### Integrations
- `tower`: Enables support for the `tower` crate and those using it.
Expand Down

0 comments on commit 498ce9b

Please sign in to comment.