DecodeMap is split into DecodeMap, DecodeTypedMap, and DecodeUntypedMap.
New msgpack extensions API.
Changed
Reset* functions also reset flags.
SetMapDecodeFunc is renamed to SetMapDecoder.
StructAsArray is renamed to UseArrayEncodedStructs.
SortMapKeys is renamed to SetSortMapKeys.
Removed
UseJSONTag is removed. Use SetCustomStructTag("json") instead.
v4
Encode, Decode, Marshal, and Unmarshal are changed to accept single argument. EncodeMulti and
DecodeMulti are added as replacement.
Added EncodeInt8/16/32/64 and EncodeUint8/16/32/64.
Encoder changed to preserve type of numbers instead of chosing most compact encoding. The old
behavior can be achieved with Encoder.UseCompactEncoding.
v3.3
msgpack:",inline" tag is restored to force inlining structs.
v3.2
Decoding extension types returns pointer to the value instead of the value. Fixes #153
v3
gopkg.in is not supported any more. Update import path to github.com/vmihailenco/msgpack.
Msgpack maps are decoded into map[string]interface{} by default.
EncodeSliceLen is removed in favor of EncodeArrayLen. DecodeSliceLen is removed in favor of
DecodeArrayLen.
Embedded structs are automatically inlined where possible.
Time is encoded using extension as described in msgpack/msgpack#209. Old
format is supported as well.
EncodeInt8/16/32/64 is replaced with EncodeInt. EncodeUint8/16/32/64 is replaced with EncodeUint.
There should be no performance differences.
DecodeInterface can now return int8/16/32 and uint8/16/32.
... (truncated)
Commits
9f30401 Merge pull request #320 from vmihailenco/release/v5.3.5
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/vmihailenco/msgpack/v5 from 5.3.4 to 5.3.5.
Changelog
Sourced from github.com/vmihailenco/msgpack/v5's changelog.
... (truncated)
Commits
9f30401
Merge pull request #320 from vmihailenco/release/v5.3.50130af2
chore: release v5.3.5 (release.sh)3a5144c
chore: prepare for releaseb617bb8
Merge pull request #319 from vmihailenco/fix/gh-build4a58f16
chore: fix github builde694773
Merge pull request #318 from tehsphinx/patch-19f30bae
Allownil
value to be decoded as bool false6394ea3
chore: update reamde2714857
Tweak readme2417199
Merge pull request #316 from KimMachineGun/maprangeDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)