v1.246.0
Features
Replace url parsing with URL class
Replacing internal url parsing logic with the browser built-in URL class.
Add network info to all page view timing events
Add client network information to all PageViewTiming events in New Relic. The attributes currently only exist on LCP and FI event types and will now be reported with all others such as load and pagehide events.
Bug fixes
Add feature flag support for Browser Interactions
Implementing a feature flag that will disable the fix 315. That fix was specifically around Angular, React, and Vue applications with routes containing network calls resulting in browser interactions missing those ajax calls. This feature flag should not be enabled unless specifically instructed to do so by support.
Add first harvest of session flags to RUM and Trace
Mark the first RUM call and Session Trace harvest of any given session so that it becomes queryable in New Relic.
Support statement:
New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Older releases will no longer be supported when they reach end-of-life. Release dates are reflective of the original publish date of the agent version.
New Browser Agent releases are rolled out to customers in small stages over a period of time. Because of this, the date the release becomes accessible to your account may not match the original publish date. Please see this status dashboard for more information.
Consistent with our browser support policy, v1.246.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 109-118, Edge 109-117, Safari 15-16, and Firefox 109-118. For mobile devices, v1.246.0 was built and tested for Android Chrome 100-118 and iOS Safari 15.5-16.2.
v1.245.0
Features
Allow boolean values in setCustomAttribute
Allow boolean values to be supplied to newrelic.setCustomAttribute() API calls.
Detect GraphQL operation names and types in AJAX calls
Detect GraphQL operation names and types in AJAX calls and decorate AJAX events with that information.
Removing worker build
Removing the worker build from the agent. The worker build was a never released custom build of the agent that could be imported into web and service workers. The agent will continue to support running in those contexts but customers will need to use the NPM package to create their own customized agent for those contexts.
Support statement:
New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Older releases will no longer be supported when they reach end-of-life. Release dates are reflective of the original publish date of the agent version.
New Browser Agent releases are rolled out to customers in small stages over a period of time. Because of this, the date the release becomes accessible to your account may not match the original publish date. Please see this status dashboard for more information.
Consistent with our browser support policy, v1.245.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 108-117, Edge 108-116, Safari 15-16, and Firefox 109-118. For mobile devices, v1.245.0 was built and tested for Android Chrome 100-117 and iOS Safari 15.5-16.2.
v1.244.0
Features
Bump rrweb to 2.0.0.11 and make constant dynamic at build time
Bump rrweb dependency version to 2.0.0.11 and include in Session Replay payload metadata dynamically
Add Session Replay configurations to collect inline assets
Add Session Replay configurations to collect inline images, stylesheets, and fonts for private applications.
Ensure 15 second minimum error buffer when possible
Add a two-step sliding window to ensure 15-30 second buffer time for applicable error replays
Bug fixes
Fix invalid timestamps
Ensure that Session Replay node injection does not cause desynchronized timestamps for blob payloads
Isolate browser interaction node
Improving context isolation for events the SPA feature tracks to allow for multiple agent bundles to live on the same page. This is only intended for internal New Relic usage at this time and should not affect customers.
Support statement:
New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Older releases will no longer be supported when they reach end-of-life. Release dates are reflective of the original publish date of the agent version.
New Browser Agent releases are rolled out to customers in small stages over a period of time. Because of this, the date the release becomes accessible to your account may not match the original publish date. Please see this status dashboard for more information.
Consistent with our browser support policy, v1.244.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 108-117, Edge 108-116, Safari 15-16, and Firefox 108-117. For mobile devices, v1.244.0 was built and tested for Android Chrome 100-117 and iOS Safari 15.5-16.2.
v1.243.1
Bug fixes
Improve Session Replay abort metric reliability
Pass Session Replay abort metrics through the event emitter buffer to guarantee that early lifecycle failures are captured by the Metrics feature for prioritizing future improvements.
Support statement:
New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Older releases will no longer be supported when they reach end-of-life. Release dates are reflective of the original publish date of the agent version.
New Browser Agent releases are rolled out to customers in small stages over a period of time. Because of this, the date the release becomes accessible to your account may not match the original publish date. Please see this status dashboard for more information.
Consistent with our browser support policy, v1.243.1 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 108-117, Edge 108-116, Safari 15-16, and Firefox 108-117. For mobile devices, v1.243.1 was built and tested for Android Chrome 100-117 and iOS Safari 15.5-16.2.
v1.243.0
Features
Do not report ajax nodes in session traces if in deny list
Prevent ajax nodes derived from calls found in the ajax deny list from populating Session Trace payloads
Remove deprecated API inlineHit
Removing the browser agent API inlineHit. This API was deprecated in 2014 and is no longer supported or used by newer versions of the browser agent.
Bug fixes
Re-update assets proxy to accept host URL strings
Previously, the agent expected the protocol (for example, https://
) to be included in the configuration input. However, we have since decided to allow the protocol to be excluded, as the proxy beacon field only accepts a host string.
Adjust Session Replay meta and timestamps
Ensure that payloads can not ends with a meta node or start with a snapshot node for consistency in UI render queries.
Tap session entity into storage API for changes across tabs
Tap session entity into storage event listener for stateful changes across tabs.
Set Session Replay first chunk flags more reliably
Add logic to set firstChunk
flag and replay mode on new replays more reliably.
Support statement:
New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Older releases will no longer be supported when they reach end-of-life. Release dates are reflective of the original publish date of the agent version.
New Browser Agent releases are rolled out to customers in small stages over a period of time. Because of this, the date the release becomes accessible to your account may not match the original publish date. Please see this status dashboard for more information.
Consistent with our browser support policy, v1.243.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 108-117, Edge 108-116, Safari 15-16, and Firefox 108-117. For mobile devices, v1.243.0 was built and tested for Android Chrome 100-117 and iOS Safari 15.5-16.2.
v1.242.0
Features
Add messaging about Session Replay abort behavior
Add messaging to signal why a replay aborted, which could happen for a number of reasons.
Applying new cache headers to assets
Released browser agent assets will now be delivered with a 1 year cache header. This will allow user's browsers to cache the async chunks the agent loads for much longer and eliminate performance recommendations found in synthetic performance tools like Lighthouse. This will be applied retroactively to all released versions of the agent.
Bug Fixes
Drain event emitter even when feature fails to initialize
A failure to import and initialize a feature could block the agent from draining data out of the event emitter, which prevents the agent from making any successful calls. This fix allows the event emitter to drain even when an individual feature fails to initialize.
Validation of SR configurations
Update the block selector, mask selector, and mask input setters to handle empty strings.
Support statement:
New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Older releases will no longer be supported when they reach end-of-life. Release dates are reflective of the original publish date of the agent version.
New Browser Agent releases are rolled out to customers in small stages over a period of time. Because of this, the date the release becomes accessible to your account may not match the original publish date. Please see this status dashboard for more information.
Consistent with our browser support policy, v1.242.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 108-117, Edge 108-116, Safari 15-16, and Firefox 108-117. For mobile devices, v1.242.0 was built and tested for Android Chrome 100-117 and iOS Safari 15.5-16.2.
v1.241.0
Features
Add SR entrypoint to NPM ahead of LP
Add SR instrumentation entrypoint to NPM ahead of the upcoming Limited Preview window
Removing hash from chunk asset name
Removing the hash from the chunk asset file name. This will allow internal and external automation to predict the file name of each asset chunk as long as the loader type and version number is known.
Bug Fixes
Final harvest does not happen when initial RUM call fails
Fixes the final harvest behavior in cases when the RUM request fails. The initial request is meant to act as a gateway for the agent to start reporting data, and its failure should result in the agent not sending anything. As of previous version, the metrics and page view timing features do not follow this rule, and that has been corrected.
Support statement:
New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Older releases will no longer be supported when they reach end-of-life. Release dates are reflective of the original publish date of the agent version.
New Browser Agent releases are rolled out to customers in small stages over a period of time. Because of this, the date the release becomes accessible to your account may not match the original publish date. Please see this status dashboard for more information.
Consistent with our browser support policy, v1.241.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 107-116, Edge 107-115, Safari 15-16, and Firefox 108-116. For mobile devices, v1.241.0 was built and tested for Android Chrome 100 and iOS Safari 15.2-16.2.
v1.240.0
Features
Origin of agent webpack chunks now changeable
Allow the agent to operate through a proxy. The agent needs to be able to fetch its source code and send analytics to a different domain, and this solves the former. NPM is not affected.
Add session trace metadata params
Add first timestamp and node count information to session trace payloads for optimization in UI experiences.
Add SR to pro and spa builds (only runs for LP customers)
Add the SR feature to Pro and Pro+Spa builds of the agent. The session replay library shipping with this version of the browser agent is in limited preview and is not turned on by default. To use the feature, users will need to be part of the limited preview customer group and configure their browser application settings in the UI.
Centralize web vitals timings
Centralize web vitals timings to be accessible from any part of the agent.
Support statement:
New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Older releases will no longer be supported when they reach end-of-life. Release dates are reflective of the original publish date of the agent version.
New Browser Agent releases are rolled out to customers in small stages over a period of time. Because of this, the date the release becomes accessible to your account may not match the original publish date. Please see this status dashboard for more information.
Consistent with our browser support policy, v1.240.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 107-116, Edge 107-115, Safari 15-16, and Firefox 108-116. For mobile devices, v1.240.0 was built and tested for Android Chrome 100 and iOS Safari 15.2-16.2.
v1.239.1
Features
Add best effort to detect Ajax events before instantiation
Add a "best effort" at detecting ajax events that may have happened on the page before the agent was instantiated by utilizing the ResourceTiming browser API.
Add mode to enable agent to not harvest until user consent
Add ability for customers to wait to start harvesting. This behavior will utilize a configuration setting in tandem with an API call to trigger features to begin harvesting.
Remove allow_bfcache flag
Removes unused code which still relied on the window unload event. Going forward, the only method the agent will use to monitor potential end of page session will be visibility change in accordance with modern web practice.
Remove old supportability metrics
Removing supportability metrics that are no longer needed including polyfill detection, bfcache usage, body and query bytes sent count, and custom attributes size.
Bug Fixes
Fix issue with leaking event listeners
Fixing an issue where session timeout would result in rewrapping global event handlers. For instances where the site would be open for long periods of time, such as kiosks, this would eventually result in a degradation in event handler performance.
Issues with types resolution
Fixing issues with typescript throwing errors when trying to resolve the typings for individual features with "moduleResolution": "node" set in the tsconfig.json. "moduleResolution": "nodenext" and "moduleResolution": "node16" will enable typescript use of the exports field of our package.json but could also break other libraries and forces developers to change all local imports to include file extensions.
Support statement:
New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Older releases will no longer be supported when they reach end-of-life. Release dates are reflective of the original publish date of the agent version.
New Browser Agent releases are rolled out to customers in small stages over a period of time. Because of this, the date the release becomes accessible to your account may not match the original publish date. Please see this status dashboard for more information.
Consistent with our browser support policy, v1.239.1 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 107-116, Edge 107-115, Safari 15-16, and Firefox 108-116. For mobile devices, v1.238.0 was built and tested for Android Chrome 100 and iOS Safari 15.2-16.2.
v1.238.0
Features
Reducing the agent chunk count
Reducing the number JavaScript files the agent loads asynchronously down to a single file. This means customer's users will now only need to load one additional JavaScript file for the New Relic Browser Agent to operate. This additional JavaScript file will continue to only be loaded upon the document "load" event. This change not only reduces the number of additional requests the agent must make but also reduces the amount of code that must be loaded by eliminating duplication.
Add API: setApplicationVersion
Add api method to top-level interface to allow the setting of application version across all outgoing payloads
Bug Fixes
Capture potential missing tail data for session trace
Send buffered session trace data in certain cases when it's being discarded at the tail end of a captured session.
Fix distributed tracing handling of empty string fetch parameter
Fixing an issue with distributed tracing that would result in an exception within the agent when fetch is called with an empty string as the first parameter.
Typo in type declarations
Fixing typos made in the browser and micro agent API declarations. This includes adding internal test cases for those types to ensure this issue does not happen again.
Support statement:
New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Older releases will no longer be supported when they reach end-of-life. Release dates are reflective of the original publish date of the agent version.
New Browser Agent releases are rolled out to customers in small stages over a period of time. Because of this, the date the release becomes accessible to your account may not match the original publish date. Please see this status dashboard for more information.
Consistent with our browser support policy, v1.238.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 106-114, Edge 106-113, Safari 15-16, and Firefox 107-113. For mobile devices, v1.238.0 was built and tested for Android Chrome 100 and iOS Safari 15.2-16.2.