This release adds support for React Native 0.77 to @bugsnag/react-native-performance
- (react-native) Fix turbo module check in React Native 0.77 #578
- (react-native) Added
BugsnagPerformance.attach
method to support integration with native BugSnag Performance Monitoring SDKs for Android and iOS #573
- (react-native) Replaced
react-native-file-access
peer dependency with internal native module implementation. This peer dependency is no longer required by the SDK. #561
- (react-native) Prevent duplicate app start spans from being started #524
- (browser) Update Span and Trace ID generator code to allow for modified
Array.from
API #518
- Allow setting custom span attributes #510
- (core) Fix URL.hostname error on React Native #504
- (react-native) Add new withInstrumentedAppStarts method to workaround automatically instrumented app start span issues #497
- (core) Discard spans open for more than one hour #494
- (core) use API key subdomain as default endpoint #500
- (browser) Add serviceName config option for browser and ensure service.name attribute is always set #477
- Add a fixed sampling probability configuration option #487
- (react-native) Support react-native-file-access v1.x #488
- (react-native) Support React Native 0.64 #489
- (vue-router) Use vue router to resolve routes #476
- Update error correlation implementation to monkey patch the error notifier #474
- (react-native) Ensure native module is fully backwards compatible #478
- (react-native) Use batch time for filenames in retry queue #486
- (core) Avoid long running timers when ensuring probability freshness #481
- (react-native) Set initial background state to foreground if initial app state is 'inactive' #491
- Update type imports to ensure TypeScript backwards compatibility #471
- (react-native) Support remote debugging in Chrome #468
- (plugin-react-navigation) Fix a crash when navigation ref is created using useRef #469
- (browser) Set parent span context for full page load spans based on traceparent meta tag, if present #446
- (plugin-react-navigation) Fix an issue where a navigation span could inherit the end time of the last span #457
- (react-native) Add trace propagation headers for React Native #437 #444
- Add new
startNetworkSpan
method toBugsnagPerformance
#448 - Change network span naming convention to
[HTTP/VERB]
#448
- (core) Fix import of
@bugsnag/cuid
not working in node ESM environment #445
- (core) Delay span batching while initial sampling request is in flight #433
- (core) Refactor span batching to ensure correct sampling values for subsequent spans #435
- (request-tracker) Ensure existing headers are preserved for fetch requests #436
- (browser) This release adds experimental trace propagation support. When enabled, by setting
propagateTraceContext
totrue
in thenetworkRequestCallback
handler, atraceparent
header will be added to the outgoing network request.
- (react-native) For improved consistency with our error SDK, this release renames the existing navigation plugins and their exported types. The old packages are now marked as deprecated in NPM, but can be used until the next major version of this library. However we recommend renaming any existing references to the new packages straightaway:
- React Navigation:
- Rename package import from
@bugsnag/react-navigation-performance
to@bugsnag/plugin-react-navigation-performance
- Rename plugin type from
ReactNavigationNativePlugin
toBugsnagPluginReactNavigationPerformance
- Rename package import from
- React Native Navigation:
- Rename package import from
@bugsnag/react-native-navigation-performance
to@bugsnag/plugin-react-native-navigation-performance
- Rename plugin type from
ReactNativeNavigationPlugin
toBugsnagPluginReactNativeNavigationPerformance
- Rename package import from
- React Navigation:
- (plugin-react-navigation) Fix an issue where refs are not forwarded to the NavigationContainer #431
This release adds support for instrumenting navigation spans when using the react-native-navigation library
- (react-native-navigation) Added
@bugsnag/react-native-navigation-performance
package #404
- (browser) Prevent throwing an error in edge cases when
performance.getEntriesByType()
returns undefined #401 - (react-native) Broaden version range allowed for
@react-native-community/netinfo
peer dependency #413 - (react-navigation) Refactor
CompleteNavigation
as a functional component #418 - (react-native) Update the android namepsace to
com.bugsnag.reactnative.performance
to prevent overlap with the native android package [#426]#426
This release adds support for automatic span instrumentation when using React Navigation in React Native apps. See online docs for details.
- (browser) Export noops from browser package when window or document is undefined #390
- (react-router) Allow
/
as a basename #337 - (vue-router) Allow
/
as a basename #337 - (react-native) Generate random bytes natively for ID generation #380
- (react-native) Discard spans when the app is in the background #384
- (angular) Added new integration for angular apps #293
- (react-native) Added
net.host.connection.type
span attribute #334 - (react-native) Added
net.host.connection.subtype
span attribute #360 - (react-native) Added persistence to retry queue #357
- (browser) Fall back to unbuffered performance observer when buffer is not supported #352
- (browser) Listen for pagehide and pageshow events in backgrounding listener #362
- (core) Round timestamps to the nearest integer #364
This release adds support for running BugSnag Performance in React Native apps. See online docs for details.
- (delivery-fetch) Added
@bugsnag/delivery-fetch-performance
package #281
- (browser) Added new
VueRouterRoutingProvider
for integration with vue-router #293 - (browser) Added new
ReactRouterRoutingProvider
for integration with react-router v6 #285
- (browser) Do not retry delivery for oversized payloads when connection fails #280
- (browser) Fallback to the default route resolver for full page load spans if the configured
routingProvider
does not return a route #300
- (browser) Added new
networkRequestCallback
config option #262 - (browser) Add
sendPageAttributes
configuration option #266 #270 #271
- (browser) Calculate time origin on create as well as visibility change #268
- (browser) Only track network requests over http(s) #275
- (browser) Fall back to default route resolver when custom resolver returns empty string or undefined #276
- (browser) Fix sampling logic when batching for delivery #278
- Removed
@bugsnag/js-performance
meta package #264
- (core) Use platform clock to set the
Bugsnag-Sent-At
header #265 - (browser) Only add
http.flavor
span attribute when it is a useful value #255
- (browser) Remove the
networkInstrumentationIgnoreUrls
config option #261
- (core, browser) Log a warning when providing invalid options to
startSpan
#245 - (core) Added
bugsnag.sampling.p
attribute #258
- (core) Allow spans to be nested and introduce the notion of a context stack & current span context #198 #206 #209 #210
- (core) Add
makeCurrentContext
span option #211 - (core) Add
parentContext
span option #214 - (core) Add
device.id
as a resource attribute #217 - (core) Add
generateAnonymousId
config option #217 - (core) Add
isFirstClass
span option #218 - (core) Log a warning when trying to end a Span multiple times #200
- (core) Add 'Bugsnag-Sent-At' header to trace payloads #220
- (browser) Add PageLoadPhase sub-spans for full page loads #212 #224
- (browser) Add ResourceLoad instrumentation #225
- (browser) Set title and url attributes for page load and route change spans when settling #240
- (core) Breaking change: The
samplingProbability
configuration option has been removed. A default probability of 1.0 is used until a probability value is received from the server #219