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