Skip to content

Releases: pcprinz/loxer

Version 2.0.0

30 Nov 13:25
Compare
Choose a tag to compare
  • BREAKING CHANGE: Loxer.open(...) now directly returns the opened Lox instead of just a number. It will not technically break the behaviour when using it with Loxer.of(lox)
  • you can now directly add logs to the opened lox which is returned from Loxer.of:
    const lox = Loxer.open('opening') 
    lox.add('added log');
    lox.error('added error');
    lox.close('closing log');
  • additionally there is a new method on the mentioned lox for named errors, which is a shortcut for Loxer.of(...).error(new NamedError(...))
    lox.namedError('name', 'message', existingError, item);

Version 1.1.1 (fix)

04 Jan 22:59
Compare
Choose a tag to compare

fixed the default coloring of items (which was always colored)

Version 1.1.0

03 Jan 11:14
Compare
Choose a tag to compare

Changes

  • Boxfactory is now more consistent as a Formatter (static)
  • Modules can now have their own defined box layouts
  • Loxes now have their corresponding Modules as properties (for the name / color / box layout)

Version 1.0.0 - First stable release

03 Dec 00:29
Compare
Choose a tag to compare

This is the first stable release of the package.

  • Tests have been written
  • Items are now a neat feature
  • Types have been refined
  • Documentation has been updated

Version 0.5.0 - Release Candidate 1

17 Oct 21:33
Compare
Choose a tag to compare

This is a release candidate for Loxer v1.

  • From 0.4.1 ther have been improvements in the documentation and README.md
  • The BoxFactory is now exported by default
  • A helper class called NamedError is now available
  • both changes are mentioned in the docs / API ref

Version 0.4.1 beta (HOTFIX)

13 Sep 08:46
Compare
Choose a tag to compare
Pre-release

In this release an issue was fixed, where the package could not be used in some environments causing the error:

No identifiers allowed directly after numeric literal
No identifiers allowed directly after numeric literal
no stack
no stack

This was caused by the color package, which then was downgraded to version <4.

Version 0.4.0 beta

09 Sep 20:42
Compare
Choose a tag to compare

In this version the internal infrastructure was changed. The package is no longer generated with tsdx, which has a positive effect on the package size.

Breaking Changes:

  • the identifier develLevel in module levels and default levels has been changed to devLevel
  • the identifier fullname in the modules was changed to fullName

Version 0.3.0 beta

08 Sep 17:13
Compare
Choose a tag to compare

API changes:

  • OutputLox and ErrorLox don't have the colored property anymore
  • coloring of message, moduleText, box and timeText must now be done at the output streams
  • Helper class ANSIFormat provides static methods for coloring

The changes were done in order to improve the performance, because now the coloring is not done on unnecessary logs. The default output streams already use the new coloring workflow. More on that in the Documentation.

  • The Documentation / API references have been updated regarding the recent changes

first beta release

07 Sep 18:10
Compare
Choose a tag to compare

This release reaches first beta stage.

  • added tests for main funtionality
  • decorators remain untested
  • ErrorLox do not have a separate history in the output streams to avoid cyclic structures
  • therefore the *Error output streams receive a separate history as parameter

Since the basic functionality has been successfully tested, this release is considered the first beta version.
Further tests follow (including the decorators) to achieve a test coverage of >95%.
Until the stable release there will be at most one structural change regarding the output of the colors, otherwise the API will stay that way.

release v0.1.6

31 Aug 22:31
Compare
Choose a tag to compare
release v0.1.6 Pre-release
Pre-release

features

  • the box layout is now availible as a customizable lost and not just a string
  • the history is now enabled by default with size 50
  • there is a documentation on performance tests

fixes

  • default levels now work as expected
  • level error in production fixed