v1.322.0
特徴
SPVイベント用のオブザーバーAPIを含める
エージェントローダーの実行前に発生したsecuritypolicyviolationイベントをキャッチするには、ReportingObserver APIを使用してください。実際には、既存の設定やバグがFirefoxおよびSafariの収集に影響を与えるため、これは主にChromiumブラウザーに影響します。
MFEマニフェスト
マイクロフロントエンドが自身の既知のアセット(スクリプト、スタイルシート、画像、フォント)を宣言できるように、オプションのmanifestをregister() APIに追加します。これにより、エージェントはエラー、ログ、AJAX呼び出し、WebSocket、およびリソース・タイミング・イベントをそれに正確に属性付けることができます — register()を呼び出したスクリプト以外のスクリプトによってロードされたアセットであっても。また、オプトインのtimingMethodにより、マニフェストは宣言されたアセット全体でMicroFrontEndTimingのフェッチ/実行ウィンドウを拡大できます。
登録検証の警告を追加
登録APIに提供されたターゲットから明らかな問題が検出された場合、ローカルデバッグ警告を発行します。
バグ修正
リスナーのリークを修正するため、web-vitalsを4.2.4から6.2.1にアップグレードしてください。
バンドルされているweb-vitalsライブラリを4.2.4から6.2.1にアップグレードし、無制限のdocument visibilitychangeリスナーのリークを修正しました:web-vitals 4.xはINPレポートサイクルごとに永続的なリスナーを登録するため、長時間開かれているページでは数百のリスナーが蓄積されます。また、エージェントが出力する属性名に変更を加えることなく、エージェントが影響を受けるv5/v6アトリビューションAPIの変更(LCPAttribution.element → target の名前変更、および新たにオプションとなったINP/CLSアトリビューションフィールド)を取り込みました。
サポートステートメント
New Relic では、最新の機能とパフォーマンス上のメリットを確実に得られるよう、エージェントを定期的にアップグレードすることをお勧めします。古いリリースはサポート終了になるとサポートされなくなります。リリース日は、エージェント バージョンの元の公開日を反映します。
以下の機能は現在リミテッドプレビューであり、標準サポートは提供されません:
新しいブラウザエージェントのリリースは、一定期間にわたって小さな段階で顧客に展開されます。 このため、リリースがアカウントでアクセス可能になる日付は、元の公開日と一致しない可能性があります。詳細については、このステータス ダッシュボードをご覧ください。
当社のブラウザサポートポリシーに従い、Browserエージェントのv1.322.0は、以下のブラウザおよびバージョン範囲向けに構築され、テストされました:Chrome 142~152、Edge 141~151、Safari 18~27、およびFirefox 144~154。モバイルデバイスについては、v1.322.0はAndroid OS 16およびiOS Safari 18~26.2向けに構築され、テストされました。
v1.321.0
Features
MicroFrontEndTiming attributes changes
MicroFrontEndTiming event attribute changes
Additions:
- registerUrl: The URL at the time the MFE was registered
- deregisterUrl: The URL at the time the MFE was deregistered or the page unloaded
- vitals.fcp.value: The value of the first contentful paint detected tied to the MFE DOM tree
- vitals.lcp.value: The value of the largest contentful paint detected tied to the MFE DOM tree
- vitals.cls.value: The value of the cumulative layout shift detected tied to the MFE DOM tree
- vitals.inp.value: The value of the interaction to next paint detected tied to the MFE DOM tree
Removals:
- pageUrl
- currentUrl
Add instrumentation to track races between tabs
Adds a supportability metric to track a race condition that occurs when another page runs at the same time with an updated session state.
improve v2 target standardization
Improves agent internals to provide an explicit reference for container agent targets while processing v2 MFE pathway data, rather than relying on side-effect driven undefined target assumptions.
Introduce v2 PageView & decouple connect service call
The old RUM request responsible for both retrieving app configurations and PageView generation is now split (temporarily under a feature flag). This makes the agent more resilient on problematic connect cycles or unsuccessful config retrieval, and the PageView event would no longer be the dependency blocking other events from harvesting.
Bug fixes
Ensure Session Replay's custom masker applies to non-inputs
Fixed an issue where the custom masker function was not applying to certain element types. The custom masker is applied to elements that are decorated with one of nr-umask CSS class or data-nr-unmask data attribute, allowing a node that would otherwise be masked to be overridden and its text contents exposed.
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.321.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 141-151, Edge 141-151, Safari 18-27, and Firefox 143-153. For mobile devices, v1.321.0 was built and tested for Android OS 16 and 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
Features
Add websocket init config
Adds web_sockets block to NREUM init configuration. Setting web_sockets.enabled to true turns on the web sockets feature. The web sockets feature is disabled by default.
MFE core web-vitals detection
Add internal detection methods for FCP, INP, CLS, and LCP when spawned by a MFE
Improve agent startup
Provide better support for scenarios where agent startup can be interrupted before RUM call completes successfully and feature session modes are saved into local storage (where applicable).
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.318.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 139-149, Edge 139-149, Safari 18-26, and Firefox 141-151. For mobile devices, v1.318.0 was built and tested for Android OS 16 and iOS Safari 18-26.2.
v1.317.0
特徴
AJAXペイロードの検出とレポート
XMLHttpRequestおよびFetch APIコールのAJAXペイロードキャプチャのサポートを導入しました。有効にすると、Browserエージェントはリクエスト/レスポンスの本文、ヘッダー、およびクエリパラメーターをキャプチャし、GraphQL操作を自動的に検出して解析します。ペイロードキャプチャは、すべてのrequestsまたは失敗のみをモニターするように設定可能であり、組み込みのサイズ制限(属性あたり4KB)と機密データ保護のための難読化サポートを備えています。
新しいAjaxRequest属性
ペイロードキャプチャ - Browserエージェントは、AJAXコールのリクエストおよびレスポンスペイロードをキャプチャしてレポートできるようになり、ネットワークアクティビティとAPIインタラクションに関するより深いインサイトを提供します。
設定:ajax.capture_payloads設定オプションを使用してペイロードキャプチャを有効にします:
'all'- すべてのAJAX requestsのペイロードをキャプチャする'failures'- 失敗したrequests(HTTPエラー、ネットワークエラー、またはGraphQLエラー)のみをキャプチャするnone- ペイロードキャプチャを無効にする(デフォルト)
AjaxRequestイベントの新しい属性:AJAXペイロードがキャプチャされると、新しい属性がAjaxRequestイベントに自動的に含まれます:
requestQuery- URLクエリパラメーターrequestHeaders、responseHeaders- HTTPヘッダーrequestBody、responseBody- リクエストおよびレスポンスペイロード(テキストベースの形式のみ:JSON、XML、GraphQL、プレーンテキスト)
GraphQLの検出:GraphQLエラーが検出されると、新しい追加属性がAjaxRequestイベントに自動的に含まれます:
operationHasErrors- 操作がエラーを返したかどうかを示します
キャプチャされたすべてのデータは属性あたり4KBに自動的に切り捨てられ、機密情報の難読化パターンをサポートします。
イベントフィルターをサポートするための難読化の強化
難読化の動作は、eventFilterプロパティを使用して、イベントタイプのサブセットにのみ適用するように設定できるようになりました。このプロパティは、難読化ルールごとにイベントタイプ文字列の配列をサポートします。指定された場合、難読化ルールは、イベントタイプがeventFilter配列の項目のいずれかに一致する場合にのみ適用されます。下位互換性のため、設定ルールにeventFilterプロパティを指定しない場合、ルールはすべてのデータに適用されます。
バグ修正
切り捨てられたスタックトレースからbrowser_stack_hashを計算する
切り捨てられていないスタックトレースの代わりに、切り捨てられたスタックトレースからブラウザのスタックハッシュを計算します。この変更前は、JSEイベントの初回発生時のハーベストでは、スタックトレースが切り捨てられた場合、同じスタックトレースの将来のハーベストとは異なるブラウザのスタックハッシュを持つ可能性がありました。これにより、JavaScriptErrorイベントのエラーグループ化が改善されます。
content-lengthが欠落している場合、bodyからresponseBodySizeを取得する
フォールバックメカニズムの欠如と過度に制限的なfalsyチェックにより、AjaxRequestイベントがresponseSizeを0またはundefinedと不正確にレポートする問題に対処しました。content-lengthヘッダーが欠落している場合、FetchおよびXHR requestsのキャプチャされたペイロードからレスポンスサイズを計算するフォールバックメカニズムを導入しました。
セッションリプレイのインライン画像の処理にパッチを適用
セッションリプレイがライブDOMで画像を壊れたままにする可能性がある問題を修正しました。このバージョンでは、基盤となるrrwebバージョンはDOM上のライブ画像の操作を回避します。
サポートステートメント
New Relic では、最新の機能とパフォーマンス上のメリットを確実に得られるよう、エージェントを定期的にアップグレードすることをお勧めします。古いリリースはサポート終了になるとサポートされなくなります。リリース日は、エージェント バージョンの元の公開日を反映します。
新しいブラウザエージェントのリリースは、一定期間にわたって小さな段階で顧客に展開されます。 このため、リリースがアカウントでアクセス可能になる日付は、元の公開日と一致しない可能性があります。詳細については、このステータス ダッシュボードをご覧ください。
当社のブラウザサポートポリシーに従い、Browserエージェントのv1.317.0は、次のブラウザおよびバージョン範囲向けにビルドされ、テストされました:Chrome 139-149、Edge 139-149、Safari 18-26、およびFirefox 141-151。モバイルデバイス向けに、v1.317.0はAndroid OS 16および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.