Releases: getsentry/sentry-capacitor
0.19.0
1.0.0-beta.1
How to Upgrade to Version 1:
-
Angular minimum supported version changed to version 14, upgrade to Angular 14 or higher for using the latest SDK.
-
When using the package
@sentry/angular-ivy, you will need to replace it by@sentry/angular. -
enableOutOfMemoryTrackingwas removed and replaced byenableWatchdogTerminationTracking. -
This release bumps the dependency for the JavaScript SDK from v7 to v8. We recommend reading the
migration guide docs to find out
how to address any breaking changes in your code for your specific platform or framework.
To automate upgrading to v8 as much as possible, use our migration codemod @sentry/migr8:
npx @sentry/migr8@latestAll deprecations from the v7 cycle, with the exception of getCurrentHub(), have been removed and can no longer be used
in v8. If you have an advanced Sentry SDK setup, we additionally recommend reading the
in-depth migration guide in our repo which highlights all changes with additional details and
information.
Features
- Support for Angular 18 (#675)
- Add close function on
@sentry/capacitor(#664) - Expose
getClienton@sentry/capacitor(#664) - Add the following functions to
@sentry/capacitor(#666)flush,getActiveSpan,spanToJSON,spanIsSampled,setMeasurement,getGlobalScopeandsetCurrentClient.
Fixes
- Accept undefined as value for tags (#656)
Dependencies
0.18.0
0.17.0
0.16.0
0.15.1
0.15.0
0.14.0
Features
-
Add Native Release information if not defined by the user (#480)
The release data comes from the following parameters:
Android- release:
PackageInfo.packageName+PackageInfo.versionName+PackageInfo.versionCode - dist:
PackageInfo.versionCode
iOS:
- release:
CFBundleIdentifier+CFBundleShortVersionString+CFBundleVersion - dist:
CFBundleVersion
- release:
Fixes
- op and breadcrumb errors on Android (#478)
- Add sentry-angular-ivy to optional dependencies (#469)
- (iOS) UI API called on a background thread (#448)
- enableWatchdogTerminationTracking (replaces enableOutOfMemoryTracking) is now properly set on iOS. (#454)