Debian Codegraph @

ChangeLog

raw
1 # 2023-03-02 version 6.0.0
2 * Remove C++ requirement if test is disabled (#1055)
3 ## << breaking changes >>
4 * Change CMake package name of C library to msgpack-c (#1053)
5 Unified all C package, library, cmake, tarball name become msgpack-c.
6
7 # 2023-01-10 version 5.0.0
8 * Add additional address sanitizer for CI. (#1023)
9 ## << breaking changes >>
10 * Change CMake package name of C library to msgpackc (#1044, #1049)
11
12 # 2021-08-01 version 4.0.0
13 * Fix and improve alignment logic (#962)
14 * Fix iovec name conflict (#953)
15 * Fix empty string print (#942)
16 * Fix buffer ptr size (#899)
17 * Fix UB. Check null pointer before using memcpy() (#890)
18 * Improve CI environment (#885, #899)
19
20 ## << breaking changes >>
21 * Separate C part of the msgpack-c from C/C++ mixed msgpack-c (#876, #878)
22
23
24 # 2020-06-05 version 3.3.0
25 * Add json example for C (#870)
26 * Add both header and body packing functions for C (#870)
27 * Set default ref_size and chunk_size to vrefbuffer (#865)
28 * Add examples (#861)
29 * Improve build system (#839, #842)
30 * Improve tests (#829)
31 * Improve documents (#828)
32 * Remove some warnings (#827, #851, #871)
33 * Improve CI environment (#824, #831, #833, #834, #846, #860, 874)
34
35 # 2019-12-10 version 3.2.1
36 * Fix snprintf return value checking (#821)
37 * Remove some warnings (#819)
38 * Fix fbuffer result checking (#812)
39 * Fix temporary object handling (#807)
40 * Improve cmake support (#804)
41 * Fix invalid `int main` parameter (#800)
42 * Improve supporting platform (#797, #817)
43 * Fix ZLIB error handling (#795)
44 * Remove unused variable (#793)
45 * Improve integer overflow checking (#792)
46
47 # 2019-05-27 version 3.2.0
48
49 * Fix invalid include (#783)
50 * Add timespec support (#781)
51 * Fix unchecked fnprintf on C (#780)
52 * Improve integer overflow checking on C (#776)
53 * Fix warnings on `-Wconversion` (#770, #777, #784)
54 * Fix invalid passed by value on aligned_zone_size_visitor (#764)
55 * Improve windows support (#757, #779)
56 * Fix msgpack::object size caluclation error (#754)
57 * Fix memory error on example code (#753)
58 * Fix redundant memory allocation on C (#747)
59 * Fix msgpack::type::tuple base class conversion (#743)
60
61 # 2018-09-09 version 3.1.1
62
63 * Add force endian set functionality (#736)
64 * Fix vrefbuffer memory management problem (#733)
65 * Fix msvc specific problem (#731, #732)
66 * Update boost from 1.61.0 to 1.68.0 (#730)
67 * Fix msgpack_timestamp type mismatch bug (#726)
68
69 # 2018-08-10 version 3.1.0
70
71 * Improve documents (#687, #718)
72 * Add fuzzer support (#689)
73 * Fix msgpack::object union member access bug (#694)
74 * Improve cross platform configuration (#704)
75 * Fix out of range dereference bug of EXT (#705)
76 * Add timestamp support. std::chrono::system_clock::time_point is mapped to TIMESTAMP (#706)
77 * Add minimal timestamp support for C. The type `msgpack_timestamp` and the function `msgpack_object_to_timestamp()` are introduced (#707)
78 * Improve MSGPACK_DEFINE family name confliction probability (#710)
79 * Add no static-library build option (BUILD_SHARED_LIBS=ON) (#713, #717, #722)
80 * Add header only cmake target (#721)
81 * Add `std::byte` adaptor (#719)
82 * Remove some warnings (#720)
83
84 # 2018-05-12 version 3.0.1
85
86 * Add fuzz directory to release tar ball (#686)
87 * Add include file checking for X-Code (#683)
88
89 # 2018-05-09 version 3.0.0
90
91 ## << breaking changes >>
92
93 * Change offset parameter updating rule. If parse error happens, offset is updated to the error position. (#639, #666)
94
95 ## << other updates >>
96
97 * Improve cross platform configuration (#655, #677)
98 * Improve build system (#647)
99 * Improve user class adaptor (#645, #673)
100 * Improve msgpack::object visitation logic (#676)
101 * Remove some warnings (#641, 659)
102 * Add `->` and `*` operators to object_handle (#635)
103 * Improve CI environment (#631, #634, #643, #657, #662, #668)
104 * Improve documents (#630, #661)
105 * Refactoring (#670)
106 * Add OSS-Fuzz support (#672, #674, #675, #678)
107
108 # 2017-08-04 version 2.1.5
109 * Improve cross platform configuration (#624)
110 * Add boost asio examples (including zlib) (#610)
111 * Remove some warnings (#611)
112 * Fix unpack visitor to treat float32/64 correctly (#613)
113 * Improve documents (#616)
114 * Fix alignment problem on some platform (#617, #518)
115 * Fix conflict std::tuple, std::pair, and boost::fusion::sequence problem (#619)
116
117 # 2017-08-03 version 2.1.4 (Invalid)
118 * See https://github.com/msgpack/msgpack-c/issues/623
119
120 # 2017-06-15 version 2.1.3
121 * Improve build system (#603)
122 * Add C++17 adaptors `std::optional` and `std::string_view`. (#607, #608)
123 * Improve cross platform configuration (#601)
124 * Remove some warnings (#599, #602, #605)
125
126 # 2017-06-07 version 2.1.2
127
128 * Improve documents (#565)
129 * Fix empty map parse bug (#568)
130 * Improve build system (#569, #570, #572, #579, #591, #592)
131 * Remove some warnings (#574, #578, #586, #588)
132 * Improve cross platform configuration (#577, #582)
133 * Add cmake package config support (#580)
134 * Fix streaming unpack bug (#585)
135
136 # 2017-02-04 version 2.1.1
137
138 * Fix unpacker's buffer management bug (#561)
139 * Add boost string_view adaptor (#558)
140 * Remove some warnings (#557, #559)
141 * Improve coding style (#556)
142
143 # 2017-01-10 version 2.1.0
144
145 ## << breaking changes >>
146
147 * Fix object internal data type is float if msgpack format is float32 (#531)
148
149 ## << recommended changes >>
150
151 * Add `FLOAT64` type. Please use it instead of `DOUBLE` (#531)
152 * Add `FLOAT32` type. Please use it instead of `FLOAT` (#531)
153
154 ## << other updates >>
155
156 * Add iterator based parse/unpack function(experimental) (#553)
157 * Add `[[deprecated]]` attribute for C++14 (#552)
158 * Fix `msgpack_unpack()` return code (#548)
159 * Fix integer overflow (#547, #549, #550)
160 * Add example codes (#542)
161 * Add MSGPACK_NVP. You can use not only variable name but also any strings (#535)
162 * Fix and Improve build system (#532, #545)
163 * Fix `gcc_atomic.hpp` include path (#529, #530)
164 * Improve CI environment (#526)
165 * Improve documents (#524)
166 * Add msgpack_unpacker_next_with_size() function (#515)
167 * Fix `as()` applying condition (#511)
168 * Fix fbuffer write (#504)
169 * Add gcc bug workaround (#499)
170 * Improve object print (#497, #500, #505, #533)
171 * Remove some warnings (#495, #506, #508, #513, #528, #538, #545)
172
173 # 2016-06-25 version 2.0.0
174
175 ## << breaking changes >>
176
177 * Removed autotools support. Use cmake instead (#476, #479)
178 * Removed pointer version of msgpack::unpack APIs. Use reference version instead (#453)
179 * Removed MSGPACK_DISABLE_LEGACY_CONVERT. msgpack::object::convert(T*) is removed by default. Use msgpack::object::convert(T&) instead (#451)
180 * Removed msgpacl::type::nil. Use nil_t or define MSGPACK_USE_LECACY_NIL (#444)
181 * Removed std::string to msgpack::object conversion (#434)
182
183 ## << recommended changes >>
184
185 * Replaced msgpack::unpacked with msgpack::object_handle. msgpack::unpacked is kept as a typedef of msgpack::object_handle. (#448)
186
187 ## << other updates >>
188
189 * Add strict size checking adaptor. Relaxed tuple conversion (#489)
190 * Fix and Improve example codes (#487)
191 * Add C++/CLI support for nullptr (#481)
192 * Update the boost libraries that are contained by msgpack-c (#475)
193 * Fix gcc_atomic.hpp location (#474)
194 * Add C-Style array support (#466, #488)
195 * Fix include file dependency (#464)
196 * Add a visitor version of unpack API (#461)
197 * Fix JSON string conversion from "nil" to "null" (#458)
198 * Fix and Improve build system (#455, #471, #473, #486, #491)
199 * Fix comments (#452)
200 * Fix unintentional msgpack::zone moving problem (#447)
201 * Fix operator>> and << for msgpack::object (#443)
202 * Fix C++03 msgpack::zone::clear() memory access violation bug (#441)
203 * Fix TARGET_OS_IPHONE checking (#436)
204 * Fix invalid front() call for empty container (#435)
205 * Fix compile error on g++6 (C++11 only) (#426, #430)
206 * Fix zone size expansion logic (#423)
207 * Fix wrong hader file dependency (#421)
208 * Fix msvc specific problem (#420)
209 * Add v2 API support (#415)
210
211 # 2016-01-22 version 1.4.0
212
213 ## << recommended changes >>
214
215 * 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).
216 Replace `msgpack::type::nil` with `msgpack::type::nil_t` in client codes.
217 `msgpack::type::nil` will be removed on the version 2.0.0.
218 * 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).
219 Replace calling `msgpack::bojectconvert(T*)` with `msgpack::bojectconvert(T&)` in client codes as follows:
220
221 ```C++
222 int i;
223 obj.convert(&i); // before
224 ```
225
226 ```C++
227 int i;
228 obj.convert(i); // after
229 ```
230
231 `msgpack::object::convert(T*)` will be removed on the version 2.0.0.
232
233 Define the macros above as follows when you compile C++ codes that use msgpack-c:
234
235 ```
236 g++ -Ipath_to_msgpack/include -DMSGPACK_DISABLE_LEGACY_NIL -DMSGPACK_DISABLE_LEGACY_CONVERT your_code.cpp
237
238 ```
239
240 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.
241
242 ## << other updates >>
243
244 * Improve documents (#387, #407)
245 * Remove C++ version library (#394, #402)
246 * Add Doxyfile and ChangeLog to the distribution package (#397)
247 * Add signed/unsigned char test to travis-ci (#398)
248 * Remove some warnings (#400, #401, #409)
249 * Fix endian checking. (#404)
250
251 # 2015-11-21 version 1.3.0
252
253 * Change the license from the Apache License Version 2.0 to the
254 Boost Software License, Version 1.0.(#386)
255 * Remove some warnings (#365)
256 * Add std::reference_wrapper support(#373, #384)
257 * Improve tests (#375, #378, #379, #380)
258 * Fix msvc specific problem (#376, #383)
259 * Fix typos (#381)
260
261 # 2015-09-04 version 1.2.0
262
263 ## << breaking changes >>
264
265 * Change std::vector<unsigned char> and std::array<unsigned char>
266 mapped to BIN instead of ARRAY (#243)
267 * Remove redundant copy (#285)
268
269
270 ## << other updates >>
271
272 * Add array_ref to map to ARRAY (#243)
273 * Add variant type and adaptor (#349)
274 * Add object::convert_if_not_nil() (#357)
275 * Fix invalid offset update (#354)
276 * Add C++11 support on MSVC2015(#339, #347)
277 * Fix and Improve build system (#346, #350, #361, #363)
278 * Import Boost.Preprocessor as a part of msgpack-c (#312)
279 * Fix OSX with libc++ specific errors (#334, #362)
280 * Add customized containers support (#330)
281 * Add std::unique_ptr and std::shared_ptr support (#329)
282 * Add missing install files (#328)
283 * Add shared/static library switching option (#316)
284 * Improve no throw description on C++11 (#313)
285 * Import Boost.Predef as a part of msgpack-c (#312)
286 * Add map based serialize support (#306)
287 * Add Boost.Fusion support (#305)
288 * Add v4 format RAW support (#304)
289 * Fix zbuffer with empty string problem (#303)
290 * Add non default constructible class support (#302, #324, #327, #331, #332, #345)
291 * Add inline keyword to function (template) (#299)
292 * Add EXT type supporting classes (#292, #308)
293 * Fix raw_ref != comparison (#290)
294 * Add object deep copy (#288)
295 * Remove some warnings (#284, #322, #323, #335)
296 * Improve compiler version checking (#283)
297 * Add return value to object::convert() (#282)
298 * Improve move semantic support in C++11 (#279, #353)
299 * Add Boost.StringRef support (#278)
300 * Improve CI environment (#276, #294, #338)
301 * Add converting to JSON (#274, #301)
302 * Fix iOS specific problem (#270)
303 * Improve doxtgen document generation (#269)
304 * Add Boost.Optional support (#268)
305 * Fix msvc specific problem (#267, #295)
306 * Add base class serialization. (#265, #277)
307 * Add and improve examples. (#264, #310, #311, #341, #342, #344)
308 * Fix wiki URL. (#263)
309
310 # 2015-04-03 version 1.1.0
311
312 ## << breaking changes >>
313
314 * Remove msgpack_fwd.hpp
315 * Improve user types adaptation mechanism (#262)
316 Since version 1.0.0, users need to obey the correct include order.
317 However, it is very difficult to maintain the correct order in big
318 projects. version 1.1.0 removed this order. Users don't need to
319 care about include order. Migration guide from 1.0.x to 1.1.0 has
320 been written. See https://github.com/msgpack/msgpack-c/wiki
321
322
323 ## << other updates >>
324
325 * Fix vector<bool> size check (#251)
326 * Fix inttypes.h inclusion on MSVC (#257)
327 * Support documents generation by Doxygen (#259)
328 * Remove C99 style variable declaration (#253)
329 * Improve documents (https://github.com/msgpack/msgpack-c/wiki)
330
331 # 2015-03-22 version 1.0.1:
332
333 * Fix compilation error on Mac 10.9 (#244)
334 * Fix typos in documents (#240)
335 * Update CHANGELOG.md for version 1.0.0 (#242)
336 * Fix erb templates for the next code generation (#239)
337
338 # 2015-03-10 version 1.0.0:
339
340 * Support msgpack v5 format (str, bin, and ext) https://github.com/msgpack/msgpack/blob/master/spec.md (#142)
341 * 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)
342 * Update msgpack-c as a header-only library on C++ (#142)
343 * Move include directory (#142)
344 * Update the name of float format family on msgpack::object from 'dec' to 'f64' (#194)
345 * Remove existing elements on associative containers when unpacking (#127)
346 * Add an API versioning functionality https://github.com/msgpack/msgpack-c/wiki/cpp_versioning (#139)
347 * Add C++11 enum class support (#205)
348 * Map std::vector<char> and std::array<char> to BIN (#100)
349 * Map '\0' teminated char* and char const* to STR (#206)
350 * Add the new parameter on unpacking functions and classes to limit msgpack's bytestream size (https://github.com/msgpack/msgpack-c/wiki/cpp_unpacker#limit-size-of-elements) (#175)
351 * Add the copy or reference choosing function on unpack() and unpacker (https://github.com/msgpack/msgpack-c/wiki/cpp_unpacker#memory-management)
352 * Add the new unpack() overloads for C++11 https://github.com/msgpack/msgpack-c/wiki/cpp_unpacker (#128)
353 * Add a msgpack::object::with_zone (deep) copying function (#133, #163)
354 * Remove the compile-time defined limit of msgpack nest level on C++ (#218)
355 * Add the new unpack() overloads that use an existing zone (#201)
356 * Add the range-based for loop support on msgpack object array and map (#203)
357 * Add msgpack revision getter function for 'revision' (#237)
358 * Support EXT for C (#118, #129)
359 * Fix unpacking buffer allocation problem when malformed data is given (#160, #185)
360 * Add dll exporting function on MSVC (#162)
361 * Fix msgpack::zone::allocate_no_align(). Now it allocates the memory that is not aligned as expected (#171)
362 * Improve documents (https://github.com/msgpack/msgpack-c/wiki)
363 * 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
364
365 # 2014-07-02 version 0.5.9:
366
367 * Support std::tr1 unordered containers by default (#51, #63, #68, #69)
368 * Remove some warnings (#56)
369 * Fix segmentation fault after malloc failures (#58, #59)
370 * Fix alloc/dealloc mismatch (#52, #61)
371 * Fix sample codes (#60, #64)
372 * Support implicit conversion from integer to float/double (#54)
373 * Improve documents (#45, #75, #82, #83)
374 * Support CMake (#20, #87)
375 * Remove Ruby dependencies in bootstrap (#86, #87)
376 * Add FILE* buffer (#40)
377 * Other bug fixes and refactoring: #39, #73, #77, #79, #80, #81, #84, #90
378
379 # 2013-12-23 version 0.5.8:
380
381 * Move to the new github repository msgpack/msgpack-c
382 * Support the new deserialization specification
383 * fixes the problem of unpack helpers for array and map with 32bit compilers (#37, #38)
384 * Other bug fixes and refactoring: #46, #41, #36, #35, #33, #32, #30, #29, #28, #27, #26, #25, #8, #3
385 * Update of documents: #23, #18, #17
386
387 # 2011-08-08 version 0.5.7:
388
389 * fixes compile error problem with llvm-gcc and Mac OS X Lion
390
391 # 2011-04-24 version 0.5.6:
392
393 * #42 fixes double-free problem on msgpack_unpacker_release_zone
394
395 # 2011-02-24 version 0.5.5:
396
397 * eliminates dependency of winsock2.h header
398 * fixes msgpack_vc.postbuild.bat file
399 * fixes some implicit cast warnings
400
401 # 2010-08-29 version 0.5.4:
402
403 * includes msgpack_vc2008.vcproj file in source package
404 * fixes type::fix_int types
405
406 # 2010-08-27 version 0.5.3:
407
408 * adds type::fix_{u,}int{8,16,32,64} types
409 * adds msgpack_pack_fix_{u,}int{8,16,32,64} functions
410 * adds packer<Stream>::pack_fix_{u,}int{8,16,32,64} functions
411 * fixes include paths
412
413 # 2010-07-14 version 0.5.2:
414
415 * type::raw::str(), operator==, operator!=, operator< and operator> are now const
416 * generates version.h using AC_OUTPUT macro in ./configure
417
418 # 2010-07-06 version 0.5.1:
419
420 * Add msgpack_vrefbuffer_new and msgpack_vrefbuffer_free
421 * Add msgpack_sbuffer_new and msgpack_sbuffer_free
422 * Add msgpack_unpacker_next and msgpack_unpack_next
423 * msgpack::unpack returns void
424 * Add MSGPACK_VERSION{,_MAJOR,_MINOR} macros to check header version
425 * Add msgpack_version{,_major,_minor} functions to check library version
426 * ./configure supports --disable-cxx option not to build C++ API
427
428 # 2010-04-29 version 0.5.0:
429
430 * msgpack_object_type is changed. MSGPACK_OBJECT_NIL is now 0x00.
431 * New safe streaming deserializer API.
432 * Add object::object(const T&) and object::operator=(const T&)
433 * Add operator==(object, const T&)
434 * MSGPACK_DEFINE macro defines msgpack_object(object* obj, zone* z)
435 * C++ programs doesn't need to link "msgpackc" library.