Skip to content

v0.8.0

Choose a tag to compare

@deavgprime deavgprime released this 20 Nov 11:39
· 10 commits to main since this release

A smaller Options before 1.0: the four deprecated fields are gone. Breaking: code that sets any of them no longer compiles; the migration for each is below.

Modules released: core v0.8.0 only. The submodules are unchanged and work with it.

Removed

  • The deprecated Options fields. Each removal is a compile error, not a silent change:
    • PassLevel and BufferLevel: use PassLeveler and BufferLeveler. The old fields ignored slog.LevelInfo, their zero value, and used the defaults (Warn and Debug) instead. If you set either to slog.LevelInfo, delete the line to keep your behaviour; writing PassLeveler: slog.LevelInfo would now take effect.
    • IgnoreRequestTraceIDs and DisableFlushMarker: both are the default since v0.7.0. Delete the line. Each overrode its partner, so also delete TrustRequestTraceIDs if you set IgnoreRequestTraceIDs, and EnableFlushMarker if you set DisableFlushMarker.