Releases: getsentry/sentry-rust
0.29.0
0.28.0
Breaking Changes:
- The minimum supported Rust version was bumped to 1.60.0 due to requirements from dependencies. (#498)
- Added the
traces_sampler
option toClientOptions
. 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 insentry-anyhow
(#476)
Thank you:
Features, fixes and improvements in this release have been contributed by:
0.27.0
Breaking Changes:
- The minium 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:
Internal:
- Replace ancient
lazy_static
crate withonce_cell
orconst
slices. (#471)
Thank you:
Features, fixes, and improvements in this release have been contributed by:
0.26.0
Breaking Changes:
- Updated the
debugid
anduuid
dependencies to versions0.8.0
and1.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 fromsentry-debug-images
.
Fixes:
- Generate a more correct request URL in the
sentry-tower
integration. (#460) - Do not
panic
on invalidHTTP(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:
0.25.0
Breaking Changes:
- The minium supported Rust version was bumped to 1.54.0 due to requirements from dependencies.
- Updated the
sentry-actix
integration toactix-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:
0.24.3
Features:
Fixes:
- Remove unused
serde_json
feature fromcurl
dependency. (#420) sentry-tracing
: When converting atracing
event to asentry
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:
0.24.2
0.24.1
Breaking Changes:
- The minium supported Rust version was bumped to 1.53.0 due to requirements from dependencies.
- The
backtrace
feature ofsentry-anyhow
is enabled by default. (#362) - The
tracing-subscriber
dependency ofsentry-tracing
has been bumped to version0.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 ofSystemTime
. (#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 featuretower
that enables integration withtower
. (#356) - The new
sentry-tower
crate has ahttp
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 usingsurf
with the h1 client. (#357) - Added support for
Span::record
tosentry-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 thecurl
,reqwest
, andsurf
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:
0.23.0
Breaking Changes:
- The minium 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 usingpanic=abort
. - Added a new
flush
hook to theTransport
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 featuretracing
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 toFrame
. - Fixed extracting the error type from a
anyhow::msg
.
Thank you:
Features, fixes and improvements in this release have been contributed by:
0.22.0
Breaking Changes:
- The minimum supported Rust version was bumped to 1.45.0.
- The deprecated
error-chain
andfailure
integrations, features and crates were removed.
Features:
- The
slog
integration now supports capturingslog::KV
pairs for both breadcrumbs and events. - Preliminary support for attachments was added to
sentry-types
and theEnvelope
. However, deeper integration into the SDK is not yet complete.
Fixes:
- Fix regression defaulting
ClientOptions::environment
fromSENTRY_ENVIRONMENT
. - The
debug-images
integration now captures the correctimage_addr
. - Do not send invalid exception events in the
log
andslog
integrations. Both integrations no longer attach the location. To receive location information, setoptions.attach_stacktrace
totrue
. - Process all event backtraces the same way.
- Fix a panic in the session flusher.
Updates:
- Updated
reqwest
to version0.11
, which is based ontokio 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: