Version 0.5.0
Pre-release
Pre-release
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 implementerror
now include the error message. - Added
Is()
,AsConcrete()
andAsImplementationOf()
helpers for use inFilter
implementations.
Changed
- [BC] The signature of
Filter
has changed to accept aRenderer
andValue
. - [BC] Renamed
ReflectTypeFilter
toReflectFilter
, it now applies to the entirereflect
package. - [BC] Renamed
ProtobufFilter
toProtoFilter
. - [BC] Changed
Config.Indent
to astring
.
Removed
- [BC] Removed
DurationFilter
.TimeFilter
now applies to the entiretime
package. - Removed dependency on [Iago]
Fixed
- Fixed duplicate application of
Filter
that apply to specific interfaces when whenT
and*T
both implement the interface.