Skip to content

Releases: logdna/logger-node

v2.6.1

20 Jan 14:01
Compare
Choose a tag to compare

2.6.1 (2022-01-20)

Chores

  • deps: axios@0.25.0 20bd01d - Darin Spivey, closes: #63

v2.6.0

29 Nov 20:54
Compare
Choose a tag to compare

2.6.0 (2021-11-29)

Bug Fixes

  • docs: add default value for verboseEvents. f8afe88 - Eric Melski

Features

  • optionally include buffer in send/error events. e3e8755 - Eric Melski

v2.5.0

16 Nov 16:10
Compare
Choose a tag to compare

2.5.0 (2021-11-16)

Features

  • max-attempts: support retry limits 565b8c0 - Eric Melski, closes: #58

v2.4.1

23 Sep 18:49
Compare
Choose a tag to compare

2.4.1 (2021-09-23)

Bug Fixes

  • package: Include missing files and type definitions 4a52274 - Darin Spivey, closes: #55

v2.4.0

08 Sep 13:21
Compare
Choose a tag to compare

2.4.0 (2021-09-08)

Chores

  • deps: Upgrade linting, tap and other deps d6e6458 - Darin Spivey

Features

  • levels: Support custom log levels 0324293 - Darin Spivey

v2.3.2

13 Apr 13:59
Compare
Choose a tag to compare

2.3.2 (2021-04-13)

Bug Fixes

  • docs: Correct bad documentation for logging errors 0606986 - Darin Spivey

Chores

  • contributors: Use all-contributors 78d997f - Darin Spivey
  • deps: Remove unnecessary eslint plugins 1141c8d - Darin Spivey

Continuous Integration

  • Switch to using semantic-release b1fa6ca - Darin Spivey

Miscellaneous

LogDNA Node.js Logger v1.0.1

27 Aug 14:33
Compare
Choose a tag to compare

1.0.1 - August 26, 2020

Fixed

  • Corrected a broken link ("Best Practices") in docs/migrating-from-older-versions.md

LogDNA Node.js Logger v1.0.0

25 Aug 18:47
Compare
Choose a tag to compare

CHANGELOG

1.0.0 - August 25, 2020

Changed

  • Removed debug since it's not compatible everywhere. See
    issue #89
  • class Logger forces the use of the new keyword
  • Helper functions are broken out to declutter the class file
  • Logger class is no longer exported. Helper functions should be
    used to instantiate it.
  • cleanUpAll and flushAll functions were removed along with
    callbacks in general. The class is now an EventEmitter instead.
  • configs.js was renamed to the more appropriate constants.js
  • Made all variables consistent in naming convention (lowerCamelCase)
  • Added EventEmitter for successes, warnings and errors
  • Fixed retry logic and possibility for double timers
  • Fixed race condition with clearing a single buffer. Now, multiple
    buffers are used so that they can be independently cleared. This
    fixes a race condition where lines that were added during the HTTP
    request could be removed without being sent
  • log() Options as a string must now be a log level. TypeError if not.
  • Properly handles opts.meta, opts.context and this._meta
    according to indexMeta
  • Removed sizeof since it was buggy. Logic replaced with .length
    of the lines
  • Added meta to the constructor so that it can easily be set without
    needing to call addMetaProperty after instantiation.
  • Fixed map transitions; No dynamic addition of object properties or
    delete usage.
  • ip can now be an IPv6 address
  • Added a loadtest.js test to ensure there is not data loss
  • Exponential Backoff with Jitter algorithm implemented for HTTP retries