CHANGELOG.md (1768B)
1 ## [5.3.5](https://github.com/vmihailenco/msgpack/compare/v5.3.4...v5.3.5) (2021-10-22) 2 3 4 5 ## v5 6 7 ### Added 8 9 - `DecodeMap` is split into `DecodeMap`, `DecodeTypedMap`, and `DecodeUntypedMap`. 10 - New msgpack extensions API. 11 12 ### Changed 13 14 - `Reset*` functions also reset flags. 15 - `SetMapDecodeFunc` is renamed to `SetMapDecoder`. 16 - `StructAsArray` is renamed to `UseArrayEncodedStructs`. 17 - `SortMapKeys` is renamed to `SetSortMapKeys`. 18 19 ### Removed 20 21 - `UseJSONTag` is removed. Use `SetCustomStructTag("json")` instead. 22 23 ## v4 24 25 - Encode, Decode, Marshal, and Unmarshal are changed to accept single argument. EncodeMulti and 26 DecodeMulti are added as replacement. 27 - Added EncodeInt8/16/32/64 and EncodeUint8/16/32/64. 28 - Encoder changed to preserve type of numbers instead of chosing most compact encoding. The old 29 behavior can be achieved with Encoder.UseCompactEncoding. 30 31 ## v3.3 32 33 - `msgpack:",inline"` tag is restored to force inlining structs. 34 35 ## v3.2 36 37 - Decoding extension types returns pointer to the value instead of the value. Fixes #153 38 39 ## v3 40 41 - gopkg.in is not supported any more. Update import path to github.com/vmihailenco/msgpack. 42 - Msgpack maps are decoded into map[string]interface{} by default. 43 - EncodeSliceLen is removed in favor of EncodeArrayLen. DecodeSliceLen is removed in favor of 44 DecodeArrayLen. 45 - Embedded structs are automatically inlined where possible. 46 - Time is encoded using extension as described in https://github.com/msgpack/msgpack/pull/209. Old 47 format is supported as well. 48 - EncodeInt8/16/32/64 is replaced with EncodeInt. EncodeUint8/16/32/64 is replaced with EncodeUint. 49 There should be no performance differences. 50 - DecodeInterface can now return int8/16/32 and uint8/16/32. 51 - PeekCode returns codes.Code instead of byte.