Skip to content

Releases: Zizzamia/perfume.js

v5.0.2

09 May 23:52
Compare
Choose a tag to compare
  • fix: measuring with perfume.end() now returns the duration of the annotation instead of an object

v5.0.0

09 May 23:03
Compare
Choose a tag to compare
  • feat: simplified the analyticsTracker by having all duration value inside the data 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 and storageEstimateUsage 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() and end() 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

06 May 23:57
Compare
Choose a tag to compare
  • fix: added extra check to avoid multiple disconnectPerfObserversHidden calls

v5.0.0-rc.17

02 May 07:03
Compare
Choose a tag to compare
  • feat: added Total Blocking Time Final metrics
  • refactor: reduced library kb part XI

v5.0.0-rc.7

25 Apr 05:14
Compare
Choose a tag to compare
  • refactor: reduced library kb

v5.0.0-rc.5

20 Apr 06:19
Compare
Choose a tag to compare
  • feat: added secondary log for LCP/CLS when the page's lifecycle state changes to hidden

v5.0.0-rc.4

19 Apr 20:06
Compare
Choose a tag to compare
  • fix: solved issue with storageEstimate and created his own event
  • fix: removed extra calls for totalBlockingTime

v5.0.0-rc.3

19 Apr 06:11
Compare
Choose a tag to compare
  • feat: added Total Blocking Time #112

v5.0.0-rc.2

17 Apr 05:29
Compare
Choose a tag to compare
  • feat: added storageEstimateQuota and storageEstimateUsage to the navigatorInfo results
  • fix: added feature detection for clearMarks

v5.0.0-rc.1

15 Apr 07:24
Compare
Choose a tag to compare
  • feat: enabled PerformanceObserver for all browser
  • feat: simplified the analyticsTracker by having all duration value inside the data 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.