Skip to content

Commit

Permalink
release: 0.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatinem committed Sep 9, 2020
1 parent 2e50a32 commit c1e0824
Show file tree
Hide file tree
Showing 18 changed files with 69 additions and 65 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## 0.20.0

**Highlights**:

Expand Down
6 changes: 3 additions & 3 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.19.1"
version = "0.20.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -22,8 +22,8 @@ with_sentry_default = [
]

[dependencies]
sentry = { version = "0.19.1", path = "../sentry", default-features = false }
sentry-failure = { version = "0.19.1", path = "../sentry-failure" }
sentry = { version = "0.20.0", path = "../sentry", default-features = false }
sentry-failure = { version = "0.20.0", path = "../sentry-failure" }
actix-web = { version = "0.7", default-features = false }
failure = "0.1.3"
fragile = "0.3.0"
4 changes: 2 additions & 2 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.19.1"
version = "0.20.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -15,5 +15,5 @@ edition = "2018"
all-features = true

[dependencies]
sentry-core = { version = "0.19.1", path = "../sentry-core" }
sentry-core = { version = "0.20.0", path = "../sentry-core" }
anyhow = "1.0.30"
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.19.1"
version = "0.20.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -15,7 +15,7 @@ edition = "2018"
all-features = true

[dependencies]
sentry-core = { version = "0.19.1", path = "../sentry-core" }
sentry-core = { version = "0.20.0", path = "../sentry-core" }
lazy_static = "1.4.0"
backtrace = "0.3.44"
regex = "1.3.4"
6 changes: 3 additions & 3 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.19.1"
version = "0.20.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -16,7 +16,7 @@ edition = "2018"
all-features = true

[dependencies]
sentry-core = { version = "0.19.1", path = "../sentry-core" }
sentry-core = { version = "0.20.0", path = "../sentry-core" }
libc = "0.2.66"
hostname = "0.3.0"
regex = "1.3.4"
Expand All @@ -29,4 +29,4 @@ uname = "0.1.1"
rustc_version = "0.2.3"

[dev-dependencies]
sentry = { version = "0.19.1", path = "../sentry", default-features = false, features = ["test"] }
sentry = { version = "0.20.0", path = "../sentry", default-features = false, features = ["test"] }
6 changes: 3 additions & 3 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.19.1"
version = "0.20.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -23,7 +23,7 @@ debug-logs = ["log_"]
test = ["client"]

[dependencies]
sentry-types = { version = "0.19.1", path = "../sentry-types" }
sentry-types = { version = "0.20.0", path = "../sentry-types" }
serde = { version = "1.0.104", features = ["derive"] }
lazy_static = "1.4.0"
im = { version = "15.0.0", optional = true }
Expand All @@ -35,7 +35,7 @@ log_ = { package = "log", version = "0.4.8", optional = true, features = ["std"]
# Because we re-export all the public API in `sentry`, we actually run all the
# doctests using the `sentry` crate. This also takes care of the doctest
# limitation documented in https://github.com/rust-lang/rust/issues/45599.
sentry = { version = "0.19.1", path = "../sentry", default-features = false, features = ["test"] }
sentry = { version = "0.20.0", path = "../sentry", default-features = false, features = ["test"] }
thiserror = "1.0.15"
anyhow = "1.0.30"
failure = "0.1.8"
Expand Down
13 changes: 7 additions & 6 deletions sentry-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@ functionality.

[`sentry`]: https://crates.io/crates/sentry
[Unified API]: https://develop.sentry.dev/sdk/unified-api/
[`Client`]: https://docs.rs/sentry-core/0.19.0/sentry_core/struct.Client.html
[`Hub`]: https://docs.rs/sentry-core/0.19.0/sentry_core/struct.Hub.html
[`Scope`]: https://docs.rs/sentry-core/0.19.0/sentry_core/struct.Scope.html
[`Integration`]: https://docs.rs/sentry-core/0.19.0/sentry_core/trait.Integration.html
[`Transport`]: https://docs.rs/sentry-core/0.19.0/sentry_core/trait.Transport.html
[`TransportFactory`]: https://docs.rs/sentry-core/0.19.0/sentry_core/trait.TransportFactory.html
[`Client`]: https://docs.rs/sentry-core/0.20.0/sentry_core/struct.Client.html
[`Hub`]: https://docs.rs/sentry-core/0.20.0/sentry_core/struct.Hub.html
[`Scope`]: https://docs.rs/sentry-core/0.20.0/sentry_core/struct.Scope.html
[`Integration`]: https://docs.rs/sentry-core/0.20.0/sentry_core/trait.Integration.html
[`Transport`]: https://docs.rs/sentry-core/0.20.0/sentry_core/trait.Transport.html
[`TransportFactory`]: https://docs.rs/sentry-core/0.20.0/sentry_core/trait.TransportFactory.html
[`test`]: https://docs.rs/sentry-core/0.20.0/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.19.1"
version = "0.20.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -15,6 +15,6 @@ edition = "2018"
all-features = true

[dependencies]
sentry-core = { version = "0.19.1", path = "../sentry-core" }
sentry-core = { version = "0.20.0", path = "../sentry-core" }
lazy_static = "1.4.0"
findshlibs = "0.7.0"
8 changes: 4 additions & 4 deletions sentry-error-chain/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentry-error-chain"
version = "0.19.1"
version = "0.20.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -15,9 +15,9 @@ edition = "2018"
all-features = true

[dependencies]
sentry-core = { version = "0.19.1", path = "../sentry-core" }
sentry-backtrace = { version = "0.19.1", path = "../sentry-backtrace" }
sentry-core = { version = "0.20.0", path = "../sentry-core" }
sentry-backtrace = { version = "0.20.0", path = "../sentry-backtrace" }
error-chain = "0.12.1"

[dev-dependencies]
sentry = { version = "0.19.1", path = "../sentry", default-features = false, features = ["test"] }
sentry = { version = "0.20.0", path = "../sentry", default-features = false, features = ["test"] }
10 changes: 5 additions & 5 deletions sentry-failure/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentry-failure"
version = "0.19.1"
version = "0.20.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -15,10 +15,10 @@ edition = "2018"
all-features = true

[dependencies]
sentry-core = { version = "0.19.1", path = "../sentry-core" }
sentry-backtrace = { version = "0.19.1", path = "../sentry-backtrace" }
sentry-core = { version = "0.20.0", path = "../sentry-core" }
sentry-backtrace = { version = "0.20.0", path = "../sentry-backtrace" }
failure = "0.1.6"

[dev-dependencies]
sentry = { version = "0.19.1", path = "../sentry", default-features = false, features = ["test"] }
sentry-panic = { version = "0.19.1", path = "../sentry-panic" }
sentry = { version = "0.20.0", path = "../sentry", default-features = false, features = ["test"] }
sentry-panic = { version = "0.20.0", path = "../sentry-panic" }
8 changes: 4 additions & 4 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.19.1"
version = "0.20.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -15,12 +15,12 @@ edition = "2018"
all-features = true

[dependencies]
sentry-core = { version = "0.19.1", path = "../sentry-core" }
sentry-backtrace = { version = "0.19.1", path = "../sentry-backtrace" }
sentry-core = { version = "0.20.0", path = "../sentry-core" }
sentry-backtrace = { version = "0.20.0", path = "../sentry-backtrace" }
log = { version = "0.4.8", features = ["std"] }
env_logger = { version = "0.7.1", optional = true }

[dev-dependencies]
sentry = { version = "0.19.1", path = "../sentry", default-features = false, features = ["test"] }
sentry = { version = "0.20.0", path = "../sentry", default-features = false, features = ["test"] }
pretty_env_logger = "0.4.0"
env_logger = "0.7.1"
2 changes: 1 addition & 1 deletion sentry-log/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ let mut log_builder = pretty_env_logger::formatted_builder();
log_builder.parse_filters("info");
let log_integration =
sentry_log::LogIntegration::default().with_env_logger_dest(Some(log_builder.build()));
let _sentry = sentry::init(sentry::ClientOptions::default().add_integration(log_integration));
let _setry = sentry::init(sentry::ClientOptions::default().add_integration(log_integration));

log::error!("Generates an event");
```
Expand Down
8 changes: 4 additions & 4 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.19.1"
version = "0.20.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -15,8 +15,8 @@ edition = "2018"
all-features = true

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

[dev-dependencies]
sentry = { version = "0.19.1", path = "../sentry", default-features = false, features = ["test"] }
sentry = { version = "0.20.0", path = "../sentry", default-features = false, features = ["test"] }
6 changes: 3 additions & 3 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.19.1"
version = "0.20.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -15,8 +15,8 @@ edition = "2018"
all-features = true

[dependencies]
sentry-core = { version = "0.19.1", path = "../sentry-core" }
sentry-core = { version = "0.20.0", path = "../sentry-core" }
slog = "2.5.2"

[dev-dependencies]
sentry = { version = "0.19.1", path = "../sentry", default-features = false, features = ["test"] }
sentry = { version = "0.20.0", path = "../sentry", default-features = false, features = ["test"] }
4 changes: 2 additions & 2 deletions sentry-slog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ let integration = SlogIntegration::default()
Please not that the `mapper` can override any classification from the
previous `filter`.

[`SlogIntegration`]: https://docs.rs/sentry-slog/0.19.0/sentry_slog/struct.SlogIntegration.html
[`SentryDrain`]: https://docs.rs/sentry-slog/0.19.0/sentry_slog/struct.SentryDrain.html
[`SlogIntegration`]: https://docs.rs/sentry-slog/0.20.0/sentry_slog/struct.SlogIntegration.html
[`SentryDrain`]: https://docs.rs/sentry-slog/0.20.0/sentry_slog/struct.SentryDrain.html

## Resources

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.19.1"
version = "0.20.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand Down
28 changes: 14 additions & 14 deletions sentry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sentry"
version = "0.19.1"
version = "0.20.0"
authors = ["Sentry <hello@sentry.io>"]
license = "Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -61,16 +61,16 @@ with_native_tls = ["native-tls"]
with_rustls = ["rustls"]

[dependencies]
sentry-core = { version = "0.19.1", path = "../sentry-core", features = ["client"] }
sentry-anyhow = { version = "0.19.1", path = "../sentry-anyhow", optional = true }
sentry-backtrace = { version = "0.19.1", path = "../sentry-backtrace", optional = true }
sentry-contexts = { version = "0.19.1", path = "../sentry-contexts", optional = true }
sentry-debug-images = { version = "0.19.1", path = "../sentry-debug-images", optional = true }
sentry-error-chain = { version = "0.19.1", path = "../sentry-error-chain", optional = true }
sentry-failure = { version = "0.19.1", path = "../sentry-failure", optional = true }
sentry-log = { version = "0.19.1", path = "../sentry-log", optional = true }
sentry-panic = { version = "0.19.1", path = "../sentry-panic", optional = true }
sentry-slog = { version = "0.19.1", path = "../sentry-slog", optional = true }
sentry-core = { version = "0.20.0", path = "../sentry-core", features = ["client"] }
sentry-anyhow = { version = "0.20.0", path = "../sentry-anyhow", optional = true }
sentry-backtrace = { version = "0.20.0", path = "../sentry-backtrace", optional = true }
sentry-contexts = { version = "0.20.0", path = "../sentry-contexts", optional = true }
sentry-debug-images = { version = "0.20.0", path = "../sentry-debug-images", optional = true }
sentry-error-chain = { version = "0.20.0", path = "../sentry-error-chain", optional = true }
sentry-failure = { version = "0.20.0", path = "../sentry-failure", optional = true }
sentry-log = { version = "0.20.0", path = "../sentry-log", optional = true }
sentry-panic = { version = "0.20.0", path = "../sentry-panic", optional = true }
sentry-slog = { version = "0.20.0", path = "../sentry-slog", optional = true }
log_ = { package = "log", version = "0.4.8", optional = true, features = ["std"] }
reqwest_ = { package = "reqwest", version = "0.10.1", optional = true, features = ["blocking", "json"], default-features = false }
curl_ = { package = "curl", version = "0.4.25", optional = true }
Expand All @@ -81,9 +81,9 @@ httpdate = { version = "0.3.2", optional = true }
serde_json = { version = "1.0.48", optional = true }

[dev-dependencies]
sentry-anyhow = { version = "0.19.1", path = "../sentry-anyhow" }
sentry-error-chain = { version = "0.19.1", path = "../sentry-error-chain" }
sentry-log = { version = "0.19.1", path = "../sentry-log", features = ["env_logger"] }
sentry-anyhow = { version = "0.20.0", path = "../sentry-anyhow" }
sentry-error-chain = { version = "0.20.0", path = "../sentry-error-chain" }
sentry-log = { version = "0.20.0", path = "../sentry-log", features = ["env_logger"] }
log_ = { package = "log", version = "0.4.8", features = ["std"] }
failure_derive = "0.1.6"
actix-web = { version = "0.7.19", default-features = false }
Expand Down
13 changes: 8 additions & 5 deletions sentry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,24 @@ sentry::capture_message("Hello World!", sentry::Level::Info);
// seconds to send remaining events to the service.
```

[`sentry::init`]: https://docs.rs/sentry/0.19.0/sentry/fn.init.html
[`Hub`]: https://docs.rs/sentry/0.19.0/sentry/struct.Hub.html
[`sentry::init`]: https://docs.rs/sentry/0.20.0/sentry/fn.init.html
[`Hub`]: https://docs.rs/sentry/0.20.0/sentry/struct.Hub.html

## Integrations

What makes this crate useful are the various integrations that exist. Some of them are enabled
by default, some uncommon ones or for deprecated parts of the ecosystem a feature flag needs to
be enabled. For the available integrations and how to use them see
[integrations](https://docs.rs/sentry/0.19.0/sentry/integrations/index.html) and [apply_defaults](https://docs.rs/sentry/0.19.0/sentry/fn.apply_defaults.html).
[integrations](https://docs.rs/sentry/0.20.0/sentry/integrations/index.html) and [apply_defaults](https://docs.rs/sentry/0.20.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.19.0/sentry/trait.Integration.html
[`Transport`]: https://docs.rs/sentry/0.19.0/sentry/trait.Transport.html
[`Integration`]: https://docs.rs/sentry/0.20.0/sentry/trait.Integration.html
[`Transport`]: https://docs.rs/sentry/0.20.0/sentry/trait.Transport.html
[`sentry-core`]: https://crates.io/crates/sentry-core

## Features
Expand All @@ -67,6 +67,7 @@ Additional features:
* `debug-images`: Attaches a list of loaded libraries to events (currently only supported on unix).
* `error-chain`: Enables support for the `error-chain` crate.
* `log`: Enables support for the `log` crate.
* `env_logger`: Enables support for the `log` crate with additional `env_logger` support.
* `slog`: Enables support for the `slog` crate.
* `test`: Enables testing support.
* `debug-logs`: Uses the `log` crate for internal logging.
Expand All @@ -76,6 +77,8 @@ Additional features:
* `native-tls`: Uses the `native-tls` crate, which is currently the default.
This only has an effect on the `reqwest` transport.
* `rustls`: Enables the `rustls` support of the `reqwest` transport.
Please note that `native-tls` is a default feature, and one needs to use
`default-features = false` to completely disable building `native-tls` dependencies.

## Resources

Expand Down

0 comments on commit c1e0824

Please sign in to comment.