Releases: getsentry/sentry-capacitor
2.2.0
Important Changes
- fix(browser): Ensure IP address is only inferred by Relay if
sendDefaultPii
istrue
(#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
Fixes
- TypeScript build with strict rules couldn't find BrowserTransportOptions type (#934)
Dependencies
2.0.0
Features
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
2.0.0-beta.3
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