0.19.0
Highlights:
The sentry crate has been split up into a sentry-core, and many smaller per-integration crates. Application users should continue using the sentry crate, but library users and integration/transport authors are encouraged to use the sentry-core crate instead.
Additionally, sentry can now be extended via Integrations.
Breaking Changes:
- The
utilsmodule has been removed, and most utils have been moved into integrations. - The
integrationsmodule was completely rewritten. - When constructing a
Clientusing aClientOptionsstruct manually, it does not have any default integrations, and it does not resolve default options from environment variables any more. Please use the explicitapply_defaultsfunction instead. Theinitfunction will automatically callapply_defaults. - The
initfunction can’t be called with aClientanymore.
Features:
- Sentry can now capture
std::error::Errortypes, using thecapture_errorandHub::capture_errorfunctions, and an additionalevent_from_errorutility function. - Sentry now has built-in support to bind a
Hubto aFuture. - Sentry can now be extended with
Integrations. - The
ClientInitGuard,FutureandScopeGuardstructs andapply_defaults,capture_error,event_from_error,with_integrationandparse_type_from_debugfunctions have been added to the root exports. - The
FutureExt,Integration,IntoBreadcrumbs,IntoDsn,TransportandTransportFactorytraits are now exported. - The
typesmodule now re-exportssentry-types.
Deprecations:
- The
internalsmodule is deprecated. Pleaseuseitems from the crate root or thetypesmodule instead. - All the feature flags have been renamed, the old names are still available but