leakage v0.3.0 Release Notes

Release Date: 2017-05-16 // over 5 years ago
  • 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
    • ๐Ÿ“‡ Result object contains heap diffs and test metadata
    • Requires node 6+