MessagePack v1.4.0 Release Notes
Release Date: 2016-01-22 // over 8 years ago-
<< recommended changes >>
- Define MSGPACK_DISABLE_LEGACY_NIL, then
msgpack::type::nil
is replaced by withmsgpack::type::nil_t
(#408, #411, #412). Replacemsgpack::type::nil
withmsgpack::type::nil_t
in client codes.msgpack::type::nil
will be removed on the version 2.0.0. Define MSGPACK_DISABLE_LEGACY_CONVERT, then
msgpack::object::convert(T*)
is removed (#410). Replace callingmsgpack::bojectconvert(T*)
withmsgpack::bojectconvert(T&)
in client codes as follows:int i; obj.convert(&i); // before
int i; obj.convert(i); // after
msgpack::object::convert(T*)
will be removed on the version 2.0.0.
Define the macros above as follows when you compile C++ codes that use msgpack-c:
g++ -Ipath_to_msgpack/include -DMSGPACK_DISABLE_LEGACY_NIL -DMSGPACK_DISABLE_LEGACY_CONVERT your_code.cpp
⚡️ You can compile existing codes without defining macros above but I recommend defining them and updating your codes to fix the issues #408, #411, #412, #399, and #410. It is also a good preparation for the version 2.0.0.
⚡️ << other updates >>
- Improve documents (#387, #407)
- Remove C++ version library (#394, #402)
- Add Doxyfile and ChangeLog to the distribution package (#397)
- Add signed/unsigned char test to travis-ci (#398)
- Remove some warnings (#400, #401, #409)
- Fix endian checking. (#404)
- Define MSGPACK_DISABLE_LEGACY_NIL, then