Skip to content

Commit abedcc8

Browse files
committed
release: 0.25.0
1 parent 761e27c commit abedcc8

File tree

20 files changed

+84
-69
lines changed

20 files changed

+84
-69
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.25.0
44

55
**Breaking Changes**:
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.24.3"
3+
version = "0.25.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -14,7 +14,7 @@ edition = "2018"
1414
[dependencies]
1515
actix-web = { version = "4", default-features = false }
1616
futures-util = { version = "0.3.5", default-features = false }
17-
sentry-core = { version = "0.24.3", path = "../sentry-core", default-features = false, features = ["client"] }
17+
sentry-core = { version = "0.25.0", path = "../sentry-core", default-features = false, features = ["client"] }
1818

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

sentry-actix/README.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,26 @@ async fn failing(_req: HttpRequest) -> Result<String, Error> {
2626
Err(io::Error::new(io::ErrorKind::Other, "An error happens here").into())
2727
}
2828

29-
#[actix_web::main]
30-
async fn main() -> io::Result<()> {
31-
let _guard = sentry::init(());
29+
fn main() -> io::Result<()> {
30+
let _guard = sentry::init(sentry::ClientOptions {
31+
release: sentry::release_name!(),
32+
..Default::default()
33+
});
3234
std::env::set_var("RUST_BACKTRACE", "1");
3335

34-
HttpServer::new(|| {
35-
App::new()
36-
.wrap(sentry_actix::Sentry::new())
37-
.service(failing)
36+
let runtime = tokio::runtime::Builder::new_multi_thread()
37+
.enable_all()
38+
.build()?;
39+
runtime.block_on(async move {
40+
HttpServer::new(|| {
41+
App::new()
42+
.wrap(sentry_actix::Sentry::new())
43+
.service(failing)
44+
})
45+
.bind("127.0.0.1:3001")?
46+
.run()
47+
.await
3848
})
39-
.bind("127.0.0.1:3001")?
40-
.run()
41-
.await?;
42-
43-
Ok(())
4449
}
4550
```
4651

@@ -52,6 +57,7 @@ use `SessionMode::Request`.
5257

5358
```rust
5459
let _sentry = sentry::init(sentry::ClientOptions {
60+
release: sentry::release_name!(),
5561
session_mode: sentry::SessionMode::Request,
5662
auto_session_tracking: true,
5763
..Default::default()

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.24.3"
3+
version = "0.25.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -16,8 +16,8 @@ default = ["backtrace"]
1616
backtrace = ["anyhow/backtrace"]
1717

1818
[dependencies]
19-
sentry-backtrace = { version = "0.24.3", path = "../sentry-backtrace" }
20-
sentry-core = { version = "0.24.3", path = "../sentry-core" }
19+
sentry-backtrace = { version = "0.25.0", path = "../sentry-backtrace" }
20+
sentry-core = { version = "0.25.0", path = "../sentry-core" }
2121
anyhow = "1.0.39"
2222

2323
[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.24.3"
3+
version = "0.25.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -12,7 +12,7 @@ Sentry integration and utilities for dealing with stacktraces.
1212
edition = "2018"
1313

1414
[dependencies]
15-
sentry-core = { version = "0.24.3", path = "../sentry-core" }
15+
sentry-core = { version = "0.25.0", path = "../sentry-core" }
1616
lazy_static = "1.4.0"
1717
backtrace = "0.3.44"
1818
regex = "1.3.4"

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.24.3"
3+
version = "0.25.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -13,7 +13,7 @@ build = "build.rs"
1313
edition = "2018"
1414

1515
[dependencies]
16-
sentry-core = { version = "0.24.3", path = "../sentry-core" }
16+
sentry-core = { version = "0.25.0", path = "../sentry-core" }
1717
libc = "0.2.66"
1818
hostname = "0.3.0"
1919

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.24.3"
3+
version = "0.25.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -27,7 +27,7 @@ debug-logs = ["log_"]
2727
test = ["client"]
2828

2929
[dependencies]
30-
sentry-types = { version = "0.24.3", path = "../sentry-types" }
30+
sentry-types = { version = "0.25.0", path = "../sentry-types" }
3131
serde = { version = "1.0.104", features = ["derive"] }
3232
lazy_static = "1.4.0"
3333
rand = { version = "0.8.1", optional = true }

sentry-core/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ functionality.
4646
[Sentry]: https://sentry.io/
4747
[`sentry`]: https://crates.io/crates/sentry
4848
[Unified API]: https://develop.sentry.dev/sdk/unified-api/
49-
[`Client`]: https://docs.rs/sentry-core/0.24.3/sentry_core/struct.Client.html
50-
[`Hub`]: https://docs.rs/sentry-core/0.24.3/sentry_core/struct.Hub.html
51-
[`Scope`]: https://docs.rs/sentry-core/0.24.3/sentry_core/struct.Scope.html
52-
[`Integration`]: https://docs.rs/sentry-core/0.24.3/sentry_core/trait.Integration.html
53-
[`Transport`]: https://docs.rs/sentry-core/0.24.3/sentry_core/trait.Transport.html
54-
[`TransportFactory`]: https://docs.rs/sentry-core/0.24.3/sentry_core/trait.TransportFactory.html
55-
[`test`]: https://docs.rs/sentry-core/0.24.3/sentry_core/test/index.html
49+
[`Client`]: https://docs.rs/sentry-core/0.25.0/sentry_core/struct.Client.html
50+
[`Hub`]: https://docs.rs/sentry-core/0.25.0/sentry_core/struct.Hub.html
51+
[`Scope`]: https://docs.rs/sentry-core/0.25.0/sentry_core/struct.Scope.html
52+
[`Integration`]: https://docs.rs/sentry-core/0.25.0/sentry_core/trait.Integration.html
53+
[`Transport`]: https://docs.rs/sentry-core/0.25.0/sentry_core/trait.Transport.html
54+
[`TransportFactory`]: https://docs.rs/sentry-core/0.25.0/sentry_core/trait.TransportFactory.html
55+
[`test`]: https://docs.rs/sentry-core/0.25.0/sentry_core/test/index.html
5656

5757
## Resources
5858

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.24.3"
3+
version = "0.25.0"
44
authors = ["Sentry <hello@sentry.io>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -12,6 +12,6 @@ Sentry integration that adds the list of loaded libraries to events.
1212
edition = "2018"
1313

1414
[dependencies]
15-
sentry-core = { version = "0.24.3", path = "../sentry-core" }
15+
sentry-core = { version = "0.25.0", path = "../sentry-core" }
1616
lazy_static = "1.4.0"
1717
findshlibs = "=0.10.2"

sentry-debug-images/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ let integration = sentry_debug_images::DebugImagesIntegration::new()
2525
.filter(|event| event.level >= Level::Warning);
2626
```
2727

28-
[`Event`]: https://docs.rs/sentry-debug-images/0.24.3/sentry_debug-images/sentry_core::protocol::Event
28+
[`Event`]: https://docs.rs/sentry-debug-images/0.25.0/sentry_debug-images/sentry_core::protocol::Event
2929

3030
## Resources
3131

0 commit comments

Comments
 (0)