Releases: Zizzamia/perfume.js
v5.0.2
v5.0.0
- feat: simplified the
analyticsTracker
by having all duration value inside thedata
property - feat: enabled
PerformanceObserver
for all browser, before was only for Chrome - feat: added Total Blocking Time #112
- feat: added Total Blocking Time Final for when the page's lifecycle state changes to hidden
- feat: added secondary log for LCP and CLS called LCP Final & CLS Final for when the page's lifecycle state changes to hidden
- feat: added
storageEstimateQuota
andstorageEstimateUsage
to the navigatorInfo results - fix: added feature detection for
clearMarks
- fix: solved issue with
storageEstimate
and created his own event - refactor: reduced library size to 2Kb gzipped
Breaking Changes
Until now, we allowed only Chrome to run the PerformanceObserver interface because of possible cross-browser issues. One in particular related to Firefox 58: https://bugzilla.mozilla.org/show_bug.cgi?id=1403027. Starting from Perfume.js v5, we are going to remove this limitation.
Having both duration
and data
inside the analyticsTracker
, it started causing some confusion. Starting from v5, we will keep only data
and have any information from duration
contained inside data
. Please make sure to change the code inside your analyticsTracker
.
More changes:
- Removed the development logging options, in favor of focusing more on the
analyticsTracker
method. - Removed warning logs for
start()
andend()
methods, because the code already handles those edge cases. - Renamed most of metric names, please read README Quickstart to see the latest name version we have. We made most of metric with short names, to allow the library to be even smaller.
- Simplified
EstimateStorage
values, to help reduce library size.
v5.0.0-rc.19
- fix: added extra check to avoid multiple
disconnectPerfObserversHidden
calls
v5.0.0-rc.17
- feat: added Total Blocking Time Final metrics
- refactor: reduced library kb part XI
v5.0.0-rc.7
- refactor: reduced library kb
v5.0.0-rc.5
- feat: added secondary log for LCP/CLS when the page's lifecycle state changes to hidden
v5.0.0-rc.4
- fix: solved issue with
storageEstimate
and created his own event - fix: removed extra calls for
totalBlockingTime
v5.0.0-rc.3
- feat: added Total Blocking Time #112
v5.0.0-rc.2
- feat: added
storageEstimateQuota
andstorageEstimateUsage
to the navigatorInfo results - fix: added feature detection for
clearMarks
v5.0.0-rc.1
- feat: enabled
PerformanceObserver
for all browser - feat: simplified the
analyticsTracker
by having all duration value inside thedata
property
Breaking Changes
Until now, we allowed only Chrome to run the PerformanceObserver interface because of possible cross-browser issues. One in particular related to Firefox 58: https://bugzilla.mozilla.org/show_bug.cgi?id=1403027
Starting from Perfume.js v4.9.0, we are going to remove this limitation, and we are going to monitor any new open issues and address them immediately.
Having both duration
and data
inside the analyticsTracker
, it started causing some confusion. Starting from v5, we will keep only data
and have any information from duration
contained inside data
. Please make sure to change the code inside your analyticsTracker
.