instana / weasel

Gather end-user browser performance data
https://www.instana.com
MIT License
40 stars 5 forks source link

web vital upgrade to 3.5.0 #129

Closed sethulakshmi-pm closed 9 months ago

sethulakshmi-pm commented 1 year ago

WHY: The web-vitals dependency is out-of-date.

WHAT: Upgrade web-vitals to 3.5.0

v3.5.0 (2023-09-28) Run onLCP callback in separate task (https://github.com/GoogleChrome/web-vitals/pull/386) Fix INP durationThreshold bug when set to 0 (https://github.com/GoogleChrome/web-vitals/pull/372) Prevent FID entries being emitted as INP for non-supporting browsers (https://github.com/GoogleChrome/web-vitals/pull/368) v3.4.0 (2023-07-11) Make bindReporter generic over metric type (https://github.com/GoogleChrome/web-vitals/pull/359) Update INP status in README (https://github.com/GoogleChrome/web-vitals/pull/362) Fix Metric types for better TypeScript support (https://github.com/GoogleChrome/web-vitals/pull/356) Fix selector for SVGs for attribution build (https://github.com/GoogleChrome/web-vitals/pull/354) v3.3.2 (2023-05-29) Fix attribution types (https://github.com/GoogleChrome/web-vitals/pull/348) Safe access navigation entry type (https://github.com/GoogleChrome/web-vitals/pull/290) v3.3.1 (2023-04-04) Export metric rating thresholds in attribution build as well. v3.3.0 (2023-03-09) Export metric rating thresholds, add explicit MetricRatingThresholds type (https://github.com/GoogleChrome/web-vitals/pull/323) Trim classname selector (https://github.com/GoogleChrome/web-vitals/pull/328) Add link to CrUX versus RUM blog post (https://github.com/GoogleChrome/web-vitals/pull/327) Prevent LCP being reported for hidden prerendered pages (https://github.com/GoogleChrome/web-vitals/pull/326) Add Server Timing information to docs (https://github.com/GoogleChrome/web-vitals/pull/324) Fix link in onINP() thresholds comment (https://github.com/GoogleChrome/web-vitals/pull/318) Update web.dev link for onINP() (https://github.com/GoogleChrome/web-vitals/pull/307) Add a note about when to load the library (https://github.com/GoogleChrome/web-vitals/pull/305) v3.2.0 Version number skipped v3.1.1 (2023-01-10) Defer CLS logic until after onFCP() callback (https://github.com/GoogleChrome/web-vitals/pull/297) v3.1.0 (2022-11-15) Add support for 'restore' as a navigationType (https://github.com/GoogleChrome/web-vitals/pull/284) Report initial CLS value when reportAllChanges is true (https://github.com/GoogleChrome/web-vitals/pull/283) Defer all observers until after activation (https://github.com/GoogleChrome/web-vitals/pull/282) Ignore TTFB for loads where responseStart is zero (https://github.com/GoogleChrome/web-vitals/pull/281) Defer execution of observer callbacks (https://github.com/GoogleChrome/web-vitals/pull/278) v3.0.4 (2022-10-18) Clamp LCP and FCP to 0 for prerendered pages (https://github.com/GoogleChrome/web-vitals/pull/270) v3.0.3 (2022-10-04) Ensure attribution object is always present in attribution build (https://github.com/GoogleChrome/web-vitals/pull/265) v3.0.2 (2022-09-14) Set an explicit unpkg dist file (https://github.com/GoogleChrome/web-vitals/pull/261) v3.0.1 (2022-08-31) Use the cjs extension for all UMD builds (https://github.com/GoogleChrome/web-vitals/pull/257) v3.0.0 (2022-08-24) [BREAKING] Add a config object param to all metric functions (https://github.com/GoogleChrome/web-vitals/pull/225) [BREAKING] Report TTFB after a bfcache restore (https://github.com/GoogleChrome/web-vitals/pull/220) [BREAKING] Only include last LCP entry in metric entries (https://github.com/GoogleChrome/web-vitals/pull/218) Update the metric ID prefix for v3 (https://github.com/GoogleChrome/web-vitals/pull/251) Move the Navigation Timing API polyfill to the base+polyfill build (https://github.com/GoogleChrome/web-vitals/pull/248) Add a metric rating property (https://github.com/GoogleChrome/web-vitals/pull/246) Add deprecation notices for base+polyfill builds (https://github.com/GoogleChrome/web-vitals/pull/242) Add a new attribution build for debugging issues in the field (https://github.com/GoogleChrome/web-vitals/pull/237, https://github.com/GoogleChrome/web-vitals/pull/244) Add support for prerendered pages (https://github.com/GoogleChrome/web-vitals/pull/233) Rename the ReportHandler type to ReportCallback, with alias for back-compat (https://github.com/GoogleChrome/web-vitals/pull/225, https://github.com/GoogleChrome/web-vitals/pull/227) Add support for the new INP metric (https://github.com/GoogleChrome/web-vitals/pull/221, https://github.com/GoogleChrome/web-vitals/pull/232) Rename getXXX() functions to onXXX() (https://github.com/GoogleChrome/web-vitals/pull/222) Add a navigationType property to the Metric object (https://github.com/GoogleChrome/web-vitals/pull/219) v2.1.4 (2022-01-20) Prevent TTFB from reporting after bfcache restore (https://github.com/GoogleChrome/web-vitals/pull/201) v2.1.3 (2022-01-06) Only call report if LCP occurs before first hidden (https://github.com/GoogleChrome/web-vitals/pull/197) v2.1.2 (2021-10-11) Ensure reported TTFB values are less than the current page time (https://github.com/GoogleChrome/web-vitals/pull/187) v2.1.1 (2021-10-06) Add feature detects to support Opera mini in extreme data saver mode (https://github.com/GoogleChrome/web-vitals/pull/186) v2.1.0 (2021-07-01) Add batch reporting support and guidance (https://github.com/GoogleChrome/web-vitals/pull/166) v2.0.1 (2021-06-02) Detect getEntriesByName support before calling (https://github.com/GoogleChrome/web-vitals/pull/158) v2.0.0 (2021-06-01) [BREAKING] Update CLS to max session window 5s cap 1s gap (https://github.com/GoogleChrome/web-vitals/pull/148) Ensure CLS is only reported if page was visible (https://github.com/GoogleChrome/web-vitals/pull/149) Only report CLS when FCP is reported (https://github.com/GoogleChrome/web-vitals/pull/154) Update the unique ID version prefix (https://github.com/GoogleChrome/web-vitals/pull/157)