v1.303.0
ํน์ง
localStorage ์ก์ธ์ค ์์ด ๋์ API๋ฅผ ํธ์ถํ๋๋ก ํ์ฉ
์์ง์ ์ ์ดํ๋ ์์ด์ ํธ์์ ๊ณตํต ์ํ๋ฅผ ์ ์งํจ์ผ๋ก์จ localStorage ์ก์ธ์ค๊ฐ ํ์ ์์ด ๋์ API๊ฐ ์๋ํ ์ ์๋๋ก ํฉ๋๋ค. localStorage ์ก์ธ์ค๊ฐ ์ฐจ๋จ๋๋ฉด ์ ํ๋ฆฌ์ผ์ด์ ์ ๋ชจ๋ ํ๋ ํ์ด์ง ๋ก๋ ์ API๋ฅผ ํธ์ถํด์ผ ํฉ๋๋ค.
์ค์ฒฉ๋ ๋ฑ๋ก ํ์ฉ
๊ณํ๋ ๋ฑ๋ก API ์ฌ์ฉํ์ฌ ๋ด์ฌ์ ์ธ ๋ถ๋ชจ-์์ ๊ด๊ณ๋ฅผ ์ฉ์ดํ๊ฒ ํ๋ ค๋ฉด ๋ฑ๋ก๋๊ฐ ํด๋น์ ์์์ด ๋ฑ๋กํ ์ ์๋ ์์ฒด .register() API ๋
ธ์ถํ๋๋ก ํ์ฉํ์ธ์. ์ปจํ
์ด๋ ์์ด์ ํธ์ ๋ฑ๋กํ ์ฌ๋์ ์ปจํ
์ด๋์ ๊ด๋ จ์ด ์์ต๋๋ค. ๋ค๋ฅธ ๋ฑ๋ก๋ ๋ถ๋ถ์ ์ํ๋ ๋ถ๋ถ์ ํด๋น ๋ถ๋ถ๋ฟ๋ง ์๋๋ผ ์์ ๋ถ๋ถ์๋ ๊ด๋ จ๋ฉ๋๋ค.
MFE ๋ฑ๋ก์ ์ํ ์์ด์ ํธ ์ค๋น๋ฅผ ์ํ ์ถ๊ฐ ๊ฒ์ฆ
MFE/v2 ๋ฑ๋ก์ ์ง์ํ๋ ๋ชฉํ id ๋ฐ name ์ ๋ํ ์๋ชป๋ ๊ฐ์ ๋ฐฉ์งํ๊ธฐ ์ํด ์์ด์ ํธ์ ์ ํจ์ฑ ๊ฒ์ฌ ๊ท์น์ ์ถ๊ฐํฉ๋๋ค.
API ๋ฑ๋ก์ ์ธก์ ์ง์ ์ถ๊ฐ
๋ฑ๋ก ์๋ต ๊ฐ์ฒด์์ ์ธก์ API์ ๋ํ ์ง์์ ์ถ๊ฐํฉ๋๋ค. ์ด๋ ํฅํ ๊ณํ๋ ๋ง์ดํฌ๋ก ํ๋ก ํธ์๋ ์ ๊ณต์ ์ง์ํ๊ธฐ ์ํ ๊ฒ์ ๋๋ค.
useConsentModel ๊ธฐ๋ฅ ์ถ๊ฐ
use_consent_mode init ์์ฑ๊ณผ ๊ธฐ๋ฅ์ ์ถ๊ฐํฉ๋๋ค. consent() API ํธ์ถ์ ์ถ๊ฐํฉ๋๋ค. ๋์ ๋ชจ๋ธ์ด ํ์ฑํ๋ ๊ฒฝ์ฐ, consent() API ํธ์ถ์ ํตํด ๋์๊ฐ ์ ๊ณต๋์ง ์๋ ํ ์์ด์ ํธ ์์ง์ด ํ์ฉ๋์ง ์์ต๋๋ค.
์ด๊ธฐ ์ฐ๊ฒฐ ํธ์ถ์ ๋ค์ ์๋ํ์ธ์
๋ฐ์ดํฐ ์์ค์ ๋ฐฉ์งํ๊ธฐ ์ํด ์ด์ ์์ด์ ํธ๋ ์ฌ์๋ ๊ฐ๋ฅํ ์ํ ์ฝ๋์ ๋ํด ์๋ "RUM" ํธ์ถ์ ์ถ๊ฐ ์๊ฐ ๋์ ์ฌ์๋ํฉ๋๋ค.
API๋ฑ๋ก์ ์ํ ๋ง์ถคํ ๋์๋ณด๋ ์ง์ ์ถ๊ฐ
MFE ์ง์์ด ํ๋ฆฝ๋๋ฉด ๋์ค์ ์ฌ์ฉํ ์ ์๋๋ก ์ฌ์ฉ์ ์ ์ ๋์๋ณด๋๋ฅผ ์บก์ฒํ๋ ๋ฐฉ๋ฒ์ ๋ฑ๋ก API ์ ์ถ๊ฐํฉ๋๋ค.
๋ธ๋ผ์ฐ์ ์ฐ๊ฒฐ ์๋ต์ ์ํ SMS
page_view_event ์ง๊ณ๋ฅผ ์ด๊ธฐํํ ๋ ์คํจํ ์๋ต์ ๋ํ ์ง์ ๊ฐ๋ฅ์ฑ ๋ฉํธ๋ฆญ์ ์ถ๊ฐํฉ๋๋ค.
๋ฒ๊ทธ ์์
PVE ์ดํ์ ์ถ๊ฐ๋ ๋ก๊ทธ์ธ์ ๋ํ ๋๋ ํ ์ฌ์ฉ์ ์ ์ ์์ฑ
๋๋ ํ๋ฅผ ํ์ฅํ์ฌ ์ด๊ธฐ RUM/PageViewEvent ์์ง ํ ์ถ๊ฐ๋ ๋ก๊น ์ด๋ฒคํธ์ ๋ํ ์ฌ์ฉ์ ์ง์ ์์ฑ์ ์ฒ๋ฆฌํฉ๋๋ค.
Safari ์ค๋จ์ ๋ฐฉ์งํ๊ธฐ ์ํด ๋ฉ๋ชจ๋ผ์ด์ฆ ์ฝ์ ์ปจํ ์คํธ ์ ํ
Safari์์ ๋ฐ๋ณต๋๋ ์ปจํ ์คํธ ์์ ์ ํผํจ์ผ๋ก์จ ์ ์ฌ์ ์ธ ๋ธ๋ผ์ฐ์ ์ค๋จ์ ๋ฐฉ์งํ๊ธฐ ์ํด ์ฝ์ ์ปจํ ์คํธ ์ ํ๋ฅผ ๋ฉ๋ชจํํฉ๋๋ค.
์ง์ง ์ฑ๋ช
๋ด๋ ๋ฆญ์ ์์ด์ ํธ๋ฅผ ์ ๊ธฐ์ ์ผ๋ก ์ ๊ทธ๋ ์ด๋ํ์ฌ ์ต์ ๊ธฐ๋ฅ๊ณผ ์ฑ๋ฅ ์ด์ ์ ์ป์ ๊ฒ์ ๊ถ์ฅํฉ๋๋ค. ์ด์ ๋ฆด๋ฆฌ์ค๋ ์ง์ ์ข ๋ฃ ์์ ๋ถํฐ ๋ ์ด์ ์ง์๋์ง ์์ต๋๋ค. ์ถ์์ผ์ ์์ด์ ํธ ๋ฒ์ ์ ์๋ ์ถํ์ผ์ ๋ฐ์ํฉ๋๋ค.
์๋ก์ด ๋ธ๋ผ์ฐ์ ์์ด์ ํธ ๋ฆด๋ฆฌ์ค๋ ์ผ์ ๊ธฐ๊ฐ ๋์ ์์ ๋จ๊ณ๋ก ๊ณ ๊ฐ์๊ฒ ์ถ์๋ฉ๋๋ค. ์ด๋ก ์ธํด, ๊ทํ์ ๊ณ์ ์์ ํด๋น ๋ฆด๋ฆฌ์ค์ ์ ๊ทผํ ์ ์๋ ๋ ์ง๊ฐ ์๋ ๊ฒ์ ๋ ์ง์ ์ผ์นํ์ง ์์ ์ ์์ต๋๋ค. ์์ธํ ๋ด์ฉ์ ์ด ์ํ ๋์๋ณด๋๋ฅผ ์ฐธ์กฐํ์ธ์.
๋ธ๋ผ์ฐ์ ์ง์ ์ ์ฑ ์ ๋ฐ๋ผ, ๋ธ๋ผ์ฐ์ ์์ด์ ํธ v1.303.0์ ๋ค์ ๋ธ๋ผ์ฐ์ ๋ฐ ๋ฒ์ ๋ฒ์์ ๋ง์ถฐ ๋น๋๋๊ณ ํ ์คํธ๋์์ต๋๋ค: Chrome 131-141, Edge 131-141, Safari 17-26, Firefox 134-144. ๋ชจ๋ฐ์ผ ์ฅ์น์ ๊ฒฝ์ฐ v1.303.0์ด Android OS 16 ๋ฐ iOS Safari 17-26์ฉ์ผ๋ก ๊ตฌ์ถ ๋ฐ ํ ์คํธ๋์์ต๋๋ค.
v1.302.0
Features
Prepare agent to utilize v2 harvests for MFE registrations
Update the agent to handle harvests for registered targets to use the newly defined v2 endpoint schemas. This will act as the mechanism to handle client-side entity and relationship synthesis as well as ingest MFE specific data. This will be supported for Log, PageAction and JavaScriptError events, but is currently gated behind internal feature flags until a public preview is announced.
Bug fixes
User frustrations logic should be gated
Move user frustrations logic to browser scope only with FF gate in Generic Events instrumentation. This should avoid running extraneous wrapping logic and events related to user frustrations.
Improve accuracy in standalone AjaxRequest event start times
Adjusts a problem in the agent where start times of certain standalone AjaxRequest event payloads were reported relative to the page origin instead of relative to the first event in the payload, causing discrepancies when visualizing in NR1.
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.302.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 131-141, Edge 131-141, Safari 17-26, and Firefox 134-144. For mobile devices, v1.302.0 was built and tested for Android OS 16 and iOS Safari 17-26.
v1.301.0
Features
Switch to using NR fork of rrweb
Browser agent will now switch to using New Relic's forked version of rrweb for Session Replay instead of the original repository. This will allow browser team to custom tailor hotfixes for issues.
Bug fixes
Preserve agent attributes for log payloads
Adjust browser log payloads, such that agent-reserved attributes will take precedence over user-provided values if they happen to share the same name.
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.301.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 131-141, Edge 131-141, Safari 17-26, and Firefox 133-143. For mobile devices, v1.301.0 was built and tested for Android OS 16 and iOS Safari 17-26.
v1.300.0
Features
Remove usage of the marks and measures feature flag
No longer gates the agent by an internal feature flag. Measures will be enabled for all users by default unless turned off through the application settings.
Reduce hasReplay attribute false positive rate
Only set "hasReplay" attribute once a successful session replay harvest has been observed to help reduce false positives.
Bug fixes
Update typings for interaction API to reflect waitForEnd
Fixes an issue where the typing file defining the .interaction API was not decorated correctly to account for the optional waitForEnd argument as documented.
Address issues with dynamic require and Rollup.js
Fixes an issue that led Rollup.js to spawn the error Error: Could not dynamically require ... when building pages that included the MicroAgent loader.
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.300.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 131-141, Edge 131-141, Safari 17-26, and Firefox 133-143. For mobile devices, v1.300.0 was built and tested for Android OS 16 and iOS Safari 17-26.
v1.299.0
Features
Add Flutter supportability metric
Introduces a supportability metric to track browser agent usage in Flutter web applications.
Add user frustration signals to UserAction
Provide better insight into potential user frustrations for specific user actions via dead click and error click detections.
Evaluate the accuracy of cross-feature attribution
To support internal improvement benchmarks, add supportability metrics that evaluate the accuracy of attributes that indicate the state of a separate event, such as hasReplay or hasTrace.
Bug fixes
Fix recordReplay API inconsistencies
Fixes an issue where a late-called recordReplay API call would not successfully harvest 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.299.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 130-140, Edge 130-140, Safari 17-19, and Firefox 132-142. For mobile devices, v1.299.0 was built and tested for Android OS 16 and iOS Safari 17-26.
v1.298.0
Features
Factor long tasks into soft nav base interaction span
BrowserInteraction under soft navigation ("SPA 2.0") will extend in duration beyond DOM modification time until the point wherein no long tasks have been observed for 5 seconds. JavascriptError and AjaxRequest are not yet associated with such interaction during this extended period beyond the end of the original heuristic.
Bug fixes
Force LCP to report the original page URL
Allow LCP to report its pageUrl distinctly from the harvest URL. An issue was observed where soft navigations occurring before the LCP harvest would report the current page URL instead of the original page URL tied to LCP. This change allows LCP harvest nodes to report the original URL, regardless of the current page URL. The change should apply both to the pageUrl and targetGroupedUrl attributes.
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.298.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 130-140, Edge 130-140, Safari 17-19, and Firefox 132-142. For mobile devices, v1.298.0 was built and tested for Android OS 16 and iOS Safari 17-26.
v1.297.1
Bug fixes
Prevent double import of Session Replay aggregate class
Fixes an issue that was found where the Session Replay aggregate class could be double imported when using the newrelic.recordReplay API method while preloading was enabled.
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.297.1 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 130-140, Edge 130-140, Safari 17-19, and Firefox 132-142. For mobile devices, v1.297.1 was built and tested for Android OS 16 and iOS Safari 17-18.5.
v1.297.0
Features
Prevent early harvests when in retry period
Prevent the agent from harvesting early when being rate limited. If the ingest service returns a 429, the agent will replace its data and try the harvest again later. While that is happening, it will no longer be able to harvest early as new data comes in, until it successfully harvests.
remove newrelic meta attribute
Remove the reporting of the __newrelic meta attribute from outgoing replay payloads. This is being conducted as a measure to help save billable bytes for customers and reduce cost of use for Session Replay functionalities.
Bug fixes
Fix exceptions for null bodies arising from empty harvests
A change has been made to enforce that all cleaned payloads ensure a valid output. Before, an empty string passing through the body cleaning process could throw an error as the mechanism would return the body as null. Now empty strings will pass through untouched, allowing further processing to apply 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.297.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 129-139, Edge 129-139, Safari 17-19, and Firefox 131-141. For mobile devices, v1.297.0 was built and tested for Android OS 16 and iOS Safari 17-18.1.
v1.296.0
Features
Harvest traces early
Update agent to handle session traces the same way other features handle data as of 1.294.0, by allowing harvests at 16kb of size.
Bug fixes
Remove event buffer inspection event
Removes the event buffer inspection event to avoid a memory leak on using console.log with the newrelic window event listener.
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.296.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 129-139, Edge 129-139, Safari 17-19, and Firefox 131-141. For mobile devices, v1.296.0 was built and tested for Android OS 16 and iOS Safari 17-18.1.