Skip to content

Releases: dogmatiq/dapper

Version 0.4.1

21 Nov 05:23
Compare
Choose a tag to compare
Version 0.4.1 Pre-release
Pre-release

Added

  • Add DefaultPrinter, the printer used by Write(), Format() and Print()

Version 0.4.0

05 May 11:16
Compare
Choose a tag to compare
Version 0.4.0 Pre-release
Pre-release

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)

Version 0.3.5

06 Nov 08:33
ccf897c
Compare
Choose a tag to compare
Version 0.3.5 Pre-release
Pre-release

Changed

  • Print() now accepts multiple arguments (#23)

Fixed

  • Fix panic when rendering unexported time.Time values (#24)

Version 0.3.4

05 Nov 04:58
fb2f944
Compare
Choose a tag to compare
Version 0.3.4 Pre-release
Pre-release

Changed

  • Byte slices and arrays are now rendered in hexdump format (#15)
  • Improved rendering of sync.Mutex, RWMutex and Once (#14)
  • Improved rendering of time.Time and Duration (#8)

Version 0.3.3

03 Nov 00:19
1ffdf92
Compare
Choose a tag to compare
Version 0.3.3 Pre-release
Pre-release
  • Render reflect.Type names when obtained from unexported struct fields

Version 0.3.2

06 Feb 04:33
05b4d7a
Compare
Choose a tag to compare
Version 0.3.2 Pre-release
Pre-release
  • Bump Iago to v0.4.0
  • Printer() now includes the name of user-defined string and bool types ([#6])
  • iago.Print() now prints a trailing newline ([#7])

Version 0.3.1

06 Feb 04:33
04abb6c
Compare
Choose a tag to compare
Version 0.3.1 Pre-release
Pre-release
  • Bumped to Iago v0.3.0

Version 0.3.0

20 Jan 02:54
Compare
Choose a tag to compare
Version 0.3.0 Pre-release
Pre-release
  • Added support for filters, allowing custom rendering on a per-value basis
  • Added a built-in filter for reflect.Type
  • Fixed a bug whereby IO errors were not propagated to the caller

Version 0.2.0

20 Jan 02:53
Compare
Choose a tag to compare
Version 0.2.0 Pre-release
Pre-release
  • Added Print(), which prints directly to os.Stdout
  • Fixed support for formatting of structs with unexported fields

Version 0.1.1

16 Jan 07:47
Compare
Choose a tag to compare
Version 0.1.1 Pre-release
Pre-release
  • Use Iago for indentation, etc