- 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,
});
- Bump Sentry JavaScript SDK to
7.119.1
(#354) - Bump
sentry-wizard
to 3.32.0 (#354) - Bump Android SDK from v7.6.0 to v7.14.0 (#353)
- build(ios): Bump
sentry-cocoa
to 8.36.0 (#352)
- Add options for iOS: enableAppHangTracking and appHangTimeoutInterval, allowing users to define the App hang timeout or completly disabling it. (#338)s
- Bump
sentry-wizard
to 3.21.0 (#544) - Bump Android SDK from v6.11.0 to v7.6.0 (#336)
- build(ios): Bump
sentry-cocoa
to 8.21.0 (#337)
- Fix iOS not bundling (#316)
- 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.
- iOS compile issue(#309)
- Bump Sentry JavaScript SDK to
7.34.0
(#302) - build(android): Bump Android SDK to 6.11.0 (#302)
- build(ios): Bump
sentry-cocoa
to 7.27.1 (#302)
- Add missing info.plist (#268)
- Enhance package validation and Removed Symbolic Links (#267)
- Sentry.xcframework being excluded by npm rule (#266)
- Full scope sync such that any tag, context, extra, and breadcrumb set on the JavaScript scope will be available on crashes that happen on the native (iOS/Android) layer. You can also sync down to the NDK layer on Android if you opt-in through:
enableNdkScopeSync
.- Offline event caching for Android. (already an existing feature on iOS) - Performance monitoring support: the Sentry Cordova SDK now supports JavaScript-layer performance monitoring and tracing, when you integrate the
@sentry/tracing
package. You can then start a transaction just by callingSentry.startTransaction
. - Session tracking and release health on Android and iOS.
- Official support for the browser platform.
event.origin
andevent.environment
tags to show which layer of the app the event originated from.
- Deprecated
setRelease
andsetDist
; instead passrelease
anddist
to theSentry.init
call. - Minimum Typescript version is now
3.0.0
- Expose startTransaction (#216)
- Remove setRelease and setDist, have auto release passed to native (#213)
- Set
event.origin
andevent.environment
tags (#204) - feat(android): Add Android native bridge, full scope sync, and cached events (#202)
- fix(ios): Handle auto session tracking start on iOS (#210)
- Support clearing user with null on iOS native bridge (#207)
- build(ios): Bump
sentry-cocoa
to 6.2.1 (#205)
- Add global error handler wrapper method for Ionic (#190)
- Add Native Wrapper and Cordova Transport (#194)
- build(internal): Switch to eslint
- Fix all errors from platforms without native module such as browser (#199)
- build(ios): Bump sentry-cocoa to 6.1.4 (#194)
- build(android): Bump Android SDK to v4.1.0 (#187)
- Add
SENTRY_ANDROID_SDK_VERSION
to configure Android SDK version
- Replicate cordova prepare functionality for getting platform path
- Sentry generating a lot of "not implemented" errors (#146)
- NSInvalidArgumentException on iOS (#147)
- Bump
@sentry/*
~5.6.0
- Bump
sentry-cocoa
4.4.0
- Use raw payload to send on iOS
- Bump
@sentry/*
5.1.0
- exec proxy not found for :: Sentry :: install (#65)
- Bump
@sentry/*
4.6.6
- Failed to restore plugin "sentry-cordova" from config.xml (#91)
- Remove usage of deprecated requireCordovaModule (#120)
- Fix
level
parameter
- Using
@sentry/*
~4.3.0
packages
- Sentry changes the SENTRY_RELEASE only after the apk has been build (#83)
- Remove sourcemap from plugins Fixed (#76)
- Uncaught (in promise): not implemented (#72)
- Using
@sentry/*
4.0.0-beta.12
packages
- Remove or adding other plugins gives sentry messages (#70)
- Using
@sentry/*
4.0.0-beta
packages - Fixes setting version on android (#54)
- Breaking change:
Replaced functions setUserContext
setTagsContext
setExtraContext
with:
Sentry.configureScope(scope => {
scope.setUser({ id: '123', email: '[email protected]', username: 'sentry' });
scope.setTag('cordova', 'true');
scope.setExtra('myData', ['1', 2, '3']);
});
- Fix es5 syntax in build script
- Fix es5 syntax in build script
- Use unminified version of bundle
- Bundle and compile in one step
- Fix release script
- Breaking change: Renamed create to init
- Use es5 target and update deps (48)
- Update dependencies
- Fix internal console.error endless loop
- Fix private DSN
- Fix missing source of ios/android
- Bump to
sentry-cocoa
3.12.2
- Bump to
sentry-cocoa
3.12.1
, fix build
- We are using the new version of
@sentry/core
&@sentry/browser
installation and setup is now different. Please see https://docs.sentry.io/ for more information. - We also renamed to package from
@sentry/cordova
tosentry-cordova
since cordova has problems dealing with namespaced packages.
- Using new
0.4.0
of@sentry/core
&@sentry/browser
- Bump
sentry-wizard
to fix (29)
- Fixed #13
- Added SENTRY_SKIP_WIZARD to skip wizard invocation
- Fix sentry.properties location
- Require cordova 7.0.0 and cordova-ios 4.4.0 since we need to support embedded frameworks
- Removed console.log
- Uploading of all build assests @DavidStrausz
- install/uninstall with wizard
- Move sentry.properties into plugin folder
- Detect tty if sentry-wizard should run on the setup process
- Added SENTRY_SKIP_AUTO_RELEASE to skip automatic release version
- Enabled automatic breadcrumb tracking on iOS
- Bump sentry-wizard and sentry-cli to use new JS interface
- Fix travis
- Rename sentry release window global var for Ionic (#5)
- Fix build for iOS project (add framework)
- Bump sentry-wizard
- Add CI and build stuff
- Initial Release