Skip to content

Releases: getsentry/sentry-cordova

1.7.0

19 Aug 12:17
Compare
Choose a tag to compare

Important Changes

  • fix(browser): Ensure IP address is only inferred by Relay if sendDefaultPii is true (#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

28 Jul 14:15
6045eb4
Compare
Choose a tag to compare

Fixes

  • Google Play’s 16 KB page size compatibility requirement (#382)

Dependencies

1.5.0

12 May 13:27
Compare
Choose a tag to compare

Features

  • Support for Debug ID (#374)

Fixes

  • Set custom SDK names on events to indicate where it was captured (#378)
  • Use a minified and optimized bundle to reduce the SDK size by three times, improving performance and reducing load times (#371)

Dependencies

1.4.1

19 Nov 10:11
Compare
Choose a tag to compare

Dependencies

1.4.0

07 Oct 15:46
Compare
Choose a tag to compare

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

25 Mar 11:06
Compare
Choose a tag to compare

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

24 Oct 15:38
Compare
Choose a tag to compare

Fixes

  • Fix iOS not bundling (#316)

Dependencies

Warning, breaking changes

  • The option enableOutOfMemoryTracking is now enableWatchdogTerminationTracking. 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.

1.1.5

22 May 15:24
Compare
Choose a tag to compare

Fixes

  • iOS compile issue(#309)

1.1.4

08 Mar 13:32
Compare
Choose a tag to compare

Dependencies

1.0.4

20 Sep 13:30
Compare
Choose a tag to compare

Fixes