a2 / MessagePack.swift

It's like JSON, but fast and small…and Swift! – msgpack.org[Swift]

Home Page:http://msgpack.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spec version?

iwasrobbed-ks opened this issue · comments

Hi there 👋 Does this follow a specific version of the spec? e.g. https://github.com/msgpack/msgpack/blob/master/spec.md

Just wondering so we make sure our backend<>client teams use the same spec.

This is a good question! The spec does not really have version numbers, which is a problem. This repo doesn't support the timestamp extension, for example, which did not exist the last time I visited the spec. Do you have any ideas for best practices? Ideally we would be able to make sure your backend and client use the same spec.

It looks like they are just using v2.0 for now: msgpack/msgpack#165

Might be worth filing an issue with them to standardize around semantic versioning for all the incremental changes that have occurred after 2.0 was released

Actually, looks like there's up to a v5 at this point: msgpack/msgpack#195

It looks like all changes have been additive up until this point (but does that include bug fixes?) msgpack/msgpack#195 (comment)

Going to close this out. Just wanted to say thanks for your great work on this. It's a very clean API and well tested which makes our lives easy 💯