Skip to content

Latest commit

 

History

History
131 lines (61 loc) · 5.37 KB

CHANGELOG.md

File metadata and controls

131 lines (61 loc) · 5.37 KB

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.

3.0.1 (2020-10-16)

Bug Fixes

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

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.

2.2.0 (2020-04-21)

Features

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

2.1.0 (2019-12-02)

Features

  • Default handler: Add showStack option (0dc246e)

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.

1.4.1 (2019-11-10)

Bug Fixes

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

1.4.0 (2019-10-17)

Bug Fixes

Features

  • Browser: Enable running in browser (6664f68)

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)

1.2.1 (2019-07-03)

Bug Fixes

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

1.2.0 (2019-07-02)

Features

  • Default handler: Improve default handler and always use it (64b8620)

1.1.2 (2019-06-18)

Bug Fixes

  • Package: Use @stencila/typescript-boilerplate and refactor (aa9cd89)