github pamburus/hl v0.35.0

latest releases: v0.36.1, latest, v0.36.0...
3 months ago

Added

  • Added fields and message expansion feature by @pamburus in #1259
    • Use -x / --expansion option to control display of field values and message content
    • Supports the following modes:
      • never: Single-line output, escape newlines and tabs as \n and \t
      • inline: Preserve newlines/tabs as-is (legacy behavior)
      • auto: Expand fields with newlines/tabs into indented multi-line blocks
      • always: Show each field on its own line, expand multi-line content with indentation
    • Configurable via command-line option, formatting.expansion.mode setting in config file and HL_EXPANSION variable
    • Use --inline to restore previous output behavior
  • Added support for pretty-printed JSON input by @pamburus in #1241
    • Previously only single-line JSON (JSONL) format was supported
    • Multi-line formatted JSON log entries are now automatically detected and parsed correctly in most cases
    • If automatic detection fails, use --input-format json to force JSON parsing
  • Added support for styles per unknown log level by @pamburus in #1243

Fixed

  • Fixed incorrect parsing of Windows-style line endings (CRLF) at buffer boundaries by @pamburus in #1239
  • Fixed wildcard matching with patterns requiring backtracking (e.g., ab*cd matching abcdcd) by @pamburus in #1255
  • Fixed missing colons in %:z and %::z timezones when using UTC by @pamburus in #1261

Documentation

Other

Dependencies

Full Changelog: v0.34.1...v0.35.0

Don't miss a new hl release

NewReleases is sending notifications on new releases.