Skip to content

v3.3.1

Compare
Choose a tag to compare
@monrax monrax released this 02 Oct 20:03
· 5 commits to dev since this release

This release is largely a result of tests performed by @kolin-newby and @monrax

What's Changed

  • Bug Fix - Modify stopDispatcher method to use additional stop channel, instead of attempting to close msgQueue. Attempting to close a channel from a different goroutine than the sender results in a race condition. This fix removes such condition.
  • Feature - Export BaseLogger.stopDispatcher functionality through HttpLogger.Stop method
  • Feature - Add time-based (1 sec) automatic flush of message bundles to dispatcher
  • Feature - Add support for additional custom environment USAGE_LOGGERS variables:
    • USAGE_LOGGERS_BODY_LIMIT: upper limit to HTTP request/response body bytes
    • USAGE_LOGGERS_BUNDLE_SIZE: NDJSON bundle threshold size, in bytes
    • USAGE_LOGGERS_MESSAGE_QUEUE_SIZE: Number of buffered messages in msgQueue
    • USAGE_LOGGERS_BUNDLE_QUEUE_SIZE: Number of buffered NDJSON bundles in submitQueue
  • Drop support for older versions of go that have reached their end of life (1.15, 1.16, 1.17)
  • Rollback magic bytes feature until its performance impact has been measured

Full Changelog: v3.2.3...v3.3.1