1 nanopb-0.3.5 (2016-02-xx)
2 Fix generator crash with Enum inside Oneof (#188)
3 Fix some generator regressions related to .options file path (#172)
4 Add support for platforms without uint8_t (#191)
5 Allow const parameter to pb_istream_from_buffer (#152)
6 Ignore null pointers in pb_release() (#183)
7 Add support for anonymous unions (#184)
8 Add Python3 support to the generator (#169)
9 Add code generator insertion points to generated files (#178)
10 Improvements to CMake script (#181)
11 Improvements to test cases.
13 nanopb-0.3.4 (2015-09-26)
14 Fix handling of unsigned 8- and 16-bit enums (issue 164)
15 Fix generator on systems where python = python3. (issue 155)
16 Fix compiler warning on GCC 5.x (issue 171)
17 Make the generator better handle imported .protos (issue 165)
18 Add packed_enum option to generator.
19 Add syntax= line to .proto files (issue 167)
20 Add PlatformIO registry manifest file. (pr 156)
22 nanopb-0.3.3 (2015-04-10)
23 Fix missing files in Linux binary package (issue 146)
24 Fix generator bug when oneof is first field in a message. (issue 142)
25 Fix generator error when long_names:false is combined with Oneofs. (issue 147)
26 Fix oneof submessage initialization bug. (issue 149)
27 Fix problem with plugin options on Python 2.7.2 and older. (issue 153)
28 Fix crash when callback is inside oneof field. (issue 148)
29 Switch to .tar.gz format for Mac OS X packages. (issue 154)
30 Always define enum long names so that cross-file references work. (issue 118)
31 Add msgid generator option. (issue 151)
32 Improve comment support in .options files. (issue 145)
33 Updates for the CMake rule file, add cmake example.
34 Better error messages for syntax errors in .options file
36 nanopb-0.3.2 (2015-01-24)
37 Fix memory leaks with PB_ENABLE_MALLOC with some submessage hierarchies (issue 138)
38 Implement support for oneofs (C unions). (issues 131, 141)
39 Add int_size option for generator (issue 139)
40 Add compilation option to disable struct packing. (issue 136)
41 Change PB_RETURN_ERROR() macro to avoid compiler warnings (issue 140)
42 Fix build problems with protoc 3.0.0
43 Add support for POINTER type in extensions
44 Initialize also extension fields to defaults in pb_decode().
45 Detect too large varint values when decoding.
47 nanopb-0.3.1 (2014-09-11)
48 Fix security issue due to size_t overflows. (issue 132)
49 Fix memory leak with duplicated fields and PB_ENABLE_MALLOC
50 Fix crash if pb_release() is called twice.
51 Fix cyclic message support (issue 130)
52 Fix error in generated initializers for repeated pointer fields.
53 Improve tests (issues 113, 126)
55 nanopb-0.3.0 (2014-08-26)
56 NOTE: See docs/migration.html or online at
57 http://koti.kapsi.fi/~jpa/nanopb/docs/migration.html
58 for changes in this version. Most importantly, you need to add
59 pb_common.c to the list of files to compile.
61 Separated field iterator logic to pb_common.c (issue 128)
62 Change the _count fields to use pb_size_t datatype (issue 82)
63 Added PB_ prefix to macro names (issue 106)
64 Added #if version guard to generated files (issue 129)
65 Added migration document
67 nanopb-0.2.9 (2014-08-09)
68 NOTE: If you are using the -e option with the generator, you have
69 to prepend . to the argument to get the same behaviour as before.
71 Do not automatically add a dot with generator -e option. (issue 122)
72 Fix problem with .options file and extension fields. (issue 125)
73 Don't use SIZE_MAX macro, as it is not in C89. (issue 120)
74 Generate #defines for initializing message structures. (issue 79)
75 Add skip_message option to generator. (issue 121)
76 Add PB_PACKED_STRUCT support for Keil MDK-ARM toolchain (issue 119)
77 Give better messages about the .options file path. (issue 124)
80 nanopb-0.2.8 (2014-05-20)
81 Fix security issue with PB_ENABLE_MALLOC. (issue 117)
82 Add option to not add timestamps to .pb.h and .pb.c preambles. (issue 115)
86 nanopb-0.2.7 (2014-04-07)
87 Fix bug with default values for extension fields (issue 111)
88 Fix some MISRA-C warnings (issue 91)
89 Implemented optional malloc() support (issue 80)
90 Changed pointer-type bytes field datatype
91 Add a "found" field to pb_extension_t (issue 112)
92 Add convenience function pb_get_encoded_size() (issue 16)
94 nanopb-0.2.6 (2014-02-15)
95 Fix generator error with bytes callback fields (issue 99)
96 Fix warnings about large integer constants (issue 102)
97 Add comments to where STATIC_ASSERT is used (issue 96)
98 Add warning about unknown field names on .options (issue 105)
99 Move descriptor.proto to google/protobuf subdirectory (issue 104)
102 nanopb-0.2.5 (2014-01-01)
103 Fix a bug with encoding negative values in int32 fields (issue 97)
104 Create binary packages of the generator + dependencies (issue 47)
105 Add support for pointer-type fields to the encoder (part of issue 80)
106 Fixed path in FindNanopb.cmake (issue 94)
109 nanopb-0.2.4 (2013-11-07)
110 Remove the deprecated NANOPB_INTERNALS functions from public API.
111 Document the security model.
112 Check array and bytes max sizes when encoding (issue 90)
113 Add #defines for maximum encoded message size (issue 89)
114 Add #define tags for extension fields (issue 93)
115 Fix MISRA C violations (issue 91)
116 Clean up pb_field_t definition with typedefs.
118 nanopb-0.2.3 (2013-09-18)
119 Improve compatibility by removing ternary operator from initializations (issue 88)
120 Fix build error on Visual C++ (issue 84, patch by Markus Schwarzenberg)
121 Don't stop on unsupported extension fields (issue 83)
122 Add an example pb_syshdr.h file for non-C99 compilers
123 Reorganize tests and examples into subfolders (issue 63)
124 Switch from Makefiles to scons for building the tests
125 Make the tests buildable on Windows
127 nanopb-0.2.2 (2013-08-18)
128 Add support for extension fields (issue 17)
129 Fix unknown fields in empty message (issue 78)
130 Include the field tags in the generated .pb.h file.
131 Add pb_decode_delimited and pb_encode_delimited wrapper functions (issue 74)
132 Add a section in top of pb.h for changing compilation settings (issue 76)
133 Documentation improvements (issues 12, 77 and others)
136 nanopb-0.2.1 (2013-04-14)
137 NOTE: The default callback function signature has changed.
138 If you don't want to update your code, define PB_OLD_CALLBACK_STYLE.
140 Change the callback function to use void** (issue 69)
141 Add support for defining the nanopb options in a separate file (issue 12)
142 Add support for packed structs in IAR and MSVC (in addition to GCC) (issue 66)
143 Implement error message support for the encoder side (issue 7)
144 Handle unterminated strings when encoding (issue 68)
145 Fix bug with empty strings in repeated string callbacks (issue 73)
146 Fix regression in 0.2.0 with optional callback fields (issue 70)
147 Fix bugs with empty message types (issues 64, 65)
148 Fix some compiler warnings on clang (issue 67)
149 Some portability improvements (issues 60, 62)
150 Various new generator options
153 nanopb-0.2.0 (2013-03-02)
154 NOTE: This release requires you to regenerate all .pb.c
155 files. Files generated by older versions will not
158 Reformat generated .pb.c files using macros (issue 58)
159 Rename PB_HTYPE_ARRAY -> PB_HTYPE_REPEATED
160 Separate PB_HTYPE to PB_ATYPE and PB_HTYPE
161 Move STATIC_ASSERTs to .pb.c file
162 Added CMake file (by Pavel Ilin)
163 Add option to give file extension to generator (by Michael Haberler)
164 Documentation updates
166 nanopb-0.1.9 (2013-02-13)
167 Fixed error message bugs (issues 52, 56)
168 Sanitize #ifndef filename (issue 50)
169 Performance improvements
170 Add compile-time option PB_BUFFER_ONLY
171 Add Java package name to nanopb.proto
172 Check for sizeof(double) == 8 (issue 54)
173 Added generator option to ignore some fields. (issue 51)
174 Added generator option to make message structs packed. (issue 49)
177 nanopb-0.1.8 (2012-12-13)
178 Fix bugs in the enum short names introduced in 0.1.7 (issues 42, 43)
179 Fix STATIC_ASSERT macro when using multiple .proto files. (issue 41)
180 Fix missing initialization of istream.errmsg
181 Make tests/Makefile work for non-gcc compilers (issue 40)
183 nanopb-0.1.7 (2012-11-11)
184 Remove "skip" mode from pb_istream_t callbacks. Example implementation had a bug. (issue 37)
185 Add option to use shorter names for enum values (issue 38)
186 Improve options support in generator (issues 12, 30)
187 Add nanopb version number to generated files (issue 36)
188 Add extern "C" to generated headers (issue 35)
189 Add names for structs to allow forward declaration (issue 39)
190 Add buffer size check in example (issue 34)
191 Fix build warnings on MS compilers (issue 33)
193 nanopb-0.1.6 (2012-09-02)
194 Reorganize the field decoder interface (issue 2)
195 Improve performance in submessage decoding (issue 28)
196 Implement error messages in the decoder side (issue 7)
197 Extended testcases (alltypes test is now complete).
198 Fix some compiler warnings (issues 25, 26, 27, 32).
200 nanopb-0.1.5 (2012-08-04)
201 Fix bug in decoder with packed arrays (issue 23).
203 Fix some compiler warnings.
205 nanopb-0.1.4 (2012-07-05)
206 Add compile-time options for easy-to-use >255 field support.
207 Improve the detection of missing required fields.
208 Added example on how to handle union messages.
209 Fix generator error with .proto without messages.
210 Fix problems that stopped the code from compiling with some compilers.
211 Fix some compiler warnings.
213 nanopb-0.1.3 (2012-06-12)
214 Refactor the field encoder interface.
215 Improve generator error messages (issue 5)
216 Add descriptor.proto into the #include exclusion list
217 Fix some compiler warnings.
219 nanopb-0.1.2 (2012-02-15)
220 Make the generator to generate include for other .proto files (issue 4).
221 Fixed generator not working on Windows (issue 3)
223 nanopb-0.1.1 (2012-01-14)
224 Fixed bug in encoder with 'bytes' fields (issue 1).
225 Fixed a bug in the generator that caused a compiler error on sfixed32 and sfixed64 fields.
228 nanopb-0.1.0 (2012-01-06)
229 First stable release.