From 8640754417c08488f194f356198c3823fd41a832 Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Wed, 20 Jan 2016 16:14:48 +0900 Subject: [PATCH] Release version 1.4.0. Fixed markdown layouts. --- CHANGELOG.md | 90 ++++++++++++++++++++++++++------ README.md | 2 +- include/msgpack/version_master.h | 2 +- 3 files changed, 75 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 349db9d09..6f7b0318e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,45 @@ -2015-11-21 version 1.3.0 +# 2016-01-22 version 1.4.0 + +## << recommended changes >> + + * Define [MSGPACK_DISABLE_LEGACY_NIL](https://github.com/msgpack/msgpack-c/wiki/v1_1_cpp_configure#msgpack_disable_legacy_nil-since-140), 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](https://github.com/msgpack/msgpack-c/wiki/v1_1_cpp_configure#msgpack_disable_legacy_convert-since-140), then `msgpack::object::convert(T*)` is removed (#410). + Replace calling `msgpack::bojectconvert(T*)` with `msgpack::bojectconvert(T&)` in client codes as follows: + + ```C++ + int i; + obj.convert(&i); // before + ``` + + ```C++ + 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) + +# 2015-11-21 version 1.3.0 + * Change the license from the Apache License Version 2.0 to the Boost Software License, Version 1.0.(#386) * Remove some warnings (#365) @@ -6,12 +47,18 @@ * Improve tests (#375, #378, #379, #380) * Fix msvc specific problem (#376, #383) * Fix typos (#381) -2015-09-04 version 1.2.0 - << breaking change >> + +# 2015-09-04 version 1.2.0 + +## << 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) @@ -49,8 +96,11 @@ * Add base class serialization. (#265, #277) * Add and improve examples. (#264, #310, #311, #341, #342, #344) * Fix wiki URL. (#263) -2015-04-03 version 1.1.0 - << breaking change >> + +# 2015-04-03 version 1.1.0 + +## << breaking changes >> + * Remove msgpack_fwd.hpp * Improve user types adaptation mechanism (#262) Since version 1.0.0, users need to obey the correct include order. @@ -59,18 +109,24 @@ 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 >> + * Fix vector size check (#251) * Fix inttypes.h inclusion on MSVC (#257) * Support documents generation by Doxygen (#259) * Remove C99 style variable declaration (#253) * Improve documents (https://github.com/msgpack/msgpack-c/wiki) -2015-03-22 version 1.0.1: + +# 2015-03-22 version 1.0.1: + * 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) -2015-03-10 version 1.0.0: +# 2015-03-10 version 1.0.0: + * Support msgpack v5 format (str, bin, and ext) https://github.com/msgpack/msgpack/blob/master/spec.md (#142) * Support std::tuple, std::forward_list, std::array, std::unordered_set, std::unordered_map on C++11. tr1 unordered containers are still supported (#53, #130, #137, #154, #169) * Update msgpack-c as a header-only library on C++ (#142) @@ -96,7 +152,7 @@ * Improve documents (https://github.com/msgpack/msgpack-c/wiki) * Other bug fixes and refactoring: #62, #91, #95, #97, #107, #109, #113, #117, #119, #121, #122, #123, #126, #131, #136, #138, #140, #143, #145, #146, #150, #151, #152, #156, #157, #158, #161, #165, #170, #172, #179, #180, #181, #182, #183, #192, #195, #199, #200, #207, #211, #212, #219, #222, #224, #230, #231, #232, #233, #234, #235 -2014-07-02 version 0.5.9: +# 2014-07-02 version 0.5.9: * Support std::tr1 unordered containers by default (#51, #63, #68, #69) * Remove some warnings (#56) @@ -110,7 +166,7 @@ * Add FILE* buffer (#40) * Other bug fixes and refactoring: #39, #73, #77, #79, #80, #81, #84, #90 -2013-12-23 version 0.5.8: +# 2013-12-23 version 0.5.8: * Move to the new github repository msgpack/msgpack-c * Support the new deserialization specification @@ -118,38 +174,38 @@ * Other bug fixes and refactoring: #46, #41, #36, #35, #33, #32, #30, #29, #28, #27, #26, #25, #8, #3 * Update of documents: #23, #18, #17 -2011-08-08 version 0.5.7: +# 2011-08-08 version 0.5.7: * fixes compile error problem with llvm-gcc and Mac OS X Lion -2011-04-24 version 0.5.6: +# 2011-04-24 version 0.5.6: * #42 fixes double-free problem on msgpack_unpacker_release_zone -2011-02-24 version 0.5.5: +# 2011-02-24 version 0.5.5: * eliminates dependency of winsock2.h header * fixes msgpack_vc.postbuild.bat file * fixes some implicit cast warnings -2010-08-29 version 0.5.4: +# 2010-08-29 version 0.5.4: * includes msgpack_vc2008.vcproj file in source package * fixes type::fix_int types -2010-08-27 version 0.5.3: +# 2010-08-27 version 0.5.3: * adds type::fix_{u,}int{8,16,32,64} types * adds msgpack_pack_fix_{u,}int{8,16,32,64} functions * adds packer::pack_fix_{u,}int{8,16,32,64} functions * fixes include paths -2010-07-14 version 0.5.2: +# 2010-07-14 version 0.5.2: * type::raw::str(), operator==, operator!=, operator< and operator> are now const * generates version.h using AC_OUTPUT macro in ./configure -2010-07-06 version 0.5.1: +# 2010-07-06 version 0.5.1: * Add msgpack_vrefbuffer_new and msgpack_vrefbuffer_free * Add msgpack_sbuffer_new and msgpack_sbuffer_free @@ -159,7 +215,7 @@ * Add msgpack_version{,_major,_minor} functions to check library version * ./configure supports --disable-cxx option not to build C++ API -2010-04-29 version 0.5.0: +# 2010-04-29 version 0.5.0: * msgpack_object_type is changed. MSGPACK_OBJECT_NIL is now 0x00. * New safe streaming deserializer API. diff --git a/README.md b/README.md index 3acc79eed..f7520506d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ `msgpack` for C/C++ =================== -Version 1.3.0 [![Build Status](https://travis-ci.org/msgpack/msgpack-c.svg?branch=master)](https://travis-ci.org/msgpack/msgpack-c) [![Build status](https://ci.appveyor.com/api/projects/status/8kstcgt79qj123mw/branch/master?svg=true)](https://ci.appveyor.com/project/redboltz/msgpack-c/branch/master) +Version 1.4.0 [![Build Status](https://travis-ci.org/msgpack/msgpack-c.svg?branch=master)](https://travis-ci.org/msgpack/msgpack-c) [![Build status](https://ci.appveyor.com/api/projects/status/8kstcgt79qj123mw/branch/master?svg=true)](https://ci.appveyor.com/project/redboltz/msgpack-c/branch/master) It's like JSON but small and fast. diff --git a/include/msgpack/version_master.h b/include/msgpack/version_master.h index d20851427..ec7555dd9 100644 --- a/include/msgpack/version_master.h +++ b/include/msgpack/version_master.h @@ -1,3 +1,3 @@ #define MSGPACK_VERSION_MAJOR 1 -#define MSGPACK_VERSION_MINOR 3 +#define MSGPACK_VERSION_MINOR 4 #define MSGPACK_VERSION_REVISION 0