File tree 4 files changed +26
-6
lines changed
4 files changed +26
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Unreleased
4
4
5
+ ** Breaking Changes** :
6
+
7
+ - Updated the ` debugid ` and ` uuid ` dependencies to versions ` 0.8.0 ` and ` 1.0.0 ` respectively.
8
+
5
9
** Features** :
6
10
7
11
- Request data can now be attached to Transactions and Spans via ` set_transaction ` . ([ #439 ] ( https://github.com/getsentry/sentry-rust/pull/439 ) )
8
12
- macOS versions are now reported instead of the Darwin kernel version. ([ #451 ] ( https://github.com/getsentry/sentry-rust/pull/451 ) )
13
+ - Support capturing the error of functions instrumented with ` #[instrument(err)] ` . ([ #453 ] ( https://github.com/getsentry/sentry-rust/pull/453 ) )
14
+ - Support capturing span data of instrumented functions. ([ #445 ] ( https://github.com/getsentry/sentry-rust/pull/445 ) )
15
+ - Expose the ` debug_images ` function from ` sentry-debug-images ` .
16
+
17
+ ** Fixes** :
18
+
19
+ - Generate a more correct request URL in the ` sentry-tower ` integration. ([ #460 ] ( https://github.com/getsentry/sentry-rust/pull/460 ) )
20
+ - Do not ` panic ` on invalid ` HTTP(S)_PROXY ` env. ([ #450 ] ( https://github.com/getsentry/sentry-rust/pull/450 ) )
21
+
22
+ ** Internal** :
23
+
24
+ - Project Ids in DSN are treated as opaque strings. ([ #452 ] ( https://github.com/getsentry/sentry-rust/pull/452 ) )
9
25
10
26
** Thank you** :
11
27
12
28
Features, fixes and improvements in this release have been contributed by:
13
29
14
30
- [ @jessfraz ] ( https://github.com/jessfraz )
31
+ - [ @hannes-vernooij ] ( https://github.com/hannes-vernooij )
32
+ - [ @rajivshah3 ] ( https://github.com/rajivshah3 )
33
+ - [ @MarijnS95 ] ( https://github.com/MarijnS95 )
34
+ - [ @kvnvelasco ] ( https://github.com/kvnvelasco )
35
+ - [ @poliorcetics ] ( https://github.com/poliorcetics )
36
+ - [ @pbzweihander ] ( https://github.com/pbzweihander )
15
37
16
38
## 0.25.0
17
39
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ mod model_support {
54
54
55
55
pub fn get_macos_version ( ) -> Option < String > {
56
56
let version = sysctlbyname_call ( "kern.osproductversion" ) ?;
57
- let dot_count = version. split ( "." ) . count ( ) - 1 ;
57
+ let dot_count = version. split ( '.' ) . count ( ) - 1 ;
58
58
if dot_count < 2 {
59
59
return Some ( version + ".0" ) ;
60
60
}
@@ -89,7 +89,7 @@ mod model_support {
89
89
fn test_macos_version_and_build ( ) {
90
90
let v = get_macos_version ( ) . unwrap ( ) ;
91
91
assert ! ( v. chars( ) . all( |c| c. is_digit( 10 ) || c == '.' ) ) ;
92
- let dot_count = v. split ( "." ) . count ( ) - 1 ;
92
+ let dot_count = v. split ( '.' ) . count ( ) - 1 ;
93
93
assert_eq ! ( dot_count, 2 ) ;
94
94
let b = get_macos_build ( ) . unwrap ( ) ;
95
95
assert ! ( b. chars( ) . all( |c| c. is_ascii_alphabetic( ) || c. is_digit( 10 ) ) ) ;
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ fn debug_id_from_build_id(build_id: &[u8]) -> Option<DebugId> {
32
32
Uuid :: from_slice ( & data) . map ( DebugId :: from_uuid) . ok ( )
33
33
}
34
34
35
+ /// Returns the list of loaded libraries/images.
35
36
pub fn debug_images ( ) -> Vec < DebugImage > {
36
37
let mut images = vec ! [ ] ;
37
38
if !TARGET_SUPPORTED {
Original file line number Diff line number Diff line change 3
3
//! The [`DebugImagesIntegration`] adds metadata about the loaded shared
4
4
//! libraries to Sentry [`Event`]s.
5
5
//!
6
- //! This Integration only works on Unix-like OSes right now. Support for Windows
7
- //! will be added in the future.
8
- //!
9
6
//! # Configuration
10
7
//!
11
8
//! The integration by default attaches this information to all [`Event`]s, but
27
24
mod images;
28
25
mod integration;
29
26
30
- use images:: debug_images;
27
+ pub use images:: debug_images;
31
28
pub use integration:: DebugImagesIntegration ;
You can’t perform that action at this time.
0 commit comments