Skip to content

Latest commit

 

History

History
199 lines (157 loc) · 3.69 KB

History.md

File metadata and controls

199 lines (157 loc) · 3.69 KB

Changelog for Anyhow

3.4.0

  • Check for an additional "errors" array when getting friendly error messages.
  • Updated dependencies.

3.3.2

  • Updated dependencies.

3.3.1

  • Updated dependencies.

3.3.0

  • Expanded the list of masked fields.
  • Masked field keys are now case insensitive.
  • Default maxDepth increased from 6 to 10.
  • Code refactoring.

3.2.0

  • Removed pre v3 deprecated methods.
  • Default maxDepth increased from 5 to 6.

3.1.2

  • Updated dependencies.

3.1.1

  • Removed "sneaky" TEST log.
  • Updated dependencies.

3.1.0

  • Fixed timestamp feature (was being added multiple times).
  • Fixed default Google Cloud logger.
  • Updated dependencies.

3.0.4

  • Removed the "util/types" dependency on utils.
  • The "errorStack" was pointing to the wrong location, now fixed (preprocessorOptions.errorStack).
  • Updated dependencies.

3.0.2

  • Added "Authorization" to list of default masked fields.
  • Handling improvements to the "cleanup" and "friendlyErrors" preprocessors.
  • The "friendlyErrors" preprocessor is ignored on debug and info logs.

3.0.1

  • Added missing default separator, switched back from "," to " | ".

3.0.0

  • Major code refactoring!
  • BREAKING! Library options now contained within the new logger.options property.
  • NEW! A few new logging helpers:
    • deprecated: logs a deprecation warning (only once).
    • inspect: outputs the JSON representation of the passed objects / variables.
  • NEW! Built-in preprocessors:
    • cleanup: remove unnecessary gibberish from logged objects.
    • friendlyErrors: extract the most relevant data from error and exceptions.
    • maskSecrets: mask passwords, tokens and credentials on objects.

2.2.5

  • Updated dependencies.

2.2.4

  • Updated dependencies.

2.2.3

  • Updated dependencies.

2.2.2

  • Removed lodash references from testing.

2.2.1

  • Updated dependencies.

2.2.0

  • Improved error parsing.
  • Removed lodash dependency.

2.1.0

  • The chalk module will only be instantiated if using console as the logger.
  • Updated dependencies.

2.0.6

  • Updated dependencies.

2.0.5

  • The parser.getMessage() helper is now exposed on the main module.

2.0.3

  • Updated dependencies.

2.0.2

  • Updated dependencies.

2.0.1

  • Updated dependencies.

2.0.0

  • NEW! Support for Google Cloud Logging (formely Stackdriver).
  • NEW! Support for custom loggers.
  • Major code refactoring.

1.5.5

  • Improved parsing of errors, now getting message from axios responses.
  • Updated dependencies.

1.5.3

  • Updated dependencies.

1.5.1

  • Force flatten arrays on getMessage().

1.5.0

  • TypeScript types are now exported with the library.

1.4.2

  • Updated dependencies.

1.4.1

  • Updated dependencies.

1.4.0

  • NEW! Option unhandledRejections to auto log unhandled rejections, defaults to false.
  • NEW! Option appName to define the name or title of the running app.
  • Updated dependencies.

1.3.0

  • NEW! Option timestamp to prepend timestamp on logged messages.
  • Updated dependencies.

1.2.3

  • Updated dependencies.

1.2.2

  • Check for level on log shortcuts (debug, info, warn, error).

1.2.1

  • Option levelOnConsole also works when messages are stylized (using chalk).

1.2.0

  • NEW! Option uncaughtExceptions to auto log uncaught exceptions, defaults to false.
  • NEW! Option levelOnConsole to output log level to console, defaults to false.

1.1.3

  • Removed .git from package.

1.1.2

  • Calling log() before setup() will warn and default to console.

1.1.1

  • Updated dependencies.

1.1.0

  • NEW! Added supoort for Pino.
  • NEW! Propery "lib" defining the underlying library.

1.0.0

  • Initial release.