Skip to content

Releases: stencila/logga

v4.0.0

13 Jan 04:31
Compare
Choose a tag to compare

4.0.0 (2021-01-13)

  • Merge pull request #80 from stencila/perf (fb9b270), closes #80

Bug Fixes

  • Escaping: Remove unecessary branch (2708f16)

Performance Improvements

  • Benchmarks: Add a higher precision benchmark (ab3e1d9)
  • Benchmarks: Add benchmarking script (ffbbcc2)
  • Benchmarks: Use plain string messages (503ce1a)
  • Deps: Remove benmarking dependencies from package.json (8fa458a)
  • Errors: Remove automatic error stack generation (2bd2aae)
  • Fast time: Add a fastTime option (7259dba)
  • Handlers: Use a global singleton, rather than event bus (5e20c8c)
  • Output: Use template strings rather than JSON.stringify (e33e2f3)
  • Output: Write to process.stderr directly (5d4db3b)

BREAKING CHANGES

  • Mostly internal performance improvements but given the scale of changes labeling as a breaking change to trigger a major release.

v3.0.1

16 Oct 18:43
Compare
Choose a tag to compare

3.0.1 (2020-10-16)

Bug Fixes

  • Default handler: Optional call to avoid exception if process does not have an exit method (9cf7e6e)

v3.0.0

01 Sep 00:42
Compare
Choose a tag to compare

3.0.0 (2020-09-01)

Features

  • defaultHandler: Exit on error option (d5447a0)

BREAKING CHANGES

  • defaultHandler: Changes the default behaviour to exit the process on the first error logged.

v2.2.0

21 Apr 22:32
Compare
Choose a tag to compare

2.2.0 (2020-04-21)

Features

  • Build: Create & publish modern JS builds (032a0b2)

v2.1.0

02 Dec 04:22
Compare
Choose a tag to compare

2.1.0 (2019-12-02)

Features

  • Default handler: Add showStack option (0dc246e)

v2.0.0

21 Nov 21:05
Compare
Choose a tag to compare

2.0.0 (2019-11-21)

Code Refactoring

  • defaultHandler: Change option name to maxLevel (ca22dec)

Features

  • addHandler: Allow log event filters to be specified (0f467b4)
  • addHandler: Return the handler that was added. (322c7d1)

BREAKING CHANGES

  • defaultHandler: Made because level had caused some confusion amongst users of this library and to be consistent with the same option in addHandler.
  • addHandler: Handler funtion is no longer optional for either addHandler or removeHandler. Used to default to defaultHandler.

v1.4.1

10 Nov 23:53
Compare
Choose a tag to compare

1.4.1 (2019-11-10)

Bug Fixes

  • Package: Remove browser property of package.json (fe7a7d8)

v1.4.0

17 Oct 23:49
Compare
Choose a tag to compare

1.4.0 (2019-10-17)

Bug Fixes

Features

  • Browser: Enable running in browser (6664f68)

v1.3.0

03 Sep 07:35
Compare
Choose a tag to compare

1.3.0 (2019-09-03)

Bug Fixes

  • Emit: Only attach stack to errors (9ef7b84)

Features

  • Throttling: Allow for throttling of events in handler (b11633a)

v1.2.1

03 Jul 19:15
Compare
Choose a tag to compare

1.2.1 (2019-07-03)

Bug Fixes

  • Handlers: Only add default handler if no other (a462fc5)