Skip to content

Releases: achillease/loxer

Version 2.0.0

Choose a tag to compare

@achillease achillease released this 30 Nov 13:25
  • 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)

Choose a tag to compare

@achillease achillease released this 04 Jan 22:59

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

Version 1.1.0

Choose a tag to compare

@achillease achillease released this 03 Jan 11:14

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

Choose a tag to compare

@achillease achillease released this 03 Dec 00:29

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

Choose a tag to compare

@achillease achillease released this 17 Oct 21:33

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)

Pre-release

Choose a tag to compare

@achillease achillease released this 13 Sep 08:46

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

Choose a tag to compare

@achillease achillease released this 09 Sep 20:42

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

Choose a tag to compare

@achillease achillease released this 08 Sep 17:13

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

Choose a tag to compare

@achillease achillease released this 07 Sep 18:10

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

release v0.1.6 Pre-release
Pre-release

Choose a tag to compare

@achillease achillease released this 31 Aug 22:31

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