Releases: getsentry/sentry-capacitor
Releases · getsentry/sentry-capacitor
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