5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-25 06:21:36 +00:00
matterbridge/vendor/github.com/vmihailenco/msgpack/v5/CHANGELOG.md
dependabot[bot] aad60c882e
Bump github.com/mattermost/mattermost-server/v6 from 6.1.0 to 6.3.0 (#1686)
Bumps [github.com/mattermost/mattermost-server/v6](https://github.com/mattermost/mattermost-server) from 6.1.0 to 6.3.0.
- [Release notes](https://github.com/mattermost/mattermost-server/releases)
- [Changelog](https://github.com/mattermost/mattermost-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mattermost/mattermost-server/compare/v6.1.0...v6.3.0)

---
updated-dependencies:
- dependency-name: github.com/mattermost/mattermost-server/v6
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-18 20:24:14 +01:00

1.7 KiB

5.3.5 (2021-10-22)

v5

Added

  • 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 https://github.com/msgpack/msgpack/pull/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.
  • PeekCode returns codes.Code instead of byte.