Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sentry crate to 0.34.0 #453

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 4, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
sentry (source) dependencies minor 0.20.1 -> 0.34.0

Release Notes

getsentry/sentry-rust (sentry)

v0.34.0

Compare Source

Features:

  • Renamed the UNSTABLE_metrics and UNSTABLE_cadence feature flags to metrics and metrics-cadence1 respectively.

v0.33.0

Compare Source

Various fixes & improvements

v0.32.3

Compare Source

Compatiblity:

  • Raised the MSRV to 1.73.

Improvements:

  • Slightly improved overhead of the tracing layer. (#​642)

Updates:

  • Updated reqwest to version 0.12.
  • Updated tonic to version 0.11.

v0.32.2

Compare Source

Various fixes & improvements

v0.32.1

Compare Source

Features:

  • Add experimental implementations for Sentry metrics and a cadence sink. These
    require to use the UNSTABLE_metrics and UNSTABLE_cadence feature flags.
    Note that these APIs are still under development and subject to change.

v0.32.0

Compare Source

Features:

  • Updated sentry-tower dependencies, including axum and http.

v0.31.8

Compare Source

Various fixes & improvements

v0.31.7

Compare Source

Various fixes & improvements
  • The minimum supported Rust version was bumped to 1.68.0 due to requirements from dependencies. (#​612)

v0.31.6

Compare Source

Various fixes & improvements

v0.31.5

Compare Source

Various fixes & improvements

v0.31.4

Compare Source

Various fixes & improvements

v0.31.3

Compare Source

Various fixes & improvements

v0.31.2

Compare Source

Various fixes & improvements

v0.31.1

Compare Source

Features:

  • Add a new (tower-)axum-matched-path feature to use the MatchedPath as transaction name, along with attaching the request metadata to the transaction.

Fixes:

  • Fix rate-limiting/filtering of raw envelopes.

Thank you:

Features, fixes and improvements in this release have been contributed by:

v0.31.0

Compare Source

Breaking Changes:

  • Aligned profiling-related protocol types.

Features:

  • Added a ProfilesSampler to the ClientOptions.

Fixes:

  • Fix building ureq transport without the native-tls feature.
  • Fixed serialization of raw Envelopes, and added a new from_bytes_raw constructor.

Thank you:

Features, fixes and improvements in this release have been contributed by:

v0.30.0

Compare Source

Breaking Changes:

  • The minimum supported Rust version was bumped to 1.66.0 due to CI workflow misconfiguration.

Fixes:

  • Switch to checked version of from_secs_f64 in timestamp_to_datetime function to prevent panics (#​554) by @​olksdr

Internal:

v0.29.3

Compare Source

Features:

  • debug_images is now a default feature. (#​545
  • Added a from_path_raw function to Envelope that reads an envelope from a file without parsing anything. (#​549)
  • Added a data method to performance::Span that gives access to the span's attached data. (#​548)

Fixes:

  • Envelopes will be discarded rather than blocking if the transport channel fills up. (#​546)

v0.29.2

Compare Source

Various fixes & improvements

v0.29.1

Compare Source

Features:

  • Users of TransactionContext may now add custom context to it. This may be used by traces_sampler to decide sampling rates on a per-transaction basis. (#​512)

Fixes:

  • Correctly strip crates hashes for v0 symbol mangling. (#​525)

Internal:

  • Simplify Hub::run and SentryFuture by using a scope-guard for Hub switching. (#​524, #​529)

Thank you:

Features, fixes and improvements in this release have been contributed by:

v0.29.0

Compare Source

Features:

  • Allow traces_sampler to inspect well known properties of TransactionContext (#​514)

v0.28.0

Compare Source

Breaking Changes:

  • The minimum supported Rust version was bumped to 1.60.0 due to requirements from dependencies. (#​498)
  • Added the traces_sampler option to ClientOptions. This allows the user to customise sampling rates on a per-transaction basis. (#​510)

Features:

  • Add support for Profiling feature. (#​479)
  • Add SSL_VERIFY option to control certificate verification. (#​508)
  • Add Windows OS version to OS context (#​499)
  • Add a tower-http feature as a shortcut (#​493)

Internal:

  • Take advantage of weak features in Rust 1.60 for TLS enablement (#​454)
  • Turn off pprof default features (#​491)
  • Change session update logic to follow the spec (#​477)
  • Extract public event_from_error fn in sentry-anyhow (#​476)

Thank you:

Features, fixes and improvements in this release have been contributed by:

v0.27.0

Compare Source

Breaking Changes:

  • The minimum supported Rust version was bumped to 1.57.0 due to requirements from dependencies. (#​472)
  • Add the rust-version field to the manifest. (#​473)
  • Update to edition 2021. (#​473)

Features:

  • Implement Envelope::from_path and Envelope::from_slice. (#​456)
  • Add basic attachment support. (#​466)

Internal:

  • Replace ancient lazy_static crate with once_cell or const slices. (#​471)

Thank you:

Features, fixes and improvements in this release have been contributed by:

v0.26.0

Compare Source

Breaking Changes:

  • Updated the debugid and uuid dependencies to versions 0.8.0 and 1.0.0 respectively.

Features:

  • Request data can now be attached to Transactions and Spans via set_transaction. (#​439)
  • macOS versions are now reported instead of the Darwin kernel version. (#​451)
  • Support capturing the error of functions instrumented with #[instrument(err)]. (#​453)
  • Support capturing span data of instrumented functions. (#​445)
  • Expose the debug_images function from sentry-debug-images.

Fixes:

  • Generate a more correct request URL in the sentry-tower integration. (#​460)
  • Do not panic on invalid HTTP(S)_PROXY env. (#​450)

Internal:

  • Project Ids in DSN are treated as opaque strings. (#​452)

Thank you:

Features, fixes and improvements in this release have been contributed by:

v0.25.0

Compare Source

Breaking Changes:

  • The minimum supported Rust version was bumped to 1.54.0 due to requirements from dependencies.
  • Updated the sentry-actix integration to actix-web@4. (#​437)

Features:

  • Calling Scope::set_transaction will override the Transaction name of any currently running performance monitoring transaction. (#​433)

Fixes:

  • Make sure Spans/Transactions have a meaningful/non-empty name. (#​434)

Thank you:

Features, fixes and improvements in this release have been contributed by:

v0.24.3

Compare Source

Features:

  • Added ureq transport support. (#​419)
  • Added GpuContext to the Context. (#​428)

Fixes:

  • Remove unused serde_json feature from curl dependency. (#​420)
  • sentry-tracing: When converting a tracing event to a sentry event, don't create an exception if the original event doesn't have one (#​423)
  • sentry-tracing: Add line numbers and tags into custom Contexts sections. (#​430)

Thank you:

Features, fixes and improvements in this release have been contributed by:

v0.24.2

Compare Source

Fixes:

  • Make sure sentry-core compiler without the client feature. (#​416)
  • Fix incorrect wrapping of Service Futures in sentry-tower that could lead to memory leaks combined with the Http Service. (#​417)

v0.24.1

Compare Source

Breaking Changes:

  • The minimum supported Rust version was bumped to 1.53.0 due to requirements from dependencies.
  • The backtrace feature of sentry-anyhow is enabled by default. (#​362)
  • The tracing-subscriber dependency of sentry-tracing has been bumped to version 0.3.x. (#​377)
  • Scope::add_event_processor now takes a generic parameter instead of a boxed function.(#​380)
  • The new performance monitoring APIs required changes to a few protocol types.
  • A few more constructors are now decorated with #[must_use].
  • Usage of chrono in public API types was removed in favor of SystemTime. (#​409)

Features:

  • Added manual APIs for performance monitoring and span/transaction collection. (#​395)
  • Added span/transaction collection to sentry-tracing. (#​350, #​400)
  • Added a new crate sentry-tower and feature tower that enables integration with tower. (#​356)
  • The new sentry-tower crate has a http feature which can be used to log request details and start new performance monitoring spans based on incoming distributed tracing headers. (#​397)
  • Similarly, the sentry-actix integration also has the ability to start new performance monitoring spans based on incoming distributed tracing headers. (#​411)
  • Added a new feature surf-h1 for using surf with the h1 client. (#​357)
  • Added support for Span::record to sentry-tracing. (#​364)
  • Errors captured in the tracing integration are being reported as sentry Exceptions. (#​412)
  • Added Windows support for debug images. (#​366)

Fixes:

  • The tokio dependency is now only required for the curl, reqwest, and surf features. (#​363)
  • The rate limiting implementation was updated to follow the expected behavior. (#​410)

Thank you:

Features, fixes and improvements in this release have been contributed by:

v0.23.0

Compare Source

Breaking Changes:

  • The minimum supported Rust version was bumped to 1.46.0 due to requirements from dependencies.

Features:

  • Added support for pre-aggregated Sessions using the new SessionMode::Request option. This requires Sentry 21.2.
  • Added a new Client::flush method to explicitly flush the transport and use that to make sure events are flushed out when using panic=abort.
  • Added a new flush hook to the Transport trait.
  • Exposed a new RateLimiter utility that transport implementations can use to drop envelopes early when the DSN is being rate limited.
  • Optionally allow capturing backtraces from anyhow errors.
  • Added new crate sentry-tracing and feature tracing that enables support to capture Events and Breadcrumbs from tracing logs.

Fixes:

  • Honor the attach_stacktrace option correctly when capturing errors.
  • Added the missing addr_mode property to Frame.
  • Fixed extracting the error type from a anyhow::msg.

Thank you:

Features, fixes and improvements in this release have been contributed by:

v0.22.0

Compare Source

Breaking Changes:

  • The minimum supported Rust version was bumped to 1.45.0.
  • The deprecated error-chain and failure integrations, features and crates were removed.

Features:

  • The slog integration now supports capturing slog::KV pairs for both breadcrumbs and events.
  • Preliminary support for attachments was added to sentry-types and the Envelope. However, deeper integration into the SDK is not yet complete.

Fixes:

  • Fix regression defaulting ClientOptions::environment from SENTRY_ENVIRONMENT.
  • The debug-images integration now captures the correct image_addr.
  • Do not send invalid exception events in the log and slog integrations. Both integrations no longer attach the location. To receive location information, set options.attach_stacktrace to true.
  • Process all event backtraces the same way.
  • Fix a panic in the session flusher.

Updates:

  • Updated reqwest to version 0.11, which is based on tokio 1.
  • Removed usage of the abandoned im crate, thus solving a transitive RUSTSEC advisory.

Thank you:

Features, fixes and improvements in this release have been contributed by:

v0.21.0

Compare Source

Breaking Changes:

  • Bump the minimum required Rust version to 1.42.0.
  • The actix integration / middleware is now compatible with actix-web 3.
  • Removed all deprecated exports and deprecated feature flags.
  • The failure integration / feature is now off-by-default along with its deprecation.
  • The log and slog integrations were re-designed, they now offer types that wrap a log::Log or slog::Drain and forward log events to the currently active sentry Hub based on an optional filter and an optional mapper.
  • The new log integration will not implicitly call log::set_max_level_filter anymore, and users need to do so manually.

Features:

  • The SDK will now set a default environment based on debug_assertions.
  • Session updates are now sent lazily.
  • Add the new end_session_with_status global and Hub functions which allow ending a Release Health Session with an explicit SessionStatus.

Deprecations:

  • The error-chain and failure integration was officially deprecated and will be removed soon.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link
Contributor Author

renovate bot commented Jan 4, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `sentry`.
    ... required by package `ogn-web-gateway v0.1.0 (/tmp/renovate/repos/github/Turbo87/ogn-web-gateway)`
versions that meet the requirements `^0.32.0` are: 0.32.3, 0.32.2, 0.32.1, 0.32.0

the package `ogn-web-gateway` depends on `sentry`, with features: `env_logger` but `sentry` does not have these features.


failed to select a version for `sentry` which could resolve this conflict

@renovate renovate bot force-pushed the renovate/sentry-rust-monorepo branch from 622271e to bb5274e Compare May 1, 2024 09:49
@renovate renovate bot changed the title Update sentry crate to 0.32 Update sentry crate to 0.32.3 May 1, 2024
@renovate renovate bot force-pushed the renovate/sentry-rust-monorepo branch 2 times, most recently from 5e9e75e to 96c5a59 Compare May 5, 2024 09:41
@renovate renovate bot changed the title Update sentry crate to 0.32.3 Update sentry crate to 0.32.0 May 5, 2024
@renovate renovate bot force-pushed the renovate/sentry-rust-monorepo branch from 96c5a59 to 256c6f2 Compare May 27, 2024 16:11
@renovate renovate bot changed the title Update sentry crate to 0.32.0 Update sentry crate to 0.33.0 May 27, 2024
Copy link
Contributor Author

renovate bot commented May 27, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `sentry`.
    ... required by package `ogn-web-gateway v0.1.0 (/tmp/renovate/repos/github/Turbo87/ogn-web-gateway)`
versions that meet the requirements `^0.34.0` are: 0.34.0

the package `ogn-web-gateway` depends on `sentry`, with features: `env_logger` but `sentry` does not have these features.


failed to select a version for `sentry` which could resolve this conflict

@renovate renovate bot force-pushed the renovate/sentry-rust-monorepo branch from 256c6f2 to ecc880f Compare June 5, 2024 15:26
@renovate renovate bot changed the title Update sentry crate to 0.33.0 Update sentry crate to 0.34.0 Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants