Skip to content

Commit cabd8a8

Browse files
committed
Merge pull request #413 from redboltz/version-1.4.0
Release version 1.4.0.
2 parents 7d1be40 + 8640754 commit cabd8a8

File tree

3 files changed

+75
-19
lines changed

3 files changed

+75
-19
lines changed

CHANGELOG.md

Lines changed: 73 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,64 @@
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+
243
* Change the license from the Apache License Version 2.0 to the
344
Boost Software License, Version 1.0.(#386)
445
* Remove some warnings (#365)
546
* Add std::reference_wrapper support(#373, #384)
647
* Improve tests (#375, #378, #379, #380)
748
* Fix msvc specific problem (#376, #383)
849
* 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+
1155
* Change std::vector<unsigned char> and std::array<unsigned char>
1256
mapped to BIN instead of ARRAY (#243)
1357
* Remove redundant copy (#285)
1458
59+
60+
## << other updates >>
61+
1562
* Add array_ref to map to ARRAY (#243)
1663
* Add variant type and adaptor (#349)
1764
* Add object::convert_if_not_nil() (#357)
@@ -49,8 +96,11 @@
4996
* Add base class serialization. (#265, #277)
5097
* Add and improve examples. (#264, #310, #311, #341, #342, #344)
5198
* 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+
54104
* Remove msgpack_fwd.hpp
55105
* Improve user types adaptation mechanism (#262)
56106
Since version 1.0.0, users need to obey the correct include order.
@@ -59,18 +109,24 @@
59109
care about include order. Migration guide from 1.0.x to 1.1.0 has
60110
been written. See https://github.com/msgpack/msgpack-c/wiki
61111
112+
113+
## << other updates >>
114+
62115
* Fix vector<bool> size check (#251)
63116
* Fix inttypes.h inclusion on MSVC (#257)
64117
* Support documents generation by Doxygen (#259)
65118
* Remove C99 style variable declaration (#253)
66119
* 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+
68123
* Fix compilation error on Mac 10.9 (#244)
69124
* Fix typos in documents (#240)
70125
* Update CHANGELOG.md for version 1.0.0 (#242)
71126
* Fix erb templates for the next code generation (#239)
72127
73-
2015-03-10 version 1.0.0:
128+
# 2015-03-10 version 1.0.0:
129+
74130
* Support msgpack v5 format (str, bin, and ext) https://github.com/msgpack/msgpack/blob/master/spec.md (#142)
75131
* 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)
76132
* Update msgpack-c as a header-only library on C++ (#142)
@@ -96,7 +152,7 @@
96152
* Improve documents (https://github.com/msgpack/msgpack-c/wiki)
97153
* 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
98154
99-
2014-07-02 version 0.5.9:
155+
# 2014-07-02 version 0.5.9:
100156
101157
* Support std::tr1 unordered containers by default (#51, #63, #68, #69)
102158
* Remove some warnings (#56)
@@ -110,46 +166,46 @@
110166
* Add FILE* buffer (#40)
111167
* Other bug fixes and refactoring: #39, #73, #77, #79, #80, #81, #84, #90
112168
113-
2013-12-23 version 0.5.8:
169+
# 2013-12-23 version 0.5.8:
114170
115171
* Move to the new github repository msgpack/msgpack-c
116172
* Support the new deserialization specification
117173
* fixes the problem of unpack helpers for array and map with 32bit compilers (#37, #38)
118174
* Other bug fixes and refactoring: #46, #41, #36, #35, #33, #32, #30, #29, #28, #27, #26, #25, #8, #3
119175
* Update of documents: #23, #18, #17
120176
121-
2011-08-08 version 0.5.7:
177+
# 2011-08-08 version 0.5.7:
122178
123179
* fixes compile error problem with llvm-gcc and Mac OS X Lion
124180
125-
2011-04-24 version 0.5.6:
181+
# 2011-04-24 version 0.5.6:
126182
127183
* #42 fixes double-free problem on msgpack_unpacker_release_zone
128184
129-
2011-02-24 version 0.5.5:
185+
# 2011-02-24 version 0.5.5:
130186
131187
* eliminates dependency of winsock2.h header
132188
* fixes msgpack_vc.postbuild.bat file
133189
* fixes some implicit cast warnings
134190
135-
2010-08-29 version 0.5.4:
191+
# 2010-08-29 version 0.5.4:
136192
137193
* includes msgpack_vc2008.vcproj file in source package
138194
* fixes type::fix_int types
139195
140-
2010-08-27 version 0.5.3:
196+
# 2010-08-27 version 0.5.3:
141197
142198
* adds type::fix_{u,}int{8,16,32,64} types
143199
* adds msgpack_pack_fix_{u,}int{8,16,32,64} functions
144200
* adds packer<Stream>::pack_fix_{u,}int{8,16,32,64} functions
145201
* fixes include paths
146202
147-
2010-07-14 version 0.5.2:
203+
# 2010-07-14 version 0.5.2:
148204
149205
* type::raw::str(), operator==, operator!=, operator< and operator> are now const
150206
* generates version.h using AC_OUTPUT macro in ./configure
151207
152-
2010-07-06 version 0.5.1:
208+
# 2010-07-06 version 0.5.1:
153209
154210
* Add msgpack_vrefbuffer_new and msgpack_vrefbuffer_free
155211
* Add msgpack_sbuffer_new and msgpack_sbuffer_free
@@ -159,7 +215,7 @@
159215
* Add msgpack_version{,_major,_minor} functions to check library version
160216
* ./configure supports --disable-cxx option not to build C++ API
161217
162-
2010-04-29 version 0.5.0:
218+
# 2010-04-29 version 0.5.0:
163219
164220
* msgpack_object_type is changed. MSGPACK_OBJECT_NIL is now 0x00.
165221
* New safe streaming deserializer API.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
`msgpack` for C/C++
22
===================
33

4-
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)
4+
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)
55

66
It's like JSON but small and fast.
77

include/msgpack/version_master.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#define MSGPACK_VERSION_MAJOR 1
2-
#define MSGPACK_VERSION_MINOR 3
2+
#define MSGPACK_VERSION_MINOR 4
33
#define MSGPACK_VERSION_REVISION 0

0 commit comments

Comments
 (0)