All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
5.0.3 (2023-12-18)
5.0.2 (2023-11-09)
- types: add missing unref option (6ad9075)
5.0.1 (2023-11-02)
- types: fix exports (a62f988)
5.0.0 (2023-11-02)
- minimum Node.js version supported is 18
-
fix types and remove dead code (abdfbee)
-
gc: compute to zero nan values (ebd33a0)
-
remove deprecation notice (60d6f09)
-
types: fix exported types (410bbf0)
-
drop older node versions (70fa43d)
4.0.1 (2021-03-17)
- export errors (e0d49a2)
4.0.0 (2021-03-16)
4.0.0-3 (2021-03-15)
4.0.0-2 (2021-03-14)
- gc: add start and stop (300737d)
4.0.0-1 (2021-03-13)
- config: the option
eventLoopOptions
has been replaced byeventLoopDelayOptions
.
- config: rename eventLoopOptions (289b10d)
4.0.0-0 (2021-03-13)
- gc: the gc stats are completely different now and there are 2 new options for its initialization. The types definitions changes reflect this too.
- gc: use histogramjs (fe7731a)
3.1.0 (2021-01-11)
- add support flags (3d0fd39)
3.0.3 (2020-11-10)
3.0.2 (2020-10-28)
3.0.1 (2020-10-23)
3.0.0 (2020-10-23)
- config: message errors and instances are changed.
- sampler: add event loop utilization metric (43243db)
- sampler: add resourceUsage metric (f83c1e8)
- types: add resourceUsage types (4e1e01c)
- types: use NodeJS types where possible (b7148f1)
- config: drop ajv-cli and build step (b143d15)
2.0.2 (2020-10-04)
- symbols: fix typo (d5f39b4)
2.0.1 (2020-10-03)
- sampler: pass options from kOptions (90fddd7)
2.0.0 (2020-09-22)
- the exported class is named Sampler and not Doc anymore
- types: types are not accessible using
Doc.
notation.DocInstance
has been renamed toDoc
and declared as a class. - gc: the metric is not exposed to the event handler anymore, but it is attached directly to the Doc instance.
- eventLoopDelay: the eventLoopDelay metric is not exposed anymore to the event handler, but it is attached to the Doc instance.
- cpu: the cpu metric is not exposed anymore to the
event handler, but it is attached to the Doc instance. The event name is
changed from
data
tosample
.
- eventLoopDelay: expose compute method (928670f)
- attach remaining metrics and add start options (a5945cd)
- config: add JSON schema validator (4efdedd)
- config: allow selection of metrics to collect (89619a0)
- cpu: attach cpu state to doc instance (479e095)
- eventLoopDelay: attach object to doc instance (85d7b20)
- gc: attach metric to doc instance (ac516d9)
- add activeHandles metric (59d0710)
- add activeHandles metric (1676e68)
- improve gc metric (ea77ea7)
-
eventLoopDelay: use Symbol for sample method (d4021e0)
-
gc: use symbols for GCAggregatedEntry methods (356b37a)
-
lib: fix wrong name used for options symbol (865ba82)
-
sampler: exit if timer is initialized on
start
(408b1b3) -
types: remove undefined from gc stats (289d252)
-
types: use camel case for enum and use jsdoc (f90bd60)
-
rename Doc to Sampler and move it to lib (2ed25ab)
-
types: remove Doc namespace (4a3ecc2)
1.2.0-0 (2020-07-03)
- use PerformanceObserver for gc stats (fae15d2)
- gc types are number | undefined (fae1cf4)
- split gc into separate file to make testing easier (fae108f)
1.1.0 (2020-06-30)
- add TypeScript typings file (fae1f3b)
- include typings file when published (fae1012)
1.0.4-0 (2020-06-12)
1.0.3 (2020-05-25)
1.0.2 (2020-03-31)
- fix cpu percentage (57d535f)