Skip to content

Version 0.4.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@jmalloc jmalloc released this 05 May 11:16

Added

  • Add Config to enscapsulate the configuration of a Printer

Changed

  • [BC] Change DefaultIndent from string constant to []byte
  • [BC] The Filter function signature now accepts a Config and FilterPrinter
  • Zero-value structs are now collapsed to StructName{<zero>}

Removed

  • [BC] Remove Printer.Filters, Indent and RecursionMarker
  • [BC] Remove Value.TypeName()

Fixed

  • Add mutex lock around writes to stdout to prevent fragmented output (#45, thanks @ilmanzo)