|
1 ## unreleased |
|
2 |
|
3 * Fix regression where `*time.Time` value would be set to empty and not be sent |
|
4 to decode hooks properly [GH-232] |
|
5 |
|
6 ## 1.4.0 |
|
7 |
|
8 * A new decode hook type `DecodeHookFuncValue` has been added that has |
|
9 access to the full values. [GH-183] |
|
10 * Squash is now supported with embedded fields that are struct pointers [GH-205] |
|
11 * Empty strings will convert to 0 for all numeric types when weakly decoding [GH-206] |
|
12 |
|
13 ## 1.3.3 |
|
14 |
|
15 * Decoding maps from maps creates a settable value for decode hooks [GH-203] |
|
16 |
|
17 ## 1.3.2 |
|
18 |
|
19 * Decode into interface type with a struct value is supported [GH-187] |
|
20 |
|
21 ## 1.3.1 |
|
22 |
|
23 * Squash should only squash embedded structs. [GH-194] |
|
24 |
|
25 ## 1.3.0 |
|
26 |
|
27 * Added `",omitempty"` support. This will ignore zero values in the source |
|
28 structure when encoding. [GH-145] |
|
29 |
|
30 ## 1.2.3 |
|
31 |
|
32 * Fix duplicate entries in Keys list with pointer values. [GH-185] |
|
33 |
|
34 ## 1.2.2 |
|
35 |
|
36 * Do not add unsettable (unexported) values to the unused metadata key |
|
37 or "remain" value. [GH-150] |
|
38 |
|
39 ## 1.2.1 |
|
40 |
|
41 * Go modules checksum mismatch fix |
|
42 |
|
43 ## 1.2.0 |
|
44 |
|
45 * Added support to capture unused values in a field using the `",remain"` value |
|
46 in the mapstructure tag. There is an example to showcase usage. |
|
47 * Added `DecoderConfig` option to always squash embedded structs |
|
48 * `json.Number` can decode into `uint` types |
|
49 * Empty slices are preserved and not replaced with nil slices |
|
50 * Fix panic that can occur in when decoding a map into a nil slice of structs |
|
51 * Improved package documentation for godoc |
|
52 |
1 ## 1.1.2 |
53 ## 1.1.2 |
2 |
54 |
3 * Fix error when decode hook decodes interface implementation into interface |
55 * Fix error when decode hook decodes interface implementation into interface |
4 type. [GH-140] |
56 type. [GH-140] |
5 |
57 |