]>
Commit | Line | Data |
---|---|---|
1 | ## 3.4 | |
2 | ||
3 | - Encode, Decode, Marshal, and Unmarshal are changed to accept single argument. EncodeMulti and DecodeMulti are added as replacement. | |
4 | - Added EncodeInt8/16/32/64 and EncodeUint8/16/32/64. | |
5 | - Encoder changed to preserve type of numbers instead of chosing most compact encoding. The old behavior can be achieved with Encoder.UseCompactEncoding. | |
6 | ||
7 | ## v3.3 | |
8 | ||
9 | - `msgpack:",inline"` tag is restored to force inlining structs. | |
10 | ||
11 | ## v3.2 | |
12 | ||
13 | - Decoding extension types returns pointer to the value instead of the value. Fixes #153 | |
14 | ||
15 | ## v3 | |
16 | ||
17 | - gopkg.in is not supported any more. Update import path to github.com/vmihailenco/msgpack. | |
18 | - Msgpack maps are decoded into map[string]interface{} by default. | |
19 | - EncodeSliceLen is removed in favor of EncodeArrayLen. DecodeSliceLen is removed in favor of DecodeArrayLen. | |
20 | - Embedded structs are automatically inlined where possible. | |
21 | - Time is encoded using extension as described in https://github.com/msgpack/msgpack/pull/209. Old format is supported as well. | |
22 | - EncodeInt8/16/32/64 is replaced with EncodeInt. EncodeUint8/16/32/64 is replaced with EncodeUint. There should be no performance differences. | |
23 | - DecodeInterface can now return int8/16/32 and uint8/16/32. | |
24 | - PeekCode returns codes.Code instead of byte. |