Releases: andywer/leakage
Releases Β· andywer/leakage
v0.5.0
Leakage 0.3
Hallelujah!
It took almost half a year and four tries of rewriting the library. It is safe to say that this baby was born out of sweat and tears!
But here it is: Asynchronous memory leak testing for node.
There is also a slightly changed API that shall bring us joy in the future and there are extra heap footprint tests to make sure leakage itself won't impact heap snapshotting much.
Enjoy!
Changelog
- Support for asynchronous tests:
iterate.async(iterator: Function, options: ?Object): Promise<Result>(#7) - Changed API:
iterate(iterations: number, iterator: Function) => iterate(iterator: Function, options: ?Object) - Pretty much a complete rewrite of the library
- Added heap footprint tests checking the library's own footprint
Resultobject contains heap diffs and test metadata- Requires node 6+
0.2.0
v0.2.0 fixes a rather critical issue and comes with a bunch of improvements.
Fixes
- Renamed
iteration()method toiterate()as described in the docs (keptiterationfor backwards compatibility, though)
New features
- Added simple integration test and Travis CI config
- Support for node 4+ (was node 6+ before)
- Faster installation, since only
lib/is published now (the screenshot in thedocs/made it pretty big before)
Happy hacking!