Skip to content

Commit 8d72c98

Browse files
committed
release: 0.38.0
1 parent f41d60a commit 8d72c98

File tree

21 files changed

+68
-64
lines changed

21 files changed

+68
-64
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## Unreleased
3+
## 0.38.0
44

55
### OpenTelemetry integration
66

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.37.0"
3+
version = "0.38.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.37.0", path = "../sentry-core", default-features = false, features = [
23+
sentry-core = { version = "0.38.0", path = "../sentry-core", default-features = false, features = [
2424
"client",
2525
] }
2626
actix-http = "3.10"

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.37.0"
3+
version = "0.38.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.37.0", path = "../sentry-backtrace" }
21-
sentry-core = { version = "0.37.0", path = "../sentry-core" }
20+
sentry-backtrace = { version = "0.38.0", path = "../sentry-backtrace" }
21+
sentry-core = { version = "0.38.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.37.0"
3+
version = "0.38.0"
44
authors = ["Sentry <[email protected]>"]
55
license = "MIT"
66
readme = "README.md"
@@ -18,4 +18,4 @@ regex = { version = "1.5.5", default-features = false, features = [
1818
"std",
1919
"unicode-perl",
2020
] }
21-
sentry-core = { version = "0.37.0", path = "../sentry-core" }
21+
sentry-core = { version = "0.38.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.37.0"
3+
version = "0.38.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.37.0", path = "../sentry-core" }
17+
sentry-core = { version = "0.38.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.37.0"
3+
version = "0.38.0"
44
authors = ["Sentry <[email protected]>"]
55
license = "MIT"
66
readme = "README.md"
@@ -34,7 +34,7 @@ crc32fast = { version = "1.4.0", optional = true }
3434
log = { version = "0.4.8", optional = true, features = ["std"] }
3535
rand = { version = "0.9.0", optional = true }
3636
regex = { version = "1.7.3", optional = true }
37-
sentry-types = { version = "0.37.0", path = "../sentry-types" }
37+
sentry-types = { version = "0.38.0", path = "../sentry-types" }
3838
serde = { version = "1.0.104", features = ["derive"] }
3939
serde_json = { version = "1.0.46" }
4040
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.37.0/sentry_core/test/index.html
105+
[`test`]: https://docs.rs/sentry-core/0.38.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.37.0"
3+
version = "0.38.0"
44
authors = ["Sentry <[email protected]>"]
55
license = "MIT"
66
readme = "README.md"
@@ -14,4 +14,4 @@ rust-version = "1.81"
1414

1515
[dependencies]
1616
findshlibs = "=0.10.2"
17-
sentry-core = { version = "0.37.0", path = "../sentry-core" }
17+
sentry-core = { version = "0.38.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.37.0/sentry_debug_images/sentry_core::protocol::Event
25+
[`Event`]: https://docs.rs/sentry-debug-images/0.38.0/sentry_debug_images/sentry_core::protocol::Event
2626

2727
## Resources
2828

sentry-log/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-log"
3-
version = "0.37.0"
3+
version = "0.38.0"
44
authors = ["Sentry <[email protected]>"]
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.37.0", path = "../sentry-core" }
16+
sentry-core = { version = "0.38.0", path = "../sentry-core" }
1717
log = { version = "0.4.8", features = ["std"] }
1818

1919
[dev-dependencies]

sentry-opentelemetry/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-opentelemetry"
3-
version = "0.37.0"
3+
version = "0.38.0"
44
authors = ["Sentry <[email protected]>"]
55
license = "MIT"
66
readme = "README.md"
@@ -16,7 +16,7 @@ rust-version = "1.81"
1616
all-features = true
1717

1818
[dependencies]
19-
sentry-core = { version = "0.37.0", path = "../sentry-core", features = [
19+
sentry-core = { version = "0.38.0", path = "../sentry-core", features = [
2020
"client",
2121
] }
2222
opentelemetry = { version = "0.29.0", default-features = false }

sentry-opentelemetry/README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,20 @@
66

77
# Sentry Rust SDK: sentry-opentelemetry
88

9-
Support for capturing Sentry spans from OpenTelemetry spans.
9+
OpenTelemetry support for Sentry.
1010

11-
Sentry spans are automatically captured from OpenTelemetry spans via `SentrySpanProcessor`.
12-
Distributed tracing is supported via `SentryPropagator`.
13-
Note that it's assumed that only the OTEL API is used to create and manage spans.
14-
Mixing the OTEL and Sentry tracing API will not work, and will result in separate traces being captured.
15-
Using the Sentry API for other purposes is supported.
16-
For example, capturing an error inside a span will correctly send it to Sentry with the span association.
11+
This integration allows you to capture spans from your existing OpenTelemetry setup and send
12+
them to Sentry, with support for distributed tracing.
1713

18-
If you're using `tracing-opentelemetry`, use `sentry-tracing` instead.
14+
It's assumed that only the [OpenTelemetry tracing
15+
API](https://opentelemetry.io/docs/specs/otel/trace/api/) is used to start/end/modify Spans.
16+
Mixing it with the Sentry tracing API (e.g. `sentry_core::start_transaction(ctx)`) will not
17+
work, as the spans created with the two methods will not be nested properly.
1918

20-
# Configuration
19+
Capturing events with `sentry::capture_event` will send them to Sentry with the correct
20+
trace and span association.
21+
22+
## Configuration
2123

2224
Add the necessary dependencies to your Cargo.toml:
2325

@@ -67,11 +69,12 @@ let tracer_provider = SdkTracerProvider::builder()
6769
global::set_tracer_provider(tracer_provider);
6870
```
6971

70-
# Usage
72+
## Usage
7173

7274
Use the OpenTelemetry API to create spans. They will be captured by Sentry:
7375

7476
```rust
77+
7578
let tracer = global::tracer("tracer");
7679
// Creates a Sentry span (transaction) with the name set to "example"
7780
tracer.in_span("example", |_| {

sentry-panic/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-panic"
3-
version = "0.37.0"
3+
version = "0.38.0"
44
authors = ["Sentry <[email protected]>"]
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.37.0", path = "../sentry-core" }
17-
sentry-backtrace = { version = "0.37.0", path = "../sentry-backtrace" }
16+
sentry-core = { version = "0.38.0", path = "../sentry-core" }
17+
sentry-backtrace = { version = "0.38.0", path = "../sentry-backtrace" }
1818

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

sentry-slog/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-slog"
3-
version = "0.37.0"
3+
version = "0.38.0"
44
authors = ["Sentry <[email protected]>"]
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.37.0", path = "../sentry-core" }
16+
sentry-core = { version = "0.38.0", path = "../sentry-core" }
1717
slog = { version = "2.5.2", features = ["nested-values"] }
1818
serde_json = "1.0.46"
1919

sentry-tower/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-tower"
3-
version = "0.37.0"
3+
version = "0.38.0"
44
authors = ["Sentry <[email protected]>"]
55
license = "MIT"
66
readme = "README.md"
@@ -26,7 +26,7 @@ tower-layer = "0.3"
2626
tower-service = "0.3"
2727
http = { version = "1.0.0", optional = true }
2828
pin-project = { version = "1.0.10", optional = true }
29-
sentry-core = { version = "0.37.0", path = "../sentry-core", default-features = false, features = [
29+
sentry-core = { version = "0.38.0", path = "../sentry-core", default-features = false, features = [
3030
"client",
3131
] }
3232
url = { version = "2.2.2", optional = true }

sentry-tower/README.md

Lines changed: 2 additions & 2 deletions
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.37.0/sentry_tower/sentry_core::Scope::set_transaction)
106+
in the request handler using the [`Scope::set_transaction`](https://docs.rs/sentry-tower/0.38.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
@@ -113,7 +113,7 @@ one, like so:
113113
```rust
114114
let layer = tower::ServiceBuilder::new()
115115
.layer(sentry_tower::NewSentryLayer::<Request>::new_from_top())
116-
.layer(sentry_tower::SentryHttpLayer::with_transaction());
116+
.layer(sentry_tower::SentryHttpLayer::new().enable_transaction());
117117
```
118118

119119
[`tower::ServiceBuilder`]: https://docs.rs/tower/latest/tower/struct.ServiceBuilder.html

sentry-tracing/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-tracing"
3-
version = "0.37.0"
3+
version = "0.38.0"
44
authors = ["Sentry <[email protected]>"]
55
license = "MIT"
66
readme = "README.md"
@@ -20,14 +20,14 @@ default = []
2020
backtrace = ["dep:sentry-backtrace"]
2121

2222
[dependencies]
23-
sentry-core = { version = "0.37.0", path = "../sentry-core", features = [
23+
sentry-core = { version = "0.38.0", path = "../sentry-core", features = [
2424
"client",
2525
] }
2626
tracing-core = "0.1"
2727
tracing-subscriber = { version = "0.3.1", default-features = false, features = [
2828
"std",
2929
] }
30-
sentry-backtrace = { version = "0.37.0", path = "../sentry-backtrace", optional = true }
30+
sentry-backtrace = { version = "0.38.0", path = "../sentry-backtrace", optional = true }
3131

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

sentry-tracing/README.md

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sentry-types"
3-
version = "0.37.0"
3+
version = "0.38.0"
44
authors = ["Sentry <[email protected]>"]
55
license = "MIT"
66
readme = "README.md"

sentry/Cargo.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sentry"
3-
version = "0.37.0"
3+
version = "0.38.0"
44
authors = ["Sentry <[email protected]>"]
55
license = "MIT"
66
readme = "README.md"
@@ -60,20 +60,20 @@ 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.37.0", path = "../sentry-core", features = [
63+
sentry-core = { version = "0.38.0", path = "../sentry-core", features = [
6464
"client",
6565
] }
66-
sentry-anyhow = { version = "0.37.0", path = "../sentry-anyhow", optional = true }
67-
sentry-actix = { version = "0.37.0", path = "../sentry-actix", optional = true, default-features = false }
68-
sentry-backtrace = { version = "0.37.0", path = "../sentry-backtrace", optional = true }
69-
sentry-contexts = { version = "0.37.0", path = "../sentry-contexts", optional = true }
70-
sentry-debug-images = { version = "0.37.0", path = "../sentry-debug-images", optional = true }
71-
sentry-log = { version = "0.37.0", path = "../sentry-log", optional = true }
72-
sentry-panic = { version = "0.37.0", path = "../sentry-panic", optional = true }
73-
sentry-slog = { version = "0.37.0", path = "../sentry-slog", optional = true }
74-
sentry-tower = { version = "0.37.0", path = "../sentry-tower", optional = true }
75-
sentry-tracing = { version = "0.37.0", path = "../sentry-tracing", optional = true }
76-
sentry-opentelemetry = { version = "0.37.0", path = "../sentry-opentelemetry", optional = true }
66+
sentry-anyhow = { version = "0.38.0", path = "../sentry-anyhow", optional = true }
67+
sentry-actix = { version = "0.38.0", path = "../sentry-actix", optional = true, default-features = false }
68+
sentry-backtrace = { version = "0.38.0", path = "../sentry-backtrace", optional = true }
69+
sentry-contexts = { version = "0.38.0", path = "../sentry-contexts", optional = true }
70+
sentry-debug-images = { version = "0.38.0", path = "../sentry-debug-images", optional = true }
71+
sentry-log = { version = "0.38.0", path = "../sentry-log", optional = true }
72+
sentry-panic = { version = "0.38.0", path = "../sentry-panic", optional = true }
73+
sentry-slog = { version = "0.38.0", path = "../sentry-slog", optional = true }
74+
sentry-tower = { version = "0.38.0", path = "../sentry-tower", optional = true }
75+
sentry-tracing = { version = "0.38.0", path = "../sentry-tracing", optional = true }
76+
sentry-opentelemetry = { version = "0.38.0", path = "../sentry-opentelemetry", optional = true }
7777
log = { version = "0.4.8", optional = true, features = ["std"] }
7878
reqwest = { version = "0.12", optional = true, features = [
7979
"blocking",

0 commit comments

Comments
 (0)