Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web vital upgrade to 3.5.0 #129

Closed
wants to merge 6 commits into from
Closed

web vital upgrade to 3.5.0 #129

wants to merge 6 commits into from

Conversation

sethulakshmi-pm
Copy link

@sethulakshmi-pm sethulakshmi-pm commented Oct 10, 2023

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

@sethulakshmi-pm sethulakshmi-pm marked this pull request as draft January 15, 2024 10:22
@sethulakshmi-pm sethulakshmi-pm deleted the webvital-upgrade branch April 9, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant