All Versions
14
Latest Version
Avg Release Cycle
65 days
Latest Release
-

Changelog History
Page 1

  • v1.4.1 Changes

    • ๐Ÿ›  Fix regression where *time.Time value would be set to empty and not be sent to decode hooks properly [GH-232]
  • v1.4.0 Changes

    • A new decode hook type DecodeHookFuncValue has been added that has access to the full values. [GH-183]
    • ๐Ÿ‘ Squash is now supported with embedded fields that are struct pointers [GH-205]
    • Empty strings will convert to 0 for all numeric types when weakly decoding [GH-206]
  • v1.3.3 Changes

    • Decoding maps from maps creates a settable value for decode hooks [GH-203]
  • v1.3.2 Changes

    June 07, 2020
    • ๐Ÿ‘ Decode into interface type with a struct value is supported [GH-187]
  • v1.3.1 Changes

    May 21, 2020
    • Squash should only squash embedded structs. [GH-194]
  • v1.3.0 Changes

    April 28, 2020
    • โž• Added ",omitempty" support. This will ignore zero values in the source structure when encoding. [GH-145]
  • v1.2.3 Changes

    April 27, 2020
    • ๐Ÿ›  Fix duplicate entries in Keys list with pointer values. [GH-185]
  • v1.2.2 Changes

    March 20, 2020
    • ๐Ÿ“‡ Do not add unsettable (unexported) values to the unused metadata key or "remain" value. [GH-150]
  • v1.2.1 Changes

    March 19, 2020
    • Go modules checksum mismatch fix
  • v1.2.0 Changes

    March 19, 2020
    • โž• Added support to capture unused values in a field using the ",remain" value in the mapstructure tag. There is an example to showcase usage.
    • โž• Added DecoderConfig option to always squash embedded structs
    • json.Number can decode into uint types
    • Empty slices are preserved and not replaced with nil slices
    • ๐Ÿ›  Fix panic that can occur in when decoding a map into a nil slice of structs
    • ๐Ÿ‘Œ Improved package documentation for godoc