- 0.4 support removed was not strictly metioned in 0.6 pre launch but it does affect it, so minor version increase
- Slight zalgo style tweak
- Bump dependencies' versions
- Redesign pass around interface to be simpler for people who do not want to use DI all the time:
- Global log levels via environment variables - see readme
- .line() gets the line number from new Error()'s 1st stack frame directly rather than by parsing
- .lock() instance method removed - prefer evars for proper filtering rather than encouraging avoiding the tree
- removed makeMiddleware instance method and put it in the example folder instead
- node 0.4 support is removed
- New instance method .allow() does the opposite of suppress. This ensures the more sensible behaviour of ressurection allowed across subs, rather than forcing modules below to use instances not part of the chain.
- Slight tweak to verifier (could not handle null elements before this version)
- CoffeeScript removed entirely - JSHint is better for safe JS (found a couple of implicit returns errors with CS that are now fixed)
- Paths should work on windows (used unix slashes for version)
- Explicit coffee-script dependency removed - now each new version is recompiiled before release
- logger.data exposes a frozen object with the current namespaces and logule version
- logule.verify(inst) will verify that another logule instance is compatible with this (using exposed data.version on prototype)
- logule.get('line') does not chain, like the other get() functions
- logule.line() for those cases where you quickly want to find what went wrong
- logule is fully testable
- require output is a new instance that can be used directly -> no
newoperator required - usesubliberally - experimental middleware generator included
- The
removemethod is now known assuppress - The
getmethod result no longer allows chaining into different log methods (bug) - Bad fns requested to
suppressandgetwill result in an internal log in such a way that you can determine quickly what you did wrong - Everything is properly encapsulated so that you can not break out of
suppressandgetcalls
- Multiple namespaces can be passed to constructor
- Padding option now set via the
padmethod - Return a sanitized copy of the current Logger's specified method with the
getmethod - Return a sanitized copy of the current Logger instance with the
removemethod - Return a copy of the current Logger instance but with extra namespace(s) appended with the
submethod
- First working version