Skip to content

Releases: msgpack/msgpack-c

2.0.0

25 Jun 04:45
Compare
Choose a tag to compare

<< breaking changes >>

  • Removed autotools support. Use cmake instead (#476, #479)
  • Removed pointer version of msgpack::unpack APIs. Use reference version instead (#453)
  • Removed MSGPACK_DISABLE_LEGACY_CONVERT. msgpack::object::convert(T*) is removed by default. Use msgpack::object::convert(T&) instead (#451)
  • Removed msgpacl::type::nil. Use nil_t or define MSGPACK_USE_LECACY_NIL (#444)
  • Removed std::string to msgpack::object conversion (#434)

<< recommended changes >>

  • Replaced msgpack::unpacked with msgpack::object_handle. msgpack::unpacked is kept as a typedef of msgpack::object_handle. (#448)

<< other updates >>

  • Add strict size checking adaptor. Relaxed tuple conversion (#489)
  • Fix and Improve example codes (#487)
  • Add C++/CLI support for nullptr (#481)
  • Update the boost libraries that are contained by msgpack-c (#475)
  • Fix gcc_atomic.hpp location (#474)
  • Add C-Style array support (#466, #488)
  • Fix include file dependency (#464)
  • Add a visitor version of unpack API (#461)
  • Fix JSON string conversion from "nil" to "null" (#458)
  • Fix and Improve build system (#455, #471, #473, #486, #491)
  • Fix comments (#452)
  • Fix unintentional msgpack::zone moving problem (#447)
  • Fix operator>> and << for msgpack::object (#443)
  • Fix C++03 msgpack::zone::clear() memory access violation bug (#441)
  • Fix TARGET_OS_IPHONE checking (#436)
  • Fix invalid front() call for empty container (#435)
  • Fix compile error on g++6 (C++11 only) (#426, #430)
  • Fix zone size expansion logic (#423)
  • Fix wrong hader file dependency (#421)
  • Fix msvc specific problem (#420)
  • Add v2 API support (#415)

1.4.2

27 May 09:14
Compare
Choose a tag to compare
  • Fix C++03 msgpack::zone::clear() memory access violation bug (#467)

1.4.1

06 Mar 12:10
Compare
Choose a tag to compare
  • Fix TARGET_OS_IPHONE checking (#436, #438)
  • Fix invalid front() call for empty container (#435. #437)
  • Fix compile error on g++6 (C++11 only) (#426, #428)
  • Fix zone size expansion logic (#423, #427)

1.4.0

22 Jan 03:18
Compare
Choose a tag to compare

<< 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)

1.3.0

22 Nov 07:38
Compare
Choose a tag to compare
  • Change the license from the Apache License Version 2.0 to the
    Boost Software License, Version 1.0.(#386)
  • Remove some warnings (#365)
  • Add std::reference_wrapper support(#373, #384)
  • Improve tests (#375, #378, #379, #380)
  • Fix msvc specific problem (#376, #383)
  • Fix typos (#381)

1.2.0

04 Sep 13:44
Compare
Choose a tag to compare

breaking changes

  • Change std::vector and std::array
    mapped to BIN instead of ARRAY (#243)
  • Remove redundant copy (#285)

other updates

  • Add array_ref to map to ARRAY (#243)
  • Add variant type and adaptor (#349)
  • Add object::convert_if_not_nil() (#357)
  • Fix invalid offset update (#354)
  • Add C++11 support on MSVC2015(#339, #347)
  • Fix and Improve build system (#346, #350, #361, #363)
  • Import Boost.Preprocessor as a part of msgpack-c (#312)
  • Fix OSX with libc++ specific errors (#334, #362)
  • Add customized containers support (#330)
  • Add std::unique_ptr and std::shared_ptr support (#329)
  • Add missing install files (#328)
  • Add shared/static library switching option (#316)
  • Improve no throw description on C++11 (#313)
  • Import Boost.Predef as a part of msgpack-c (#312)
  • Add map based serialize support (#306)
  • Add Boost.Fusion support (#305)
  • Add v4 format RAW support (#304)
  • Fix zbuffer with empty string problem (#303)
  • Add non default constructible class support (#302, #324, #327, #331, #332, #345)
  • Add inline keyword to function (template) (#299)
  • Add EXT type supporting classes (#292, #308)
  • Fix raw_ref != comparison (#290)
  • Add object deep copy (#288)
  • Remove some warnings (#284, #322, #323, #335)
  • Improve compiler version checking (#283)
  • Add return value to object::convert() (#282)
  • Improve move semantic support in C++11 (#279, #353)
  • Add Boost.StringRef support (#278)
  • Improve CI environment (#276, #294, #338)
  • Add converting to JSON (#274, #301)
  • Fix iOS specific problem (#270)
  • Improve doxtgen document generation (#269)
  • Add Boost.Optional support (#268)
  • Fix msvc specific problem (#267, #295)
  • Add base class serialization. (#265, #277)
  • Add and improve examples. (#264, #310, #311, #341, #342, #344)
  • Fix wiki URL. (#263)

1.1.0

03 Apr 11:37
Compare
Choose a tag to compare

breaking changes

  • Remove msgpack_fwd.hpp (#262)
  • Improve user types adaptation mechanism (#262)
    • Since version 1.0.0, users need to obey the correct include order. However, it is very difficult to maintain the correct order in big projects. version 1.1.0 removed this order. Users don't need to care about include order. Migration guide from 1.0.x to 1.1.0 has been written. See https://github.com/msgpack/msgpack-c/wiki

other updates

1.0.1

22 Mar 19:01
Compare
Choose a tag to compare

This is a maintenance release and it includes following fixes:

  • Fix compilation error on Mac 10.9 (#244)
  • Fix typos in documents (#240)
  • Update CHANGELOG.md for version 1.0.0 (#242)
  • Fix erb templates for the next code generation (#239)

1.0.0

10 Mar 12:51
Compare
Choose a tag to compare

This is the first major version up of msgpack-c. It isn't compatible with the previous version 0.5.9. Please look at wiki to learn how to migrate your project to the new version.

0.5.9

03 Jul 02:54
Compare
Choose a tag to compare

This version includes following changes.

  • Support std::tr1 unordered containers by default (#51, #63, #68, #69)
  • Remove some warnings (#56)
  • Fix segmentation fault after malloc failures (#58, #59)
  • Fix alloc/dealloc mismatch (#52, #61)
  • Fix sample codes (#60, #64)
  • Support implicit conversion from integer to float/double (#54)
  • Improve documents (#45, #75, #82, #83)
  • Support CMake (#20, #87)
  • Remove Ruby dependencies in bootstrap (#86, #87)
  • Add FILE* buffer (#40)
  • Other bug fixes and refactoring: #39, #73, #77, #79, #80, #81, #84, #90

CMake is now supported. CMake 2.8.6 or later is required. This version still supports autotools, too.

Thank you for contributions!