Add test case for simulated io errors.
[apps/agl-service-can-low-level.git] / CHANGELOG.txt
1 nanopb-0.3.0 (2014-08-26)
2  NOTE: See docs/migration.html or online at
3  http://koti.kapsi.fi/~jpa/nanopb/docs/migration.html
4  for changes in this version. Most importantly, you need to add
5  pb_common.c to the list of files to compile.
6
7  Separated field iterator logic to pb_common.c (issue 128)
8  Change the _count fields to use pb_size_t datatype (issue 82)
9  Added PB_ prefix to macro names (issue 106)
10  Added #if version guard to generated files (issue 129)
11  Added migration document
12
13 nanopb-0.2.9 (2014-08-09)
14  NOTE: If you are using the -e option with the generator, you have
15  to prepend . to the argument to get the same behaviour as before.
16
17  Do not automatically add a dot with generator -e option. (issue 122)
18  Fix problem with .options file and extension fields. (issue 125)
19  Don't use SIZE_MAX macro, as it is not in C89. (issue 120)
20  Generate #defines for initializing message structures. (issue 79)
21  Add skip_message option to generator. (issue 121)
22  Add PB_PACKED_STRUCT support for Keil MDK-ARM toolchain (issue 119)
23  Give better messages about the .options file path. (issue 124)
24  Improved tests
25
26 nanopb-0.2.8 (2014-05-20)
27  Fix security issue with PB_ENABLE_MALLOC. (issue 117)
28  Add option to not add timestamps to .pb.h and .pb.c preambles. (issue 115)
29  Documentation updates
30  Improved tests
31
32 nanopb-0.2.7 (2014-04-07)
33  Fix bug with default values for extension fields (issue 111)
34  Fix some MISRA-C warnings (issue 91)
35  Implemented optional malloc() support (issue 80)
36  Changed pointer-type bytes field datatype
37  Add a "found" field to pb_extension_t (issue 112)
38  Add convenience function pb_get_encoded_size() (issue 16)
39
40 nanopb-0.2.6 (2014-02-15)
41  Fix generator error with bytes callback fields (issue 99)
42  Fix warnings about large integer constants (issue 102)
43  Add comments to where STATIC_ASSERT is used (issue 96)
44  Add warning about unknown field names on .options (issue 105)
45  Move descriptor.proto to google/protobuf subdirectory (issue 104)
46  Improved tests
47
48 nanopb-0.2.5 (2014-01-01)
49  Fix a bug with encoding negative values in int32 fields (issue 97)
50  Create binary packages of the generator + dependencies (issue 47)
51  Add support for pointer-type fields to the encoder (part of issue 80)
52  Fixed path in FindNanopb.cmake (issue 94)
53  Improved tests
54
55 nanopb-0.2.4 (2013-11-07)
56  Remove the deprecated NANOPB_INTERNALS functions from public API.
57  Document the security model.
58  Check array and bytes max sizes when encoding (issue 90)
59  Add #defines for maximum encoded message size (issue 89)
60  Add #define tags for extension fields (issue 93)
61  Fix MISRA C violations (issue 91)
62  Clean up pb_field_t definition with typedefs.
63
64 nanopb-0.2.3 (2013-09-18)
65  Improve compatibility by removing ternary operator from initializations (issue 88)
66  Fix build error on Visual C++ (issue 84, patch by Markus Schwarzenberg)
67  Don't stop on unsupported extension fields (issue 83)
68  Add an example pb_syshdr.h file for non-C99 compilers
69  Reorganize tests and examples into subfolders (issue 63)
70  Switch from Makefiles to scons for building the tests
71  Make the tests buildable on Windows
72
73 nanopb-0.2.2 (2013-08-18)
74  Add support for extension fields (issue 17)
75  Fix unknown fields in empty message (issue 78)
76  Include the field tags in the generated .pb.h file.
77  Add pb_decode_delimited and pb_encode_delimited wrapper functions (issue 74)
78  Add a section in top of pb.h for changing compilation settings (issue 76)
79  Documentation improvements (issues 12, 77 and others)
80  Improved tests
81
82 nanopb-0.2.1 (2013-04-14)
83  NOTE: The default callback function signature has changed.
84        If you don't want to update your code, define PB_OLD_CALLBACK_STYLE.
85  
86  Change the callback function to use void** (issue 69)
87  Add support for defining the nanopb options in a separate file (issue 12)
88  Add support for packed structs in IAR and MSVC (in addition to GCC) (issue 66)
89  Implement error message support for the encoder side (issue 7)
90  Handle unterminated strings when encoding (issue 68)
91  Fix bug with empty strings in repeated string callbacks (issue 73)
92  Fix regression in 0.2.0 with optional callback fields (issue 70)
93  Fix bugs with empty message types (issues 64, 65)
94  Fix some compiler warnings on clang (issue 67)
95  Some portability improvements (issues 60, 62)
96  Various new generator options
97  Improved tests
98
99 nanopb-0.2.0 (2013-03-02)
100  NOTE: This release requires you to regenerate all .pb.c
101        files. Files generated by older versions will not
102        compile anymore.
103
104  Reformat generated .pb.c files using macros (issue 58)
105  Rename PB_HTYPE_ARRAY -> PB_HTYPE_REPEATED
106  Separate PB_HTYPE to PB_ATYPE and PB_HTYPE
107  Move STATIC_ASSERTs to .pb.c file
108  Added CMake file (by Pavel Ilin)
109  Add option to give file extension to generator (by Michael Haberler)
110  Documentation updates
111
112 nanopb-0.1.9 (2013-02-13)
113  Fixed error message bugs (issues 52, 56)
114  Sanitize #ifndef filename (issue 50)
115  Performance improvements
116  Add compile-time option PB_BUFFER_ONLY
117  Add Java package name to nanopb.proto
118  Check for sizeof(double) == 8 (issue 54)
119  Added generator option to ignore some fields. (issue 51)
120  Added generator option to make message structs packed. (issue 49)
121  Add more test cases.
122
123 nanopb-0.1.8 (2012-12-13)
124  Fix bugs in the enum short names introduced in 0.1.7 (issues 42, 43)
125  Fix STATIC_ASSERT macro when using multiple .proto files. (issue 41)
126  Fix missing initialization of istream.errmsg
127  Make tests/Makefile work for non-gcc compilers (issue 40)
128
129 nanopb-0.1.7 (2012-11-11)
130  Remove "skip" mode from pb_istream_t callbacks. Example implementation had a bug. (issue 37)
131  Add option to use shorter names for enum values (issue 38)
132  Improve options support in generator (issues 12, 30)
133  Add nanopb version number to generated files (issue 36)
134  Add extern "C" to generated headers (issue 35)
135  Add names for structs to allow forward declaration (issue 39)
136  Add buffer size check in example (issue 34)
137  Fix build warnings on MS compilers (issue 33)
138
139 nanopb-0.1.6 (2012-09-02)
140  Reorganize the field decoder interface (issue 2)
141  Improve performance in submessage decoding (issue 28)
142  Implement error messages in the decoder side (issue 7)
143  Extended testcases (alltypes test is now complete).
144  Fix some compiler warnings (issues 25, 26, 27, 32).
145
146 nanopb-0.1.5 (2012-08-04)
147  Fix bug in decoder with packed arrays (issue 23).
148  Extended testcases.
149  Fix some compiler warnings.
150
151 nanopb-0.1.4 (2012-07-05)
152  Add compile-time options for easy-to-use >255 field support.
153  Improve the detection of missing required fields.
154  Added example on how to handle union messages.
155  Fix generator error with .proto without messages.
156  Fix problems that stopped the code from compiling with some compilers.
157  Fix some compiler warnings.
158
159 nanopb-0.1.3 (2012-06-12)
160  Refactor the field encoder interface.
161  Improve generator error messages (issue 5)
162  Add descriptor.proto into the #include exclusion list
163  Fix some compiler warnings.
164
165 nanopb-0.1.2 (2012-02-15)
166  Make the generator to generate include for other .proto files (issue 4).
167  Fixed generator not working on Windows (issue 3)
168
169 nanopb-0.1.1 (2012-01-14)
170  Fixed bug in encoder with 'bytes' fields (issue 1).
171  Fixed a bug in the generator that caused a compiler error on sfixed32 and sfixed64 fields.
172  Extended testcases.
173
174 nanopb-0.1.0 (2012-01-06)
175  First stable release.