Skip to content

Version 0.5.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 27 Jul 22:58
· 44 commits to main since this release
v0.5.0
11986ec

This release includes several changes to the experimental Filter system in preparation for unification of built-in and custom rendering behavior.

Added

  • Added Renderer interface.
  • Added ErrorFilter. Output for types that implement error now include the error message.
  • Added Is(), AsConcrete() and AsImplementationOf() helpers for use in Filter implementations.

Changed

  • [BC] The signature of Filter has changed to accept a Renderer and Value.
  • [BC] Renamed ReflectTypeFilter to ReflectFilter, it now applies to the entire reflect package.
  • [BC] Renamed ProtobufFilter to ProtoFilter.
  • [BC] Changed Config.Indent to a string.

Removed

  • [BC] Removed DurationFilter. TimeFilter now applies to the entire time package.
  • Removed dependency on [Iago]

Fixed

  • Fixed duplicate application of Filter that apply to specific interfaces when when T and *T both implement the interface.