Skip to content

exp/v0.3.0

Compare
Choose a tag to compare
@r-hang r-hang released this 22 Oct 16:07
· 3 commits to master since this release
0ba452d

0.3.0 - 22 Oct 2024

Breaking changes:

  • #1339: zapslog: Drop HandlerOptions in favor of HandlerOption,
    which uses the functional options pattern.
  • #1339: zapslog: Rename AddSource option to WithCaller.

Enhancements:

  • #1339: zapslog: Record stack traces for error logs or higher.
    The new AddStackAt option changes this level.

Bug fixes:

  • #1344, #1408: zapslog: Comply fully with slog.Handler contract.
    This includes ignoring empty Attrs, inlining Groups with empty names,
    and omitting groups with no attributes.

Thanks to @zekth and @arukiidou for their contributions to this release.