Skip to content

Conversation

gingerbenw
Copy link
Member

[8.0.0] - 2024-08-29

Summary

As well as some bug fixes and breaking changes described in the Upgrade Guide, this major SDK release has the following key features:

  • Improved API for NodeJS: the Bugsnag client can now be used to call SDK methods in the context of the current request
  • Breadcrumb support for NodeJS: we now support manual breadcrumbs and capture console breadcrumbs automatically
  • Improved session reporting for single page apps: a session is now created only once per page load to more accurately reflect a user's session in your app

Added

  • (node) Add support for manual breadcrumbs #1927 and automatic console breadcrumbs #2107
  • Support error correlation properties in event payloads #2174

Fixed

  • (plugin-angular) Prevent excess change detection cycles when calling Bugsnag.notify #1861

Changed

  • (node) Enable breadcrumbs and context-scoped calls #1927
  • (plugin-contextualize) Reimplement without relying on the deprecated node Domain API. From Node 16+ unhandled promise rejections are also supported #1924
  • (plugin-navigation-breadcrumbs) Calling pushState or replaceState no longer triggers a new session when autoTrackSessions is enabled #1820
  • (plugin-network-breadcrumbs, plugin-electron-net-breadcrumbs) Breaking change: The request metadata field in network breadcrumbs has been renamed to url and is no longer pre-pended with the HTTP method #1988
  • (plugin-network-breadcrumbs, plugin-electron-net-breadcrumbs) Add method metadata field to network breadcrumbs #1988
  • (plugin-network-breadcrumbs, plugin-electron-net-breadcrumbs) Add duration metadata field to network breadcrumbs #1903
  • (react-native) Update bugsnag-android from v5.32.2 to v6.6.1

gingerbenw and others added 30 commits October 17, 2022 16:48
[PLAT-8023] Prevent session/event delivery with invalid configuration
monkey patch the client._notify method to run in zone where applicable, preventing unnecessary change detection cycles

Updating the UI within the onError callback will no longer be considered reliable
Co-authored-by: Joe Haines <hello@joehaines.co.uk>
use all arguments when monkey patching

Co-authored-by: Joe Haines <hello@joehaines.co.uk>
# Conflicts:
#	CHANGELOG.md
#	packages/delivery-node/test/delivery.test.ts
#	packages/delivery-xml-http-request/test/delivery.test.ts
Dan Skinner and others added 25 commits July 1, 2024 16:40
Update bugsnag-android to v6.6.1
* feat: ✨ add correlation property to eventPayload

* test: 🧪 test correlation property in delivery

* refactor: ♻️ access `event._correlation` without use of .toJSON method
* update bugsnag-android to v6 in test fixture

* use redacted keys as pattern to work with bugsnag-android v6
* feat: ✨ handle correlation property in ios events

* update changelog entry
Copy link

@bugsnag/browser bundle size diff

Minified Minfied + Gzipped
Before 44.21 kB 13.51 kB
After 45.24 kB 13.75 kB
± ⚠️ +1,037 bytes ⚠️ +234 bytes

code coverage diff

<temporarily disabled>

Generated by 🚫 dangerJS against 00ea043

@gingerbenw gingerbenw merged commit 5b33e20 into main Aug 29, 2024
130 checks passed
@gingerbenw gingerbenw deleted the release/v8.0.0 branch August 29, 2024 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants