Skip to content

v3.0.0

Choose a tag to compare

@calmohallag calmohallag released this 26 Aug 13:35
· 5 commits to master since this release
f852a35

Breaking changes

  • feat: upgrade Monolog from v2 to v3 (thanks to @fjesteban)
  • chore: require PHP 8.2 or higher
  • refactor: restructure custom logged data:
    • moved occurred_on to extra.occurred_on
    • moved extra.correlation_id to extra.trace.correlation_id
    • moved extra.reply_to to extra.trace.reply_to
  • refactor: change extra.occurred_on type from millisecond timestamp (int) to ISO 8601 date string ('Y-m-d\TH:i:s.uP')
  • refactor: NormalizeMessageProcessor now generates a context.message object with keys:
    • message_id
    • type
    • payload (JSON string)
    • aggregate_id (for events only)
    • aggregate_version (for events only)
  • refactor: remove src/Info/InfoProcessor.php (removed duplicate data)
  • fix: context.exception.trace was unnecessarily JSON-encoded, making traces hard to read
  • feat: improve context.exception.trace format and reduce verbosity