bugsnag-js

JavaScript error handling tool for BugSnag. Monitor and report JavaScript bugs & errors.

MIT License

Downloads
17.1M
Stars
852
Committers
54
bugsnag-js - v7.8.0

Published by imjoehaines over 3 years ago

Changed

  • (react-native): Update bugsnag-cocoa to v6.6.3
  • (react-native): Store source maps in a temporary directory during Xcode build phases to support source map filenames with whitespace. See source map upload docs for info on how to change your build script to utilize this. #1289

Added

  • (react-native): Capture additional native stack for native promise rejections #1253
bugsnag-js - v7.7.0

Published by djskinner over 3 years ago

Changed

  • (react-native): Update bugsnag-android to v5.6.2
  • (react-native): Update bugsnag-cocoa to v6.6.1
    • Fix compiler warnings when importing Bugsnag from Objective-C sources that do not use ARC. bugsnag-cocoa#985
    • Fix a rare crash that could occur in the event of JSON parsing failures. bugsnag-cocoa#987
  • (plugin-vue): Add support for Vue 3 #1280

Fixed

  • (plugin-inline-script-content): Ensure inline script content isn't included when the DOM onreadystatechange interactive event is missed. #1290
bugsnag-js - v7.6.1

Published by bengourley over 3 years ago

Changed

  • (react-native): Update bugsnag-cocoa to v6.6.0
  • (react-native): Update bugsnag-android to v5.5.1
    • Alter ANR SIGQUIT handler to stop interfering with Google's ANR reporting, and to avoid unsafe JNI calls from within a signal handler bugsnag-android#1078
    • Alter HTTP requests to stop using chunked transfer encoding bugsnag-android#1077
    • Allow null device IDs, preventing rare crash in Bugsnag initialization bugsnag-android#1083

Fixed

  • (react-native): Ensure plugin usage is compatible with running an app in a remote debugger #1250
bugsnag-js - v7.6.0

Published by imjoehaines almost 4 years ago

As of 7.6.0 the monorepo contains @bugsnag/react-native-cli, a new command line tool to help set up Bugsnag in React Native projects.

Added

  • (react-native-cli): New @bugsnag/react-native-cli package. #1214
  • (react-native): Source map upload script to be run as an Xcode build phase. #1214

Changed

  • (expo): app.type will now default to 'ios' or 'android'. 1244
  • (react-native): Deprecate use of bugsnag-react-native.gradle in favour of Bugsnag Android Gradle Plugin. #1214
  • (react-native): Update bugsnag-cocoa to v6.5.1
    • Fix a regression where OOM events were missing session information. bugsnag-cocoa#963
    • Make maxPersistedEvents and maxPersistedSessions default to 32 and 128, respectively. bugsnag-cocoa#966

Fixed

  • (react-native): Ensure unhandled promise warning is logged in development #1235
  • (core): the OnErrorCallback type definition now allows Promise<boolean> as a return type. #1224
bugsnag-js - v7.5.6

Published by djskinner almost 4 years ago

Changed

  • (expo): Add support for Expo SDK v40 #1219

  • (react-native): Update bugsnag-cocoa to v6.5.0

  • (react-native): Update bugsnag-android to v5.5.0

    This release supports initializing Bugsnag in multi processes apps. If your app uses Bugsnag in multiple processes, you should initialize Bugsnag
    with a unique persistenceDirectory value for each process. Please see the docs for further information.

bugsnag-js - v7.5.5

Published by bengourley almost 4 years ago

Changed

  • (react-native): Update bugsnag-cocoa to v6.4.1
    • Place "unhandledOverridden" inside "severityReason" instead of at the top level. #937
    • Allow overriding the "unhandled" flag in error callbacks. #921 #912
    • Fix unexpected exception behavior when started without an API key. #931
  • (react-native): Update bugsnag-android to v5.4.0
    • Prevent potential SHA-1 hash mismatch in Bugsnag-Integrity header for session requests #1043
    • Make event.unhandled overridable for NDK errors #1037
    • Make event.unhandled overridable for React Native errors #1039
    • Make event.unhandled overridable for JVM errors #1025
  • (expo): Update the postPublish hook to use the new @bugsnag/source-maps library. #1124
bugsnag-js - v7.5.4

Published by djskinner almost 4 years ago

Changed

  • (expo): Add integrity header to verify Error and Session API payloads have not changed. #1172
  • (react-native): Update bugsnag-android to v5.3.1
    • Add integrity header to verify Error and Session API payloads have not changed. bugsnag-android#978
    • Prevent potential SHA-1 hash mismatch in Bugsnag-Integrity header #1028
  • (react-native): Update bugsnag-cocoa to v6.3.0
    • Add integrity header to verify Error and Session API payloads have not changed. bugsnag-cocoa#881
    • Out Of Memory errors now include more information, including custom metadata and user information. bugsnag-cocoa#915 bugsnag-cocoa#908
    • Fixed incorrect app version reported when sending crash reports from older versions of Bugsnag (before 6.2.3) bugsnag-cocoa#911
    • Fixed a rare crash in -[BugsnagClient computeDidCrashLastLaunch] bugsnag-cocoa#917
  • (core) The event.unhandled flag can now be changed in callbacks #1148
bugsnag-js - v7.5.3

Published by bengourley almost 4 years ago

  • (react-native): Update bugsnag-cocoa to v6.2.5
    • Fixed a rare crash due to a race condition in BugsnagSystemState. bugsnag-cocoa#893
    • Out Of Memory errors are no longer reported if a device reboot was detected. bugsnag-cocoa#822
bugsnag-js - v7.5.2

Published by imjoehaines almost 4 years ago

Changed

bugsnag-js - v7.5.1

Published by bengourley about 4 years ago

Fixed

  • (browser): Added missing type definition for trackInlineScripts option #1102 / #1097

Changed

  • (expo): Bump expo dependency versions to keep in sync #1103
  • (react-native): Update bugsnag-cocoa to v6.2.2
    • Support "foreground" duration in MacOS as well. bugsnag-cocoa#848
    • Timestamp accuracy in reports has been increased from seconds to milliseconds. bugsnag-cocoa#847
    • Calculation of "foreground" duration now also includes time in UIApplicationStateActive and UIApplicationStateInactive states in order to match Apple's definition of "foreground". bugsnag-cocoa#839
  • (react-native): Update bugsnag-android to v5.2.2
bugsnag-js - v7.5.0

Published by djskinner about 4 years ago

Added

  • (plugin-react-native-navigation): New plugin that integrates with React Native Navigation. #1065
  • (plugin-react-navigation): New plugin that integrates with React Navigation. #1067
bugsnag-js - v7.4.0

Published by imjoehaines about 4 years ago

Added

  • (browser): Attach an anonymous device ID to error reports and sessions when the new generateAnonymousId option is enabled. #1072

Changed

  • (react-native): Allow plugins to be set in the JS layer. #1064
  • (expo): Add support for Expo SDK v39 #1052
  • (react-native): Update bugsnag-cocoa to v6.1.7 #1081
  • (react-native): Update bugsnag-android to v5.2.1 #1080
bugsnag-js - v7.3.5

Published by djskinner about 4 years ago

Fixed

  • (react-native): Update bugsnag-cocoa to 6.1.4. Fixes: Copy the metadata observer list rather than mutating it directly. #1048
bugsnag-js - v7.3.4

Published by bengourley about 4 years ago

Fixed

  • (react-native): Suppress unchecked cast warnings for React Native Android #1027
  • (react-native): Provide proguard rules to ensure reflection works on minified/obfuscated Android builds #1030

Removed

  • (react-native): Remove unnecessary log on iOS #1028
bugsnag-js - v7.3.3

Published by imjoehaines about 4 years ago

Added

  • (plugin-react): Make type definitions BugsnagErrorBoundary and BugsnagPluginReactResult available for external use. 934 / #1009

Changed

  • Use a peer dependency on @bugsnag/core in plugins #1012

Fixed

  • (expo): Ensure type definitions allow config to be supplied without an apiKey, as it may be supplied in app.json instead. #1010
  • (plugin-angular): Update bundles and package entrypoints to support the Ivy renderer. #994
  • (react-native): Add codeBundleId to config type definition. #1011
bugsnag-js - v7.3.2

Published by bengourley about 4 years ago

Fixed

  • (react-native): Ensure type definitions are included the @bugsnag/react-native package. #1002
bugsnag-js - v7.3.1

Published by bengourley about 4 years ago

Fixed

  • (plugin-react): Reinstate updated code after a bad merge on the type definitions. #987
bugsnag-js - v7.3.0

Published by bengourley about 4 years ago

As of this version, this repo contains our brand new notifier for React Native @bugsnag/react-native. See the docs and upgrade guide for more info.

Some minor internal changes to shared code were made to support the new notifier, but no external changes are required for existing @bugsnag/js or @bugsnag/expo users to upgrade to this version.

bugsnag-js - v7.2.1

Published by djskinner over 4 years ago

7.2.1 (2020-07-22)

Fixed

  • (plugin-vue): Ensure the window.Vue fallback does not throw in environments where window is undefined. #928
  • (plugin-react): Ensure the window.React fallback does not throw in environments where window is undefined. #930
  • (types): Use Record<string,string> instead of object for the stackframe.code property on events. #929
bugsnag-js - v7.2.0

Published by bengourley over 4 years ago

Added

  • (browser|node) Record the length of time the app has been running when an error occurs #881
  • (plugin-browser-device): Add device orientation to error reports #881
  • (plugin-expo-device): Add device manufacturer and model name for non-iOS devices to error reports #881
  • (plugin-expo-device): Add total memory to error reports #881
  • (plugin-node-device): Add OS name, OS version, total memory and free memory to error reports #881

Changed

  • Update @bugsnag/safe-json-stringify to make redactedKeys case insensitive when using strings #905
  • (expo): Add support for Expo SDK v38 #781

Fixed

  • (plugin-express): Ensure req.body is always present in metadata by collecting it at the last possible moment #872
Package Rankings
Top 20.85% on Repo1.maven.org
Top 0.95% on Npmjs.org
Top 3.58% on Bower.io
Related Projects