Skip to content

Commit

Permalink
Merge branch 'release/0.26.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
getsentry-bot committed May 20, 2022
2 parents 941fc2b + 97d8c15 commit 6e777c2
Show file tree
Hide file tree
Showing 18 changed files with 54 additions and 55 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## 0.26.0

**Breaking Changes**:

Expand Down
4 changes: 2 additions & 2 deletions sentry-actix/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sentry-actix"
version = "0.25.0"
version = "0.26.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -14,7 +14,7 @@ edition = "2018"
[dependencies]
actix-web = { version = "4", default-features = false }
futures-util = { version = "0.3.5", default-features = false }
sentry-core = { version = "0.25.0", path = "../sentry-core", default-features = false, features = ["client"] }
sentry-core = { version = "0.26.0", 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
@@ -1,6 +1,6 @@
[package]
name = "sentry-anyhow"
version = "0.25.0"
version = "0.26.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -16,8 +16,8 @@ default = ["backtrace"]
backtrace = ["anyhow/backtrace"]

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

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions sentry-backtrace/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sentry-backtrace"
version = "0.25.0"
version = "0.26.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -12,7 +12,7 @@ Sentry integration and utilities for dealing with stacktraces.
edition = "2018"

[dependencies]
sentry-core = { version = "0.25.0", path = "../sentry-core" }
sentry-core = { version = "0.26.0", path = "../sentry-core" }
lazy_static = "1.4.0"
backtrace = "0.3.44"
regex = "1.5.5"
4 changes: 2 additions & 2 deletions sentry-contexts/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sentry-contexts"
version = "0.25.0"
version = "0.26.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -13,7 +13,7 @@ build = "build.rs"
edition = "2018"

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

Expand Down
4 changes: 2 additions & 2 deletions sentry-core/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sentry-core"
version = "0.25.0"
version = "0.26.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -27,7 +27,7 @@ debug-logs = ["log_"]
test = ["client"]

[dependencies]
sentry-types = { version = "0.25.0", path = "../sentry-types" }
sentry-types = { version = "0.26.0", path = "../sentry-types" }
serde = { version = "1.0.104", features = ["derive"] }
lazy_static = "1.4.0"
rand = { version = "0.8.1", optional = true }
Expand Down
14 changes: 7 additions & 7 deletions sentry-core/README.md
Expand Up @@ -46,13 +46,13 @@ functionality.
[Sentry]: https://sentry.io/
[`sentry`]: https://crates.io/crates/sentry
[Unified API]: https://develop.sentry.dev/sdk/unified-api/
[`Client`]: https://docs.rs/sentry-core/0.25.0/sentry_core/struct.Client.html
[`Hub`]: https://docs.rs/sentry-core/0.25.0/sentry_core/struct.Hub.html
[`Scope`]: https://docs.rs/sentry-core/0.25.0/sentry_core/struct.Scope.html
[`Integration`]: https://docs.rs/sentry-core/0.25.0/sentry_core/trait.Integration.html
[`Transport`]: https://docs.rs/sentry-core/0.25.0/sentry_core/trait.Transport.html
[`TransportFactory`]: https://docs.rs/sentry-core/0.25.0/sentry_core/trait.TransportFactory.html
[`test`]: https://docs.rs/sentry-core/0.25.0/sentry_core/test/index.html
[`Client`]: https://docs.rs/sentry-core/0.26.0/sentry_core/struct.Client.html
[`Hub`]: https://docs.rs/sentry-core/0.26.0/sentry_core/struct.Hub.html
[`Scope`]: https://docs.rs/sentry-core/0.26.0/sentry_core/struct.Scope.html
[`Integration`]: https://docs.rs/sentry-core/0.26.0/sentry_core/trait.Integration.html
[`Transport`]: https://docs.rs/sentry-core/0.26.0/sentry_core/trait.Transport.html
[`TransportFactory`]: https://docs.rs/sentry-core/0.26.0/sentry_core/trait.TransportFactory.html
[`test`]: https://docs.rs/sentry-core/0.26.0/sentry_core/test/index.html

## Resources

Expand Down
4 changes: 2 additions & 2 deletions sentry-debug-images/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sentry-debug-images"
version = "0.25.0"
version = "0.26.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -12,6 +12,6 @@ Sentry integration that adds the list of loaded libraries to events.
edition = "2018"

[dependencies]
sentry-core = { version = "0.25.0", path = "../sentry-core" }
sentry-core = { version = "0.26.0", path = "../sentry-core" }
lazy_static = "1.4.0"
findshlibs = "=0.10.2"
5 changes: 1 addition & 4 deletions sentry-debug-images/README.md
Expand Up @@ -11,9 +11,6 @@ The Sentry Debug Images integration.
The [`DebugImagesIntegration`] adds metadata about the loaded shared
libraries to Sentry [`Event`]s.

This Integration only works on Unix-like OSes right now. Support for Windows
will be added in the future.

## Configuration

The integration by default attaches this information to all [`Event`]s, but
Expand All @@ -25,7 +22,7 @@ let integration = sentry_debug_images::DebugImagesIntegration::new()
.filter(|event| event.level >= Level::Warning);
```

[`Event`]: https://docs.rs/sentry-debug-images/0.25.0/sentry_debug-images/sentry_core::protocol::Event
[`Event`]: https://docs.rs/sentry-debug-images/0.26.0/sentry_debug-images/sentry_core::protocol::Event

## Resources

Expand Down
4 changes: 2 additions & 2 deletions sentry-log/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sentry-log"
version = "0.25.0"
version = "0.26.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -12,7 +12,7 @@ Sentry integration for log and env_logger crates.
edition = "2018"

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

[dev-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions sentry-panic/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sentry-panic"
version = "0.25.0"
version = "0.26.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -12,8 +12,8 @@ Sentry integration for capturing panics.
edition = "2018"

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

[dev-dependencies]
sentry = { path = "../sentry", default-features = false, features = ["test"] }
4 changes: 2 additions & 2 deletions sentry-slog/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sentry-slog"
version = "0.25.0"
version = "0.26.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -12,7 +12,7 @@ Sentry integration for the slog crate.
edition = "2018"

[dependencies]
sentry-core = { version = "0.25.0", path = "../sentry-core" }
sentry-core = { version = "0.26.0", 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
@@ -1,6 +1,6 @@
[package]
name = "sentry-tower"
version = "0.25.0"
version = "0.26.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -19,7 +19,7 @@ tower-layer = "0.3"
tower-service = "0.3"
http_ = { package = "http", version = "0.2.6", optional = true }
pin-project = { version = "1.0.10", optional = true }
sentry-core = { version = "0.25.0", path = "../sentry-core", default-features = false, features = ["client"] }
sentry-core = { version = "0.26.0", path = "../sentry-core", default-features = false, features = ["client"] }
url = { version = "2.2.2", optional = true }

[dev-dependencies]
Expand Down
4 changes: 3 additions & 1 deletion sentry-tower/README.md
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.25.0/sentry_tower/sentry_core::Scope::set_transaction)
in the request handler using the [`Scope::set_transaction`](https://docs.rs/sentry-tower/0.26.0/sentry_tower/sentry_core::Scope::set_transaction)
method.

When combining both layers, take care of the ordering of both. For example
Expand All @@ -114,6 +114,8 @@ let layer = tower::ServiceBuilder::new()
.layer(sentry_tower::SentryHttpLayer::with_transaction());
```

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

## Resources

License: Apache-2.0
Expand Down
4 changes: 2 additions & 2 deletions sentry-tracing/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sentry-tracing"
version = "0.25.0"
version = "0.26.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -12,7 +12,7 @@ Sentry integration for tracing and tracing-subscriber crates.
edition = "2018"

[dependencies]
sentry-core = { version = "0.25.0", path = "../sentry-core", features = ["client"] }
sentry-core = { version = "0.26.0", 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
@@ -1,6 +1,6 @@
[package]
name = "sentry-types"
version = "0.25.0"
version = "0.26.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand Down
22 changes: 11 additions & 11 deletions sentry/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sentry"
version = "0.25.0"
version = "0.26.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -48,16 +48,16 @@ ureq = ["ureq_/tls", "httpdate"]
ureq-native-tls = ["ureq_/native-tls", "httpdate"]

[dependencies]
sentry-core = { version = "0.25.0", path = "../sentry-core", features = ["client"] }
sentry-anyhow = { version = "0.25.0", path = "../sentry-anyhow", optional = true }
sentry-backtrace = { version = "0.25.0", path = "../sentry-backtrace", optional = true }
sentry-contexts = { version = "0.25.0", path = "../sentry-contexts", optional = true }
sentry-debug-images = { version = "0.25.0", path = "../sentry-debug-images", optional = true }
sentry-log = { version = "0.25.0", path = "../sentry-log", optional = true }
sentry-panic = { version = "0.25.0", path = "../sentry-panic", optional = true }
sentry-slog = { version = "0.25.0", path = "../sentry-slog", optional = true }
sentry-tower = { version = "0.25.0", path = "../sentry-tower", optional = true }
sentry-tracing = { version = "0.25.0", path = "../sentry-tracing", optional = true }
sentry-core = { version = "0.26.0", path = "../sentry-core", features = ["client"] }
sentry-anyhow = { version = "0.26.0", path = "../sentry-anyhow", optional = true }
sentry-backtrace = { version = "0.26.0", path = "../sentry-backtrace", optional = true }
sentry-contexts = { version = "0.26.0", path = "../sentry-contexts", optional = true }
sentry-debug-images = { version = "0.26.0", path = "../sentry-debug-images", optional = true }
sentry-log = { version = "0.26.0", path = "../sentry-log", optional = true }
sentry-panic = { version = "0.26.0", path = "../sentry-panic", optional = true }
sentry-slog = { version = "0.26.0", path = "../sentry-slog", optional = true }
sentry-tower = { version = "0.26.0", path = "../sentry-tower", optional = true }
sentry-tracing = { version = "0.26.0", path = "../sentry-tracing", optional = true }
log_ = { package = "log", version = "0.4.8", optional = true, features = ["std"] }
reqwest_ = { package = "reqwest", version = "0.11", optional = true, features = ["blocking", "json"], default-features = false }
curl_ = { package = "curl", version = "0.4.25", optional = true }
Expand Down
12 changes: 6 additions & 6 deletions sentry/README.md
Expand Up @@ -33,8 +33,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.25.0/sentry/fn.init.html
[`Hub`]: https://docs.rs/sentry/0.25.0/sentry/struct.Hub.html
[`sentry::init`]: https://docs.rs/sentry/0.26.0/sentry/fn.init.html
[`Hub`]: https://docs.rs/sentry/0.26.0/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 @@ -46,17 +46,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.25.0/sentry/integrations/index.html
[apply_defaults]: https://docs.rs/sentry/0.25.0/sentry/fn.apply_defaults.html
[integrations]: https://docs.rs/sentry/0.26.0/sentry/integrations/index.html
[apply_defaults]: https://docs.rs/sentry/0.26.0/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.25.0/sentry/trait.Integration.html
[`Transport`]: https://docs.rs/sentry/0.25.0/sentry/trait.Transport.html
[`Integration`]: https://docs.rs/sentry/0.26.0/sentry/trait.Integration.html
[`Transport`]: https://docs.rs/sentry/0.26.0/sentry/trait.Transport.html
[`sentry-core`]: https://crates.io/crates/sentry-core

## Features
Expand Down

0 comments on commit 6e777c2

Please sign in to comment.