Skip to content

Releases: getsentry/sentry-capacitor

2.2.0

19 Aug 15:23
Compare
Choose a tag to compare

Important Changes

  • fix(browser): Ensure IP address is only inferred by Relay if sendDefaultPii is true (#957)

This release includes a fix for a behaviour change
that was originally introduced with v9 of the JavaScript SDK: User IP Addresses should only be added to Sentry events automatically,
if sendDefaultPii was set to true.

However, the change in v9 required further internal adjustment, which should have been included in v10 of the SDK.
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!

Features

  • Support for Swift Package Manager (#938)

Dependencies

2.1.0

16 Jul 12:29
Compare
Choose a tag to compare

Fixes

  • TypeScript build with strict rules couldn't find BrowserTransportOptions type (#934)

Dependencies

2.0.0

04 Jul 15:10
Compare
Choose a tag to compare

Features

  • Added support for Angular 20 #910
  • Add experimental support for Log tracing (#920)

To enable it add the following code to your Sentry Options:

Sentry.init({
  // other options...
  _experiments: {
    enableLogs: true,
  },
});

You can also filter the logs being collected by adding beforeSendLogs into _experiments

Sentry.init({
  // other options...
  _experiments: {
    enableLogs: true,
    beforeSendLog: log => {
      return log;
    },
  },
});

Breaking Change

  • Drop support for Capacitor 3, 4 and 5. (#907)

Self Hosted

  • It is recommended to use Sentry Self Hosted version 25.2.0 or new for Sentry Capacitor V2 or newer

Dependencies

  • Bump Android SDK from v7.16.0 to v8.13.3
  • Bump Cocoa SDK from v8.48.0 to v8.51.1
  • Bump JavaScript SDKs from v8.55.0 to v9.27.0

1.5.0

03 Jul 09:49
Compare
Choose a tag to compare

Fixes

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

Dependencies

2.0.0-beta.3

23 Jun 18:01
Compare
Choose a tag to compare
2.0.0-beta.3 Pre-release
Pre-release

Features

  • Add experimental support for Log tracing (#920)

To enable it add the following code to your Sentry Options:

Sentry.init({
  // other options...
  _experiments: {
    enableLogs: true,
  },
});

You can also filter the logs being collected by adding beforeSendLogs into _experiments

Sentry.init({
  // other options...
  _experiments: {
    enableLogs: true,
    beforeSendLog: log => {
      return log;
    },
  },
});

Dependencies

Self Hosted

  • It is recommended to use Sentry Self Hosted version 25.2.0 or new for Sentry Capacitor V2 or newer

2.0.0-beta.2

11 Jun 13:07
Compare
Choose a tag to compare
2.0.0-beta.2 Pre-release
Pre-release

Features

  • Added support for Angular 20 #910

Break Change

  • Drop support for Capacitor 3, 4 and 5. (#907)

Dependencies

2.0.0-beta.1

29 Apr 14:05
Compare
Choose a tag to compare
2.0.0-beta.1 Pre-release
Pre-release

Dependencies

1.4.0

07 Apr 12:09
Compare
Choose a tag to compare

Dependencies

1.3.0

02 Apr 09:55
Compare
Choose a tag to compare

Dependencies

1.2.1

20 Mar 14:16
Compare
Choose a tag to compare

Fixes

  • Fix issue with adjustMarginsForEdgeToEdge on Capacitor 7 (#855)