v1.317.0
Recurso
Detectar e relatar cargas AJAX
Introduz o suporte à captura de carga AJAX para chamadas de API XMLHttpRequest e Fetch. Quando ativado, o agente do browser capturará os corpos, cabeçalhos e parâmetros de consulta de request/resposta, com detecção e análise automáticas de operações do GraphQL. A captura de carga é configurável para monitorar todos os requests ou apenas falhas, com limites de tamanho integrados (4 KB por atributo) e suporte a ofuscação para proteção de dados confidenciais.
Novos atributos de AjaxRequest
Captura de Carga - O agente do browser agora pode capturar e relatar cargas de solicitação e resposta para chamadas AJAX, fornecendo insights mais profundos sobre a atividade de rede e interações de API.
Configuração: ative a captura de carga usando a opção de configuração ajax.capture_payloads:
'all'- Capturar cargas para todos os requests AJAX'failures'- Capturar apenas requests com falha (erros de HTTP, erros de rede ou erros do GraphQL)none- Desativar a captura de carga (padrão)
Novos atributos em eventos AjaxRequest: quando as cargas AJAX são capturadas, novos atributos são incluídos automaticamente em eventos AjaxRequest:
requestQuery- Parâmetros de consulta de URLrequestHeaders,responseHeaders- cabeçalhos HTTPrequestBody,responseBody- Cargas de solicitação e resposta (apenas formatos baseados em texto: JSON, XML, GraphQL, texto simples)
Detecção de GraphQL: quando erros do GraphQL são detectados, um novo atributo adicional é incluído automaticamente nos eventos de AjaxRequest:
operationHasErrors- Indica se a operação retornou erros
Todos os dados capturados são automaticamente truncados para 4KB por atributo e suportam padrões de ofuscação para informações confidenciais.
Melhorar a ofuscação para oferecer suporte ao filtro de evento
O comportamento de ofuscação agora pode ser configurado para ser aplicado apenas a um subconjunto de tipos de evento, usando a propriedade eventFilter, que suporta uma matriz de strings de tipo de evento por regra de ofuscação. Quando fornecida, a regra de ofuscação será aplicada apenas quando o tipo de evento corresponder a um dos itens na matriz eventFilter. Para compatibilidade com versões anteriores, não fornecer uma propriedade eventFilter nas regras de configuração aplicará a regra a todos os dados.
Correções de bugs
Calcular browser_stack_hash a partir do stack trace truncado
Calcular o hash da stack do browser a partir do stack trace truncado em vez do stack trace não truncado. Antes dessa alteração, as coletas de primeira ocorrência de eventos JSE podiam ter um hash de stack do browser diferente de coletas futuras do mesmo stack trace se ele fosse truncado. Isso melhorará o agrupamento de erros de eventos JavaScriptError.
Obter responseBodySize do corpo se content-length estiver ausente
Resolve um problema em que os eventos de AjaxRequest relatavam incorretamente um responseSize de 0 ou undefined devido à falta de mecanismos de fallback e verificações falsas excessivamente restritivas. Introduziu um mecanismo de fallback que calcula os tamanhos de resposta a partir de cargas capturadas para requests Fetch e XHR quando o cabeçalho content-length está ausente.
Correção do tratamento de imagens embutidas para o Session Replay
Corrige um problema em que o Session Replay pode deixar uma imagem quebrada no DOM ativo. Nesta versão, a versão subjacente do rrweb evitará manipular a imagem ativa no DOM.
Declaração de apoio
New Relic recomenda que você atualize o agente regularmente para garantir que esteja obtendo os benefícios mais recentes de recursos e desempenho. Versões mais antigas não terão mais suporte quando chegarem ao fim de sua vida útil. As datas de lançamento refletem a data de publicação original da versão do agente.
Novos lançamentos de agente do browser são disponibilizados aos clientes em pequenas etapas ao longo de um período de tempo. Por esse motivo, a data em que o lançamento fica acessível à sua conta pode não corresponder à data de publicação original. Consulte este dashboard de status para obter mais informações.
De acordo com a nossa política de suporte a navegadores, a v1.317.0 do agente de Browser foi desenvolvida para e testada nestes navegadores e intervalos de versões: Chrome 139-149, Edge 139-149, Safari 18-26 e Firefox 141-151. Para dispositivos móveis, a v1.317.0 foi compilada e testada para Android OS 16 e iOS Safari 18-26.2.
v1.316.0
Features
Use app-namespaced keys for session
The browser agent now namespaces the session info to per browser app, using the combination of licenseKey and applicationID provided at startup. This means different apps sharing the same origin and browser localStorage will no longer share the same session, which was an accepted but not ideal collision, causing feature modes to bleed from one over to another for the duration of a session previously.
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.316.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 136-146, Edge 136-146, Safari 18-26, and Firefox 138-148. For mobile devices, v1.316.0 was built and tested for Android OS 16 and iOS Safari 18-26.2.
v1.315.0
Recurso
Aprimorar a API de SPA para oferecer suporte à opção targetPageLoad
Permitir que a API de SPA tenha como destino e atue no evento BrowserInteraction do tipo initialPageLoad. Uma nova opção é adicionada a .interaction que agora vincula o handle retornado à interação de carregamento inicial da página a qualquer momento.
Declaração de apoio
New Relic recomenda que você atualize o agente regularmente para garantir que esteja obtendo os benefícios mais recentes de recursos e desempenho. Versões mais antigas não terão mais suporte quando chegarem ao fim de sua vida útil. As datas de lançamento refletem a data de publicação original da versão do agente.
Novos lançamentos de agente do browser são disponibilizados aos clientes em pequenas etapas ao longo de um período de tempo. Por esse motivo, a data em que o lançamento fica acessível à sua conta pode não corresponder à data de publicação original. Consulte este dashboard de status para obter mais informações.
De acordo com a nossa política de suporte a navegadores, a v1.315.0 do agente do Browser foi desenvolvida para e testada nestes navegadores e intervalos de versões: Chrome 136–146, Edge 136–146, Safari 18–26 e Firefox 138–148. Para dispositivos móveis, a v1.315.0 foi compilada e testada para Android OS 16 e iOS Safari 18–26.2.
v1.314.0
Features
Add ajaxRequest.id attribute
Adds a unique identifier to all AjaxRequest events to facilitate direct queries and drilling-down into data in NR1 UIs.
Improve PageViewTiming load timing capture
The load timing is now more reliably captured for pages, inheriting the idea from web-vital's onTTFB. Before, it occasionally missed loadEventEnd from nav entry from a browser race condition, particularly for larger/longer-loaded pages, which caused load to be 0.
Adjust timestamps for clock skew due to machine sleep
Certain linux and apple hardware can freeze the performance API clocks when entering deep sleep, which can cause inaccurate timestamps on New Relic events upon awakening. This introduces a new change which attempts to correct clock skew caused by frozen machines.
Automatically Detect MFE User Actions
Add support for automatic Micro Frontend (MFE) attribution of UserAction events via a data-nr-mfe-id data attribute. Previously, UserAction events were only ever captured globally by the container browser application. With this change, the agent now performs a parental chain lookup for elements associated with the action, identified by the data-nr-mfe-id attribute.
To associate UserAction events with a registered MFE, add a data-nr-mfe-id at the root DOM node controlled by your MFE package that matches the ID supplied to the register API.
Allow Session Replay to retry payloads
Payloads failed with retryable codes will be re-harvested by the agent. Further session replay data will not be collected until the harvest retries successfully.
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.314.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 136-146, Edge 136-146, Safari 18-26, and Firefox 138-148. For mobile devices, v1.314.0 was built and tested for Android OS 16 and iOS Safari 18-26.2.
v1.313.1
Correções de bugs
Corrigir nomes de métodos para métodos MFE
Corrige nomes de métodos de MFE que poderiam ser minificados e não poderiam ser rastreados internamente para melhorias.
Declaração de apoio
New Relic recomenda que você atualize o agente regularmente para garantir que esteja obtendo os benefícios mais recentes de recursos e desempenho. Versões mais antigas não terão mais suporte quando chegarem ao fim de sua vida útil. As datas de lançamento refletem a data de publicação original da versão do agente.
Novos lançamentos de agente do browser são disponibilizados aos clientes em pequenas etapas ao longo de um período de tempo. Por esse motivo, a data em que o lançamento fica acessível à sua conta pode não corresponder à data de publicação original. Consulte este dashboard de status para obter mais informações.
De acordo com a nossa política de suporte a navegadores, a v1.313.1 do agente do Browser foi desenvolvida para e testada nestes navegadores e intervalos de versões: Chrome 136–146, Edge 136–146, Safari 18–26 e Firefox 138–148. Para dispositivos móveis, a v1.313.1 foi compilada e testada para Android OS 16 e iOS Safari 18-26.2.
v1.313.0
Features
Automatically Detect MFE Errors
Add support for automatic Micro Frontend (MFE) attribution of JavaScriptError events. Previously, JavaScriptError events were only ever captured globally by the container browser application. With this change, the agent cross-compares the stack trace of the thrown Error instance 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 stack trace of the thrown Error instance, that event will be attributed to the MFE instead of the container.
remove "withCredentials"
Remove all usage of withCredentials or credentials: 'include' from agent harvests, as cookies have not been used in the agent since before v1220.
Improve MicroFrontEndTiming heuristics
Improve the ability to detect script execution times for MFE, leading to more accurate timeToLoad metrics.
Report CSP violations as new events
Content Security Policy (CSP) violations bubbled up are now captured and reported as a new SecurityPolicyViolation event type to Page Insight consumer. They become query-able through NRQL.
Apply legal and compliance requirements to register API
Ensure the register API complies to company requirements before exposing for limited preview.
Bug fixes
Bad trace.lastTimestamp in Safari + back nav edge case
Fixes a race condition where Safari browser's back navigation (BFCache) could cause absolute timestamps to be recorded at the start of the session trace feature, resulting in an abnormal trace.lastTimestamp value and a mix of relative and absolute timestamps in a single payload.
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.313.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 136-146, Edge 136-146, Safari 18-26, and Firefox 138-148. For mobile devices, v1.313.0 was built and tested for Android OS 16 and iOS Safari 18-26.2.
v1.312.1
Bug fixes
.at causes issues in older browsers
.at() is not being properly transpiled and causing initialization issues, switched to indexing.
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.312.1 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 136-146, Edge 136-146, Safari 18-26, and Firefox 138-148. For mobile devices, v1.312.1 was built and tested for Android OS 16 and iOS Safari 18-26.2.
v1.312.0
Features
Automatically Detect MFE Logs
Add support for automatic Micro Frontend (MFE) attribution of Log events. Previously, Log 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 given log method (such as console.log, console.info, etc.) 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 log method being triggered, that event will be attributed to the MFE instead of the container.
Automatically Detect MFE AJAX
Add support for automatic Micro Frontend (MFE) attribution of AjaxRequest events. Previously, AjaxRequest events were only ever captured globally by the container browser application. With this change, the agent cross-compares the call stack signature of the AJAX call 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 AJAX request being triggered, that event will be attributed to the MFE instead of the container.
Bug fixes
Session replays not working for Angular app running on Safari
Fixes an issue where session replays would fail to capture any recordings beyond an initial snapshot for Angular apps running on Safari.
Revert circular replacer
The circular replacer method applied to JSON.stringify operations was seen to cause lag in niche cases with deeply complex and nested objects emitted in quick succession such as in scroll event handlers. This method was revert back to a faster simpler operation to decrease performance bottlenecks.
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.312.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 136-146, Edge 136-146, Safari 18-26, and Firefox 138-148. For mobile devices, v1.312.0 was built and tested for Android OS 16 and iOS Safari 18-26.2.