Skip to content

1.4.0

Compare
Choose a tag to compare
@redboltz redboltz released this 22 Jan 03:18
· 521 commits to master since this release

<< recommended changes >>

  • Define MSGPACK_DISABLE_LEGACY_NIL, then msgpack::type::nil is replaced by with msgpack::type::nil_t (#408, #411, #412).
    Replace msgpack::type::nil with msgpack::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 calling msgpack::bojectconvert(T*) with msgpack::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)