v1.323.0
View this release on GitHub → for the full technical changelog and build size information.
Features
Harvest SR on switch from ERROR to FULL mode
Update agent to handle session replays the same way as session traces, and trigger a replay harvest when SR is switching from error to full mode.
Add internal adoption metrics for AJAX Payloads
Adds an internal metric measuring adoption of AJAX payload tracking for quality assurance and improvement purposes.
Bug fixes
fix(ajax): correct DT header timestamp to server time
Distributed tracing headers (traceparent/tracestate/newrelic) generated for AJAX requests now use the New Relic server-corrected timestamp when the agent's TimeKeeper has completed its RUM-based clock correction, rather than the browser's raw local clock value. This timestamp only affects the transport duration value a receiving backend APM agent computes for its own span -- it has no effect on any other browser telemetry.
Ensure timeKeeper readiness on Connector race condition
The new Connector in RUM v2 is patched to ready the TimeKeeper, critical to agent timestamp adjustments, under a minority-case race condition branch. This is behind the feature flag and should have no impact to any user right now.
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.
The following features are currently in limited preview and will not receive standard support:
- Micro frontend (MFE) monitoring via the register() API
- BrowserPerformance "resource" type events
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.323.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 143-153, Edge 142-152, Safari 18-27, and Firefox 145-155. For mobile devices, v1.323.0 was built and tested for Android OS 16 and iOS Safari 18-26.2.
v1.322.0
Característica
Incluir la API de observador para eventos de SPV
Utilice la API ReportingObserver para capturar securitypolicyviolation eventos que ocurrieron antes de la ejecución del cargador del agente. En la práctica, esto afecta principalmente a los navegadores Chromium, ya que las configuraciones y los errores existentes afectan la recopilación de Firefox y Safari.
Manifiesto de MFE
Agrega un manifest opcional a la API register() para que un Micro Frontend pueda declarar sus propios activos conocidos (scripts, hojas de estilo, imágenes, fuentes), lo que permite al agente atribuirle con precisión errores, logs, llamadas AJAX, WebSockets y eventos de temporización de recursos —incluso para los activos cargados por un script distinto al que llamó a register(). Un timingMethod opcional también permite que un manifiesto amplíe las ventanas de obtención/ejecución de MicroFrontEndTiming en todos sus activos declarados.
Agregar advertencias de validación de registro
Emite advertencias de depuración local si se detectan problemas obvios desde los objetivos proporcionados a la API de registro.
Corrección de errores
Actualizar web-vitals de 4.2.4 a 6.2.1 para solucionar una fuga de listeners
Se actualizó la biblioteca web-vitals incluida de 4.2.4 a 6.2.1, lo que solucionó una fuga ilimitada de listeners document visibilitychange: web-vitals 4.x registra un listener permanente en cada ciclo de informes de INP, por lo que las páginas de larga duración acumulan cientos de listeners. También se absorbieron los cambios de la API de atribución de v5/v6 a los que está expuesto el agente (el cambio de nombre de LCPAttribution.element → target y los campos de atribución de INP/CLS recientemente opcionales) sin cambios en los nombres de los atributos que emite el agente.
Declaración de apoyo
New Relic recomienda que actualices el agente periódicamente para garantizar que obtengas las últimas características y beneficios de rendimiento. Las versiones anteriores ya no recibirán soporte cuando lleguen al final de su vida útil. Las fechas de lanzamiento reflejan la fecha de publicación original de la versión del agente.
Las siguientes características se encuentran actualmente en versión preliminar limitada y no recibirán soporte estándar:
- Monitoreo de micro frontend (MFE) mediante la API register()
- Eventos de tipo BrowserPerformance “resource”
Las nuevas versiones del agente del browser se lanzan a los clientes en pequeñas etapas a lo largo de un periodo de tiempo. Debido a esto, la fecha en que el lanzamiento esté disponible en su cuenta puede no coincidir con la fecha de publicación original. Consulte este dashboard de estado para obtener más información.
De acuerdo con nuestra política de soporte de navegadores, la versión 1.322.0 del agente del browser se construyó y probó con los siguientes navegadores y rangos de versiones: Chrome 142-152, Edge 141-151, Safari 18-27 y Firefox 144-154. Para dispositivos móviles, la v1.322.0 se compiló y probó para Android OS 16 e iOS Safari 18-26.2.
v1.321.0
Característica
Cambios en los atributos de MicroFrontEndTiming
Cambios en el atributo del evento MicroFrontEndTiming
Adiciones:
- registerUrl: la URL en el momento en que se registró el MFE
- deregisterUrl: la URL en el momento en que se anuló el registro del MFE o se descargó la página
- vitals.fcp.value: El valor del primer despliegue de contenido detectado vinculado al árbol DOM del MFE
- vitals.lcp.value: El valor del largest contentful paint detectado vinculado al árbol DOM del MFE
- vitals.cls.value: El valor del cambio de diseño acumulativo detectado vinculado al árbol DOM del MFE
- vitals.inp.value: El valor de la interacción hasta el siguiente renderizado detectado vinculado al árbol DOM del MFE
Eliminaciones:
- URL de la página
- URL actual
Agregar instrumentación para rastrear condiciones de carrera entre pestañas
Agrega una métrica de compatibilidad para rastrear una condición de carrera que ocurre cuando otra página se ejecuta al mismo tiempo con un estado de sesión actualizado.
mejorar la estandarización del objetivo v2
Mejora los componentes internos del agente para proporcionar una referencia explícita para los objetivos del agente del contenedor al procesar los datos de la ruta MFE v2, en lugar de depender de suposiciones de objetivos no definidos impulsadas por efectos secundarios.
Introduce PageView v2 y desacopla la llamada al servicio de conexión
La antigua solicitud RUM responsable tanto de recuperar la configuración de la aplicación como de la generación de PageView ahora está dividida (temporalmente bajo una bandera de característica). Esto hace que el agente sea más resistente en ciclos de conexión problemáticos o en la recuperación fallida de la configuración, y el evento PageView ya no sería la dependencia que bloquea la recolección de otros eventos.
Corrección de errores
Asegurar que el enmascarador personalizado de Session Replay se aplique a elementos que no son de entrada
Se solucionó un problema por el cual la función de enmascaramiento personalizado no se aplicaba a ciertos tipos de elementos. El enmascarador personalizado se aplica a los elementos que están decorados con una clase CSS nr-umask o un atributo de datos data-nr-unmask, lo que permite anular un nodo que de otro modo estaría enmascarado y exponer su contenido de texto.
Declaración de apoyo
New Relic recomienda que actualices el agente periódicamente para garantizar que obtengas las últimas características y beneficios de rendimiento. Las versiones anteriores ya no recibirán soporte cuando lleguen al final de su vida útil. Las fechas de lanzamiento reflejan la fecha de publicación original de la versión del agente.
Las nuevas versiones del agente del browser se lanzan a los clientes en pequeñas etapas a lo largo de un periodo de tiempo. Debido a esto, la fecha en que el lanzamiento esté disponible en su cuenta puede no coincidir con la fecha de publicación original. Consulte este dashboard de estado para obtener más información.
De acuerdo con nuestra política de compatibilidad de navegadores, la versión 1.321.0 del agente del browser se creó y probó con estos navegadores y rangos de versiones: Chrome 141-151, Edge 141-151, Safari 18-27 y Firefox 143-153. Para dispositivos móviles, la v1.321.0 se compiló y probó para Android OS 16 e iOS Safari 18-26.2.
v1.320.1
Bug fixes
Avoid obfuscating keys and reserved system vals
Preserves all keys as well as reserved system values for AjaxRequest and Page View Timing events.
Apply hard cap to MFE FCP
Fixes an issue where MFE vitals could occasionally report out of bounds FCP/LCP values (e.g. after a browser tab freeze or suspend) instead of being dropped like other stale data.
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.320.1 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 140-150, Edge 140-150, Safari 18-27, and Firefox 142-152. For mobile devices, v1.320.1 was built and tested for Android OS 16 and iOS Safari 18-26.2.
v1.320.0
Features
Improve ability to apply reasonable caps to MFE vitals
Fixed a bug in the Register API's micro-frontend (MFE) vitals tracking where a script's timing correlation could be reused after it went stale, causing First Contentful Paint (and other vitals) to be misreported as up to several seconds slower than they actually were for MFEs that remount without their underlying script reloading (e.g. in single-page applications).
MFE iframe support - Beta Access
Adds an interface for capturing MFE data encapsulated in an iFrame. This is experimental, is subject to change or total removal and should not be used in a production environment until GA status has been reached
Bug fixes
Deduplicate auto-instrumented MFE events
Fixes duplicate reporting of auto-instrumented events (AJAX requests, JS errors, console logs, WebSocket activity etc.) when a micro-frontend is registered with the register() API multiple times. Previously, a single auto-instrumented event originating from a repeatedly-registered MFE script would be reported once per registration — Auto-detected events are now collapsed to a single report per real occurrence when they resolve to the same underlying script and the same registered MFE id. Explicit API-driven calls (.addPageAction(), .log(), .noticeError(), etc.) and MicroFrontEndTiming events remain per-registration, as intended, and distinct MFEs that happen to share a script (e.g. two different MFEs registered from the same inline <script> block) continue to be reported independently.
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.320.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 140-150, Edge 140-150, Safari 18-27, and Firefox 142-152. For mobile devices, v1.320.0 was built and tested for Android OS 16 and iOS Safari 18-26.2.
v1.319.0
Features
MFE vitals improvements
Implement quality of life improvements on the collection of MFE vital timings.
- If no FCP value is observed within 10 seconds, shut down observers for memory saving and outlier control.
- Decorate observed DOM trees with the MFE instance ID to facilitate debugging and prevent double-instrumentation of the same DOM tree from multiple instances pointed at the same MFE target.
Automatically Detect MFE Web Sockets
Add support for automatic Micro Frontend (MFE) attribution of WebSocket events. Previously, WebSocket events were only ever automatically captured globally by the container browser application. With this change, the agent cross-compares the call stack signature of the WebSocket method to the call stack signature of the MFE module that registered with the register API. If the file that is responsible for registering with the browser agent is found in the call stack signature of the WebSocket method being triggered, that event will be attributed to the MFE instead of the container.
Do not obfuscate attribute keys
Do not obfuscate attribute keys in our addCustomAttributes method for the BEL serializer. This change affects attributes in AjaxRequest, PageViewTiming, and BrowserInteraction (soft nav only) events.
Bug fixes
Avoid capturing agent AJAX payloads
Prevent the AJAX capture_payloads feature from capturing the agent's own telemetry requests (harvests to NR beacon endpoints).
Keep Ajax payload out of unrelated events
Drops captured AJAX request + payload info from unrelated events (AJAX timeslice metrics, session trace) via a shared params object.
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.319.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 139-149, Edge 139-149, Safari 18-27, and Firefox 142-152. For mobile devices, v1.319.0 was built and tested for Android OS 16 and iOS Safari 18-26.2.
v1.318.0
Característica
Agregar configuración de inicio de websocket
Agrega el bloque web_sockets a la configuración de inicio de NREUM. Establecer web_sockets.enabled en true activa la característica de web sockets. La característica de web sockets está deshabilitada de forma predeterminada.
Detección de Métricas web principales de MFE
Agregar métodos de detección interna para FCP, INP, CLS y LCP cuando son generados por un MFE
Mejora el inicio del agente
Proporciona un mejor soporte para escenarios donde el inicio del agente puede interrumpirse antes de que la llamada de RUM se complete con éxito y los modos de sesión de la característica se guarden en el almacenamiento local (donde corresponda).
Declaración de apoyo
New Relic recomienda que actualices el agente periódicamente para garantizar que obtengas las últimas características y beneficios de rendimiento. Las versiones anteriores ya no recibirán soporte cuando lleguen al final de su vida útil. Las fechas de lanzamiento reflejan la fecha de publicación original de la versión del agente.
Las nuevas versiones del agente del browser se lanzan a los clientes en pequeñas etapas a lo largo de un periodo de tiempo. Debido a esto, la fecha en que el lanzamiento esté disponible en su cuenta puede no coincidir con la fecha de publicación original. Consulte este dashboard de estado para obtener más información.
De acuerdo con nuestra política de compatibilidad de navegadores, la v1.318.0 del agente del browser se creó y probó para estos navegadores y rangos de versiones: Chrome 139-149, Edge 139-149, Safari 18-26 y Firefox 141-151. Para dispositivos móviles, la v1.318.0 se compiló y probó para Android OS 16 e iOS Safari 18-26.2.