Releases: getsentry/sentry-cordova
1.7.0
Important Changes
- fix(browser): Ensure IP address is only inferred by Relay if
sendDefaultPii
istrue
(#390)
This release includes a fix for a behaviour change
that was originally introduced with the newer JavaScript SDK: User IP Addresses should only be added to Sentry events automatically,
if sendDefaultPii
was set to true
.
To avoid making a major bump, the fix was patched on the current version and not by bumping to V10.
There is no API breakage involved and hence it is safe to update.
However, after updating the SDK, events (errors, traces, replays, etc.) sent from the browser, will only include
user IP addresses, if you set sendDefaultPii: true
in your Sentry.init
options.
We apologize for any inconvenience caused!
1.6.0
1.5.0
1.4.1
1.4.0
Features
- Sentry Replay Support (#354)
How to use:
Replay, profiling and performance monitoring are bundled into Sentry Cordova, all you need to do is to initialise the SDK, include the desired feature and use the sampling filters:
/***
* @type {import("sentry-cordova")}
*/
var Sentry = cordova.require("sentry-cordova.Sentry");
Sentry.init({
dsn: YOUR_DSN,
integrations: [
// Replay integration.
Sentry.replayIntegration({
maskAllText: true,
blockAllMedia: true,
}),
// Tracing integration.
Sentry.browserTracingIntegration(),
],
// Replay sampling filters.
replaysSessionSampleRate: 1,
replaysOnErrorSampleRate: 1,
// Tracing sampling filter.
tracesSampleRate: 1,
});
Dependencies
1.3.0
Features
- Add options for iOS: enableAppHangTracking and appHangTimeoutInterval, allowing users to define the App hang timeout or completly disabling it. (#338)
Dependencies
1.2.0
Fixes
- Fix iOS not bundling (#316)
Dependencies
Warning, breaking changes
- The option
enableOutOfMemoryTracking
is nowenableWatchdogTerminationTracking
. The previous name will keep working but will be removed on a major version. - Bump minimum supported OS versions to macOS 10.13, iOS 11.