|
1 | | -2015-11-21 version 1.3.0 |
| 1 | +# 2016-01-22 version 1.4.0 |
| 2 | + |
| 3 | +## << recommended changes >> |
| 4 | + |
| 5 | + * 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). |
| 6 | + Replace `msgpack::type::nil` with `msgpack::type::nil_t` in client codes. |
| 7 | + `msgpack::type::nil` will be removed on the version 2.0.0. |
| 8 | + * 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). |
| 9 | + Replace calling `msgpack::bojectconvert(T*)` with `msgpack::bojectconvert(T&)` in client codes as follows: |
| 10 | + |
| 11 | + ```C++ |
| 12 | + int i; |
| 13 | + obj.convert(&i); // before |
| 14 | + ``` |
| 15 | + |
| 16 | + ```C++ |
| 17 | + int i; |
| 18 | + obj.convert(i); // after |
| 19 | + ``` |
| 20 | + |
| 21 | + `msgpack::object::convert(T*)` will be removed on the version 2.0.0. |
| 22 | + |
| 23 | +Define the macros above as follows when you compile C++ codes that use msgpack-c: |
| 24 | + |
| 25 | +``` |
| 26 | +g++ -Ipath_to_msgpack/include -DMSGPACK_DISABLE_LEGACY_NIL -DMSGPACK_DISABLE_LEGACY_CONVERT your_code.cpp |
| 27 | + |
| 28 | +``` |
| 29 | +
|
| 30 | +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. |
| 31 | +
|
| 32 | +## << other updates >> |
| 33 | +
|
| 34 | + * Improve documents (#387, #407) |
| 35 | + * Remove C++ version library (#394, #402) |
| 36 | + * Add Doxyfile and ChangeLog to the distribution package (#397) |
| 37 | + * Add signed/unsigned char test to travis-ci (#398) |
| 38 | + * Remove some warnings (#400, #401, #409) |
| 39 | + * Fix endian checking. (#404) |
| 40 | +
|
| 41 | +# 2015-11-21 version 1.3.0 |
| 42 | +
|
2 | 43 | * Change the license from the Apache License Version 2.0 to the |
3 | 44 | Boost Software License, Version 1.0.(#386) |
4 | 45 | * Remove some warnings (#365) |
5 | 46 | * Add std::reference_wrapper support(#373, #384) |
6 | 47 | * Improve tests (#375, #378, #379, #380) |
7 | 48 | * Fix msvc specific problem (#376, #383) |
8 | 49 | * Fix typos (#381) |
9 | | -2015-09-04 version 1.2.0 |
10 | | - << breaking change >> |
| 50 | +
|
| 51 | +# 2015-09-04 version 1.2.0 |
| 52 | +
|
| 53 | +## << breaking changes >> |
| 54 | +
|
11 | 55 | * Change std::vector<unsigned char> and std::array<unsigned char> |
12 | 56 | mapped to BIN instead of ARRAY (#243) |
13 | 57 | * Remove redundant copy (#285) |
14 | 58 |
|
| 59 | +
|
| 60 | +## << other updates >> |
| 61 | +
|
15 | 62 | * Add array_ref to map to ARRAY (#243) |
16 | 63 | * Add variant type and adaptor (#349) |
17 | 64 | * Add object::convert_if_not_nil() (#357) |
|
49 | 96 | * Add base class serialization. (#265, #277) |
50 | 97 | * Add and improve examples. (#264, #310, #311, #341, #342, #344) |
51 | 98 | * Fix wiki URL. (#263) |
52 | | -2015-04-03 version 1.1.0 |
53 | | - << breaking change >> |
| 99 | +
|
| 100 | +# 2015-04-03 version 1.1.0 |
| 101 | +
|
| 102 | +## << breaking changes >> |
| 103 | +
|
54 | 104 | * Remove msgpack_fwd.hpp |
55 | 105 | * Improve user types adaptation mechanism (#262) |
56 | 106 | Since version 1.0.0, users need to obey the correct include order. |
|
59 | 109 | care about include order. Migration guide from 1.0.x to 1.1.0 has |
60 | 110 | been written. See https://github.com/msgpack/msgpack-c/wiki |
61 | 111 |
|
| 112 | +
|
| 113 | +## << other updates >> |
| 114 | +
|
62 | 115 | * Fix vector<bool> size check (#251) |
63 | 116 | * Fix inttypes.h inclusion on MSVC (#257) |
64 | 117 | * Support documents generation by Doxygen (#259) |
65 | 118 | * Remove C99 style variable declaration (#253) |
66 | 119 | * Improve documents (https://github.com/msgpack/msgpack-c/wiki) |
67 | | -2015-03-22 version 1.0.1: |
| 120 | +
|
| 121 | +# 2015-03-22 version 1.0.1: |
| 122 | +
|
68 | 123 | * Fix compilation error on Mac 10.9 (#244) |
69 | 124 | * Fix typos in documents (#240) |
70 | 125 | * Update CHANGELOG.md for version 1.0.0 (#242) |
71 | 126 | * Fix erb templates for the next code generation (#239) |
72 | 127 |
|
73 | | -2015-03-10 version 1.0.0: |
| 128 | +# 2015-03-10 version 1.0.0: |
| 129 | +
|
74 | 130 | * Support msgpack v5 format (str, bin, and ext) https://github.com/msgpack/msgpack/blob/master/spec.md (#142) |
75 | 131 | * 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) |
76 | 132 | * Update msgpack-c as a header-only library on C++ (#142) |
|
96 | 152 | * Improve documents (https://github.com/msgpack/msgpack-c/wiki) |
97 | 153 | * 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 |
98 | 154 |
|
99 | | -2014-07-02 version 0.5.9: |
| 155 | +# 2014-07-02 version 0.5.9: |
100 | 156 |
|
101 | 157 | * Support std::tr1 unordered containers by default (#51, #63, #68, #69) |
102 | 158 | * Remove some warnings (#56) |
|
110 | 166 | * Add FILE* buffer (#40) |
111 | 167 | * Other bug fixes and refactoring: #39, #73, #77, #79, #80, #81, #84, #90 |
112 | 168 |
|
113 | | -2013-12-23 version 0.5.8: |
| 169 | +# 2013-12-23 version 0.5.8: |
114 | 170 |
|
115 | 171 | * Move to the new github repository msgpack/msgpack-c |
116 | 172 | * Support the new deserialization specification |
117 | 173 | * fixes the problem of unpack helpers for array and map with 32bit compilers (#37, #38) |
118 | 174 | * Other bug fixes and refactoring: #46, #41, #36, #35, #33, #32, #30, #29, #28, #27, #26, #25, #8, #3 |
119 | 175 | * Update of documents: #23, #18, #17 |
120 | 176 |
|
121 | | -2011-08-08 version 0.5.7: |
| 177 | +# 2011-08-08 version 0.5.7: |
122 | 178 |
|
123 | 179 | * fixes compile error problem with llvm-gcc and Mac OS X Lion |
124 | 180 |
|
125 | | -2011-04-24 version 0.5.6: |
| 181 | +# 2011-04-24 version 0.5.6: |
126 | 182 |
|
127 | 183 | * #42 fixes double-free problem on msgpack_unpacker_release_zone |
128 | 184 |
|
129 | | -2011-02-24 version 0.5.5: |
| 185 | +# 2011-02-24 version 0.5.5: |
130 | 186 |
|
131 | 187 | * eliminates dependency of winsock2.h header |
132 | 188 | * fixes msgpack_vc.postbuild.bat file |
133 | 189 | * fixes some implicit cast warnings |
134 | 190 |
|
135 | | -2010-08-29 version 0.5.4: |
| 191 | +# 2010-08-29 version 0.5.4: |
136 | 192 |
|
137 | 193 | * includes msgpack_vc2008.vcproj file in source package |
138 | 194 | * fixes type::fix_int types |
139 | 195 |
|
140 | | -2010-08-27 version 0.5.3: |
| 196 | +# 2010-08-27 version 0.5.3: |
141 | 197 |
|
142 | 198 | * adds type::fix_{u,}int{8,16,32,64} types |
143 | 199 | * adds msgpack_pack_fix_{u,}int{8,16,32,64} functions |
144 | 200 | * adds packer<Stream>::pack_fix_{u,}int{8,16,32,64} functions |
145 | 201 | * fixes include paths |
146 | 202 |
|
147 | | -2010-07-14 version 0.5.2: |
| 203 | +# 2010-07-14 version 0.5.2: |
148 | 204 |
|
149 | 205 | * type::raw::str(), operator==, operator!=, operator< and operator> are now const |
150 | 206 | * generates version.h using AC_OUTPUT macro in ./configure |
151 | 207 |
|
152 | | -2010-07-06 version 0.5.1: |
| 208 | +# 2010-07-06 version 0.5.1: |
153 | 209 |
|
154 | 210 | * Add msgpack_vrefbuffer_new and msgpack_vrefbuffer_free |
155 | 211 | * Add msgpack_sbuffer_new and msgpack_sbuffer_free |
|
159 | 215 | * Add msgpack_version{,_major,_minor} functions to check library version |
160 | 216 | * ./configure supports --disable-cxx option not to build C++ API |
161 | 217 |
|
162 | | -2010-04-29 version 0.5.0: |
| 218 | +# 2010-04-29 version 0.5.0: |
163 | 219 |
|
164 | 220 | * msgpack_object_type is changed. MSGPACK_OBJECT_NIL is now 0x00. |
165 | 221 | * New safe streaming deserializer API. |
|
0 commit comments