Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Update dependency @bugsnag/js to v7 #353

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 14, 2020

This PR contains the following updates:

Package Type Update Change
@bugsnag/js (source) dependencies major 6.5.2 -> 7.5.1

Release Notes

bugsnag/bugsnag-js

v7.5.1

Compare Source

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

v7.4.0

Compare Source

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

v7.3.5

Compare Source

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

v7.3.4

Compare Source

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

v7.3.3

Compare Source

Added
  • (plugin-react): Make type definitions BugsnagErrorBoundary and BugsnagPluginReactResult available for external use. 934 / #​1009
Changed
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

v7.3.0

Compare Source

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.

v7.2.1

Compare Source

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

v7.2.0

Compare Source

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

v7.1.1

Compare Source

Fixed
  • (plugin-express): Use import syntax that works without TypeScript's esModuleInterop compiler flag #​866
  • (expo-cli): Ensure version detection logic for @​bugsnag/expo works after v7.0.0 #​865
  • (core): Ensure callbacks supplied in config permit functions with no named arguments #​863

v7.1.0

Compare Source

This update contains some substantial changes to plugin type definitions. If you are using TypeScript alongside a framework, you may need to make changes to your app. Please refer to the upgrade guide.

Changed
  • (plugin-react|plugin-vue): Support late passing of framework reference #​839
Added
  • (plugin-react): Add type definitions for Bugsnag.getPlugin('react') #​839
  • (plugin-vue): Add type definitions for Bugsnag.getPlugin('vue') #​839
  • (plugin-react): Add clearError prop to ErrorBoundary #​797
  • (plugin-express|plugin-koa|plugin-restify): Add full type definitions for plugins #​853

v7.0.2

Compare Source

Fixed
  • (types): Correct init static method name to start #​847

v7.0.1

Compare Source

Fixed
  • (plugin-vue): Fix plugin type definitions #​809
  • (delivery-expo): Ensure Expo delivery logs event details correctly (instead of undefined) #​804
  • (expo-cli): Ensure Expo cli inserts correct code depending on the version of the notifier #​808
  • (expo): Ensure types allow .start() with no arguments #​817

v7.0.0

Compare Source

Added
  • Add onBreadcrumb and onSession callbacks. #​665
  • Add pauseSession() and resumeSession() methods to Client #​666
  • Add static Bugsnag client interface #​685
  • Add getUser() and setUser() methods to Session #​692
Changed
  • Migrate lint tooling to ESLint for both .js and .ts source files #​644
  • Rename autoNotify -> autoDetectErrors, and add enabledErrorTypes option for granularity #​706
  • Rename autoCaptureSessions -> autoTrackSessions and simplify validation logic #​647
  • Rename report to event #​646
  • Rename notifyReleaseStages -> enabledReleaseStages #​649
  • Rename beforeSend -> onError, remove event.ignore() and refactor callback logic #​654
  • Update signature of notify(err, opts?, cb?) -> notify(err, onError?, cb?) for a canonical way to update events #​655
  • Simplify client configuration, and store resulting config privately #​656
  • User is now stored privately on client and event and updated via get/set methods #​657
  • Remove individual breadcrumb flags in favour of enabledBreadcrumbTypes, rename breadcrumb.{ name -> message, metaData -> metadata }, and update leaveBreadcrumb() type signature to be more explicit #​650
  • Rename metaData -> metadata and add consistent add/get/clearMetadata() methods to Client/Event for manipulating metadata explicitly, rather than mutating a property #​658
  • Update leaveBreadcrumb() type signature to return void. #​661
  • Refactor notify() to not accept events (they go via _notify() instead). Consolidate Event static methods into a single .create() utility, used by all automatic error detection components. #​664
  • Stop applying default error class/message when none is supplied #​676
  • Remove Bugsnag* prefix from internal class names #​679
  • Rename and make private the Session method trackError() -> _track() #​675
  • Update Event to support multiple errors #​680
  • Move context to a private property on Client, and get/set via getContext()/setContext() #​681
  • Update @bugsnag/safe-json-stringify to replace redacted values with [REDACTED] #​683
  • Update collectUserIp option to use [REDACTED] instead of [NOT COLLECTED] for consistency #​743
  • Refactor type definitions #​682
  • Ensure automatic context is not used when setContext(null) has been called #​694
  • Rename filters option to redactedKeys #​704
  • Rename device.modelName to device.model #​726
  • Rename client.refresh() to client.resetEventCount() #​727
  • client.use(plugin) has been removed and plugins must now be passed in to configuration #​759
  • Invalid configuration (except for apiKey) now falls back to default values rather than throwing an error #​759
Removed
  • Remove non-public methods from Client interface: logger(), delivery() and sessionDelegate() #​659
  • Remove client.request property #​672
  • Remove client.device property #​673
  • Remove client.app property #​677
  • Move breadcrumbs to a private property on client._breadcrumbs #​681

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-bugsnag-js-monorepo branch 2 times, most recently from c09cd0c to 30c691f Compare April 21, 2020 21:20
@renovate renovate bot force-pushed the renovate/major-bugsnag-js-monorepo branch 6 times, most recently from 09ed6d4 to bb9c3ed Compare May 2, 2020 09:49
@renovate renovate bot force-pushed the renovate/major-bugsnag-js-monorepo branch 2 times, most recently from 025fa0a to 229d4b3 Compare May 5, 2020 11:23
@renovate renovate bot force-pushed the renovate/major-bugsnag-js-monorepo branch from 229d4b3 to 24c3cff Compare May 12, 2020 14:21
@renovate renovate bot force-pushed the renovate/major-bugsnag-js-monorepo branch 2 times, most recently from 13c77de to 083b643 Compare May 26, 2020 14:46
@renovate renovate bot force-pushed the renovate/major-bugsnag-js-monorepo branch 9 times, most recently from 2663001 to b95edb3 Compare August 12, 2020 23:15
@renovate renovate bot force-pushed the renovate/major-bugsnag-js-monorepo branch 3 times, most recently from 873c2b0 to 947d519 Compare August 26, 2020 14:08
@renovate renovate bot force-pushed the renovate/major-bugsnag-js-monorepo branch 2 times, most recently from df30aaf to 29ac6f8 Compare September 16, 2020 13:26
@renovate renovate bot force-pushed the renovate/major-bugsnag-js-monorepo branch 3 times, most recently from 2ba36a3 to b7dc4b6 Compare September 28, 2020 02:51
@renovate renovate bot force-pushed the renovate/major-bugsnag-js-monorepo branch 4 times, most recently from 3a4760c to 12b653f Compare October 6, 2020 13:19
@renovate renovate bot force-pushed the renovate/major-bugsnag-js-monorepo branch 2 times, most recently from 77f8806 to 63d3067 Compare October 16, 2020 16:15
@renovate renovate bot force-pushed the renovate/major-bugsnag-js-monorepo branch 2 times, most recently from 5467828 to bd9a208 Compare October 21, 2020 19:18
@renovate renovate bot force-pushed the renovate/major-bugsnag-js-monorepo branch from bd9a208 to 7db0b4f Compare October 23, 2020 11:06
@renovate
Copy link
Contributor Author

renovate bot commented Oct 23, 2020

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻️ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you check the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
Unable to find image 'renovate/node:latest' locally
latest: Pulling from renovate/node
171857c49d0f: Pulling fs layer
419640447d26: Pulling fs layer
61e52f862619: Pulling fs layer
b625e89d9e20: Pulling fs layer
7187f034667a: Pulling fs layer
8f12e5bb73d7: Pulling fs layer
daa8162e8dd5: Pulling fs layer
de66d93b5eb8: Pulling fs layer
104cf16e11cb: Pulling fs layer
0ec992771d90: Pulling fs layer
056ffdf621d9: Pulling fs layer
479b93ccb195: Pulling fs layer
fa827428e006: Pulling fs layer
3df904e249b5: Pulling fs layer
531f4590edc3: Pulling fs layer
f2e74ab39a98: Pulling fs layer
b625e89d9e20: Waiting
7187f034667a: Waiting
8f12e5bb73d7: Waiting
daa8162e8dd5: Waiting
de66d93b5eb8: Waiting
104cf16e11cb: Waiting
0ec992771d90: Waiting
056ffdf621d9: Waiting
479b93ccb195: Waiting
fa827428e006: Waiting
3df904e249b5: Waiting
531f4590edc3: Waiting
f2e74ab39a98: Waiting
61e52f862619: Verifying Checksum
61e52f862619: Download complete
419640447d26: Verifying Checksum
419640447d26: Download complete
b625e89d9e20: Verifying Checksum
b625e89d9e20: Download complete
7187f034667a: Verifying Checksum
7187f034667a: Download complete
171857c49d0f: Verifying Checksum
171857c49d0f: Download complete
8f12e5bb73d7: Verifying Checksum
8f12e5bb73d7: Download complete

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant