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