Releases: getsentry/sentry-native
0.4.16
Features:
- Removed the
SENTRY_PERFORMANCE_MONITORING
compile flag requirement to access performance monitoring in the Sentry SDK. Performance monitoring is now available to everybody who has opted into the experimental API. - New API to check whether the application has crashed in the previous run:
sentry_get_crashed_last_run()
andsentry_clear_crashed_last_run()
(#685). - Allow overriding the SDK name at build time - set the
SENTRY_SDK_NAME
CMake cache variable. - More aggressively prune the Crashpad database. (#698)
Internal:
- Project IDs are now treated as opaque strings instead of integer values. (#690)
- Updated Breakpad and Crashpad backends to 2022-04-12. (#696)
Fixes:
- Updated CI as well as list of supported platforms to reflect Windows Server 2016, and therefore MSVC 2017 losing active support.
- Correctly free Windows Mutexes in Crashpad backend.
Thank you:
Features, fixes and improvements in this release have been contributed by:
0.4.15
Fixes:
- Fix contexts from the scope not being attached to events correctly.
- Improve performance of event serialization.
0.4.14
Features
- The Sentry SDK now has experimental support for performance monitoring.
The performance monitoring API allows manually creating transactions and instrumenting spans, and offers APIs for distributed tracing.
The API is currently disabled by default and needs to be enabled via a compile-timeSENTRY_PERFORMANCE_MONITORING
flag.
For more information, take a look at the more detailed documentation of performance monitoring. - Sentry now has an explicit
sentry_flush
method that blocks the calling thread for the given time, waiting for the transport queue to be flushed. Custom transports need to implement a newflush_hook
for this to work.
Fixes
- Fix Sentry API deadlocking when the SDK was not initialized (or
sentry_init
failed). - The rate limit handling of the default transports was updated to match the expected behavior.
- The Windows OS version is now read from the Registry and is more accurate.
- The
SENTRY_LIBRARY_TYPE
CMake option is now correctly honored. - The Linux Modulefinder was once again improved to increase its memory safety and reliability.
Thank you:
Features, fixes and improvements in this release have been contributed by:
0.4.13
Features
- Add client-side stackwalking on Linux, Windows, and macOS (disabled by default).
- CMake: add ability to set solution folder name.
- Add AIX support.
Fixes
- CMake: check whether libcurl was already found.
- Increment CXX standard version to 14 to allow crashpad to build.
Internal:
- Update Crashpad and Breakpad submodules to 2021-12-03.
Thank you:
Features, fixes and improvements in this release have been contributed by:
0.4.12
Features:
- Make the shutdown timeout configurable via
sentry_options_set_shutdown_timeout
.
Fixes:
- The crashpad backend compiles with mingw again.
- Build System improvements.
Thank you:
Features, fixes and improvements in this release have been contributed by:
0.4.11
Fixes:
- The crashpad backend now respects the
max_breadcrumbs
setting. - Hanging HTTP requests will now be canceled on shutdown in the WinHTTP transport.
- The Modulefinder and Android unwinder now use safer memory access.
- Possible races and deadlocks have been fixed in
init
/close
, and in API related to sessions.
Thank you:
Features, fixes and improvements in this release have been contributed by:
0.4.10
Fixes:
- Fix a potential deadlock in macOS modulefinder.
- Lower Stack usage, to lower change of stack overflows.
- Avoid a double-free when parsing an invalid DSN.
- Improvements to Unity Builds and 32-bit Builds.
- Fix infinite recursion in signal handler by correctly cleaning up on shutdown.
Internal:
- Update Crashpad and Breakpad submodules to 2021-06-14.
Thank you:
Features, fixes and improvements in this release have been contributed by:
0.4.9
Features:
- Rewrote the Linux modulefinder which should now work correctly when encountering gaps in the memory mapping of loaded libraries, and supports libraries loaded from a file offset, such as libraries loaded directly from
.apk
files on Android. - Invoke the
before_send
hook at time of a hard crash when using the Windows or Linux Crashpad backend. - Added the following new convenience functions:
sentry_value_new_exception
sentry_value_new_thread
sentry_value_new_stacktrace
sentry_event_add_exception
sentry_event_add_thread
- The
sentry_event_value_add_stacktrace
is deprecated.
- Renamed
sentry_shutdown
tosentry_close
, though the old function is still available. - Updated Qt integration to Qt 6.
Fixes:
- Optimized and fixed bugs in the JSON parser/serializer.
- Build fixes for PPC and universal macOS.
- Fixes to build using musl libc.
- Correctness fixes around printf and strftime usage.
- Allow building and running on older macOS versions.
Internal:
- Update Crashpad and Breakpad submodules to 2021-04-12
Thank you:
Features, fixes and improvements in this release have been contributed by:
0.4.8
Features:
- The unwinder on Android was updated to a newer version.
- Experimental support for the Breakpad backend on Android and iOS.
Fixes:
- Fixed some memory leaks on Windows.
- Build System improvements.
Thank you:
Features, fixes and improvements in this release have been contributed by:
0.4.7
Features:
- Events will automatically get an
os
context with OS version information. - Added a new
max_breadcrumbs
option.
Fixes:
- Fixed some memory leaks related to bounded breadcrumbs.