2
0

CHANGELOG.txt 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522
  1. nanopb-0.4.5 (2021-03-22)
  2. Fix invalid free() with oneof (#647, GHSA-7mv5-5mxh-qg88)
  3. Fix unordered field numbers inside oneof causing fields to be ignored (#617)
  4. Fix pb_decode() not initializing fields inside oneof (#635
  5. Fix compiler errors with complex oneof hierarchy and sizeof() (#610)
  6. Fix descriptor width calculation for 64-bit types (#644)
  7. Fix compiler error in generated initializer for submessage callback (#631)
  8. Fix duplicate union definition in generated file (#637)
  9. Fix test case build error on SCons 4.1.0
  10. Pip package: include nanopb_pb2.py (#629)
  11. Make generator consider dependencies recursively (#610)
  12. Bazel build system updates (#633)
  13. Add support for including comments from .proto file (#85, #645)
  14. nanopb-0.4.4 (2020-11-25)
  15. Fix memory leak with oneofs and PB_ENABLE_MALLOC (#615, GHSA-85rr-4rh9-hhwh)
  16. Fix generator error when oneof contains a single unresolved field size (#610)
  17. Fix unsigned enums not working correctly inside OneOf (#611)
  18. Fix recursion depth exceeded error in generator (#493)
  19. Add '--version' option to nanopb_generator.py (#607)
  20. Add support for proto3 optional fields introduced in protoc 3.12 (#591)
  21. Add better error message when enum type is not found (#592)
  22. Allow specifying descriptorsize on field level also (#546)
  23. Allow multiple targets to be created by calling NANOPB_GENERATE_CPP() (#596)
  24. Conanfile: Add protobuf-nanopb library to cpp_info.libs (#605)
  25. Include version number in generator verbose output
  26. Convert documentation to markdown format (#587)
  27. Remove outdated transitional generator/nanopb/options.proto.
  28. Test case improvements
  29. Documentation improvements
  30. nanopb-0.4.3 (2020-09-21)
  31. Fix generator error when output is in current directory (#553)
  32. Fix issue with unknown message sizes being referred inside oneof encoded size calculation (#569)
  33. Fix problem with [default=xxxx, (nanopb).proto3=true] field option combination (#558)
  34. Fix cross compilation with Conan build system (#568)
  35. Better support C++ types in generated structs (#577)
  36. CMake rule improvements (#554, #555, #556, #561, #564)
  37. Generator: fix compatibility bug with Python 3.1 and earlier
  38. Make Linux and Mac packages use grpcio protoc
  39. Make pb_decode_varint32() reject overlong varint encodings.
  40. Performance optimizations
  41. Test case improvements
  42. Documentation improvements
  43. NOTE: version 0.4.3 changes layout of pb_msgdesc_t. It requires recompiling .pb.c files and
  44. thus breaks ABI compatibility. In general, ABI compatibility is not currently maintained
  45. between any nanopb versions.
  46. NOTE: There was an apparent false positive virus identification by Windows Defender of the
  47. PyInstaller 3.6 based Windows package nanopb-0.4.3-windows-x86.zip. The package was replaced
  48. by nanopb-0.4.3-p1-windows-x86.zip with rebuilt PyInstaller 4.0, which seems to avoid the problem.
  49. Actual nanopb code is unchanged between the packages.
  50. nanopb-0.4.2 (2020-06-23)
  51. Fix buffer overflow when encoding bytes with size set to 65535 (#547, GHSA-3p39-mfxg-hrq4)
  52. Fix segfault with pointer fields and proto3_singular_msgs = true. (#504,#505)
  53. Fix Windows 10 temp file handling (#486)
  54. Fix macro name conflicts (ATMEGA32U4 UENUM and more) (#522)
  55. Fix generator error with nested messages and default values (#487)
  56. Fix nanopb_generator exception on enums with aliases (#535)
  57. Fix compile error when struct members are called X or a (#492)
  58. Fix sizeof(union ...) fallback not compiling with C++ (#415, #494)
  59. Fix "missing required field" error with submessage callback (#544)
  60. Fix field descriptor sizing with submsg_callback option (#545)
  61. Fix protoc calling on Python 2 (#503)
  62. Fix handling of varying NaN representations in PB_CONVERT_DOUBLE_FLOAT (#543)
  63. Fix clang undefined behavior sanitizer errors.
  64. Change generator to use Python 3 by default (#441, #509)
  65. Binary packages updated to use Python 3 and grpcio-tools
  66. Add support for infinity and nan floating-point defaults (#530, #538)
  67. Add generator option sort_by_tag (#542)
  68. Add type_override option to override type defined in .proto (#497)
  69. Set proto2 enum fields to first value when no default is given, even if nonzero (#532,#539)
  70. Include protoc-gen-nanopb in path in protoc wrapper script
  71. Properly pass error status from protoc wrapper when calling binary protoc
  72. Generator: pass --include_imports when calling protoc (#494)
  73. Create intermediate directories when writing files to relative path (#512)
  74. Add current directory to include path for protoc (#499)
  75. Update readme to use nanopb_generator.py directly
  76. Regression test for proto3 incorrectly considered empty (#504)
  77. CMake: change package name to Nanopb for cmake 3.17 compatibility (#506)
  78. CMake: remove find_package(PythonInterp) (#508)
  79. CMake: use split --nanopb_opt only on protoc >= 3.6 (#515)
  80. CMake: Relax python version spec, allowing Python3. (#534)
  81. Swift package manager (#549)
  82. Rename BUILD as BUILD.bazel (#537)
  83. Note: Windows binary packages in 0.4.2 and later require Windows 7 or newer.
  84. nanopb-0.4.1 (2020-02-02)
  85. Fix invalid free() after failed realloc() (GHSA-gcx3-7m76-287p)
  86. Avoid overflows in allocation for packed fields.
  87. Verify stream size before allocating string / bytes.
  88. Add workaround for avr-libc realloc() bug (#475)
  89. Fix bug with field numbers >255 (#407)
  90. Fix compilation error on platforms without uint8_t (#485)
  91. Fix warnings on Python3.8 (#399, #467)
  92. Make fixed_count option work when combined with FT_POINTER.
  93. Add missing #define for submsg callbacks, add regression test (#472)
  94. Fix ImportError when using generator/protoc with Python 3
  95. Remove accidental debug code in generator
  96. Reduce stack usage (#484)
  97. Remove PB_FIELDINFO_WIDTH option (#473)
  98. Add nanopb-specific package name option (#422)
  99. Add testcase for Any type (#163)
  100. Add exclude option also from .proto/.options
  101. Set default include path in the grpc_tools protoc wrapper.
  102. Add workaround for python-protobuf 3.6.1 bug (#478)
  103. Detect invalid wire type when decoding fields.
  104. Improved fuzz testing
  105. nanopb-0.4.0 (2019-12-20)
  106. New field descriptor format.
  107. Make nanopb_generator automatically compile .proto files (#462)
  108. Allow installing as Python package from pip (#460)
  109. Use protoc from grpcio-tools Python package if available (#463)
  110. Change proto3 message types to be optional (#308, #452)
  111. Add pb_decode_ex(), pb_encode_ex() functions.
  112. Automatically rebuild nanopb_pb2.py
  113. Use plugin.proto that comes with python-protobuf (#234)
  114. Allow specifying a per-message callback. (#175)
  115. Improve callback handling inside oneofs. (#175)
  116. Introduce new compile time flag: PB_VALIDATE_UTF8 (#437)
  117. Add TypenameMangling.M_PACKAGE_INITIALS (#394)
  118. Introduce new compile time flag: PB_ENCODE_ARRAYS_UNPACKED (#427)
  119. Add default_has option (#423)
  120. Add option for including extra files from .pb.h
  121. Add generator option to error out on unmatched options (#458)
  122. Generator: Allow comma separated options in plugin mode (#343)
  123. Allow comma-separated option parsing to handle `#include` (#450)
  124. Remove timestamp from generated files by default, add -t to keep it.
  125. Make --no-strip-path default (#326)
  126. Fix .options file case sensitivity on Windows.
  127. Fix generator error with mangle_names option (#380)
  128. Take int_size setting into account in calculating message sizes (#373)
  129. .gitignore: don't ignore generator-bin files (#419)
  130. Cleanup .pb.h header format
  131. Make tests run on AVR and STM32
  132. Add PB_CONVERT_DOUBLE_FLOAT setting to convert doubles on AVR.
  133. Store field descriptor constants in flash on AVR (#464)
  134. Added "f" suffix to const float declarations. (#453)
  135. Fix clang-tidy warnings about using signed integers in binary bitwise operations (#451)
  136. Add C++ message descriptors helper (#384)
  137. Implement conan recipe (#378)
  138. CMake: Split nanopb_out command (#454)
  139. CMake: install created shared library(dll) in windows to the binary folder (#447)
  140. nanopb-0.3.9.8 (2021-03-22)
  141. Fix invalid free() with oneof (#647, GHSA-7mv5-5mxh-qg88)
  142. Don't generate lines with trailing spaces (#622)
  143. Verify stream size before allocating string / bytes (#620)
  144. nanopb-0.3.9.7 (2020-11-25)
  145. Fix memory leak with oneofs and PB_ENABLE_MALLOC (#615, GHSA-85rr-4rh9-hhwh)
  146. Fix unsigned enums not working correctly inside OneOf (#611)
  147. Add '--version' option to nanopb_generator.py (#607)
  148. SwiftPM rule updates (#567, #585)
  149. nanopb-0.3.9.6 (2020-06-23)
  150. Fix buffer overflow when encoding bytes with size set to 65535 (#547, GHSA-3p39-mfxg-hrq4)
  151. Fix proto3 submessage improperly considered empty (#504)
  152. Fix ImportError when using generator/protoc with Python 3
  153. Add build rules for Swift package manager (#549)
  154. nanopb-0.3.9.5 (2020-02-02)
  155. Fix invalid free() after failed realloc() (GHSA-gcx3-7m76-287p)
  156. Add workaround for avr-libc realloc() bug (#475)
  157. Fix empty submessages getting encoded in proto3 mode (#395)
  158. Avoid overflows in allocation for packed fields.
  159. nanopb-0.3.9.4 (2019-10-13)
  160. Fix undefined behavior with bool fields (#434)
  161. Fix enum min/max defines when values are not in order (#405)
  162. Fix network_server socket example with zero-length strings (#421)
  163. Don't call stream read callback with count=0 (#421)
  164. Add compile time flag PB_ENCODE_ARRAYS_UNPACKED (#427)
  165. nanopb-0.3.9.3 (2019-03-08)
  166. NOTE: nanopb-0.3.9.3.tar.gz before 2019-03-21 was accidentally from 0.4 branch (#388)
  167. Fix fixed size and callback repeated fields inside proto3 submessages (#376, #382, #386)
  168. Fix incorrect PB_STATIC_ASSERT for bytes inside oneof (#363)
  169. Fix generator error with mangle_names option (#380)
  170. Generator: Allow comma separated options in plugin mode (#343)
  171. nanopb-0.3.9.2 (2018-11-10)
  172. Erroneous free() when using callbacks combined with PB_ENABLE_MALLOC (#346)
  173. Fix possible null-pointer dereference in decode_callback_field (#342)
  174. Fix FindNanopb.cmake on Windows (#335)
  175. Fix large generator memory usage with oneof fields (#338)
  176. Fix error in splint test (#359)
  177. Allow cmake to build as a shared library (#352, #353)
  178. Add --no-strip-path command line option (#326)
  179. Option for flattening nested protobuf names (#333)
  180. Documentation fixes (#329, #350, #358)
  181. Better error messages (#351)
  182. nanopb-0.3.9.1 (2018-04-14)
  183. Fix handling of special characters in string/bytes default values (issue #322)
  184. Fix encoding of negative numbers with PB_WITHOUT_64BIT (#285)
  185. Fix _zero initializer for enums that don't begin at 0. (#295)
  186. Multiple CMake fixes (#296, #299, #304, #312, #320)
  187. Fix compiler warnings (#305)
  188. Fix scons rules for Python 3
  189. Add check for large extension field number (issue #306)
  190. Updated included descriptor.proto version (#314)
  191. Resolve oneof sizes symbolically when needed (#311)
  192. Add fixed_count option (#260)
  193. Add some verbose prints in generator (issue #238)
  194. Add test/example of using 'map' type. (#289)
  195. nanopb-0.3.9 (2017-09-23)
  196. Fix bugs in proto3 encoding of submessages (#256)
  197. Fix message size calculation for arrays of size 1 (#253)
  198. Fix segfault with FT_CALLBACK inside FT_POINTER (#259)
  199. Properly detect truncated tags in corrupted messages (#277)
  200. Make pb_decode_varint32 overflow checks exact (#258)
  201. Add option to build without 64-bit support (#86)
  202. Add options to define source and header file extensions (#264)
  203. Add pb_en/decode_nullterminated() (part of #278)
  204. Add pb_decode_delimited_noinit (#284)
  205. CMake: add dependency for .options file (#265)
  206. CMake: change use of relative paths (#250,#271,#273)
  207. Better error message for missing max_size option (#281)
  208. Travis-CI build fixes (#283)
  209. Add Bazel build system file (#266)
  210. nanopb-0.3.8 (2017-03-05)
  211. Fix problems with multiple oneofs in same message (#229)
  212. Zero-valued extension fields were mistakenly ignored by encoder (#242)
  213. Multiple fixes related to proto3 mode (#242, #245, #247, #249)
  214. Fix potential unaligned access (#226, #227)
  215. Fix documentation for protoc --plugin argument (#239)
  216. Extend inline / fixed length bytes array support (#244)
  217. Add new option max_length for strings (#107)
  218. Make string substream API more robust (#230)
  219. Make pb_decode_varint32 public API (#231)
  220. Allow overriding proto3 mode (#228)
  221. Add optional enum->string mapping function (#223)
  222. Add transitional options.proto file (#241)
  223. Add better error message on Python library version incompatibility (#240)
  224. Include version number in PlatformIO library.json (#222)
  225. CMake build script changes (#236, #237)
  226. Change download links to https
  227. Improvements to test cases.
  228. nanopb-0.3.7 (2016-10-30)
  229. Add support for proto3-style singular fields (#182, #206, #216)
  230. Updated binary package protoc to version 3.1.0
  231. Add FT_INLINE allocation of bytes fields (#211)
  232. Include package name in include guard (#207)
  233. Fix missing warning with large bytes fields (issue #220)
  234. Added CMake project (#208)
  235. Add bazel BUILD file for nanopb (#209)
  236. Added an AUTHORS file (#211)
  237. Documentation updates
  238. Improvements to test cases.
  239. nanopb-0.3.6 (2016-06-19)
  240. Protect against corrupted _count fields in pb_release (#205)
  241. Fix error in STATIC_ASSERT with multiple files (#203)
  242. Add -D option to specify output directory (#193)
  243. Generate MIN/MAX/ARRAYSIZE defines for enums (#194)
  244. Generate comments about uncalculable message sizes (#195)
  245. Documentation updates (#196, #201)
  246. Improvements to test cases.
  247. nanopb-0.3.5 (2016-02-13)
  248. NOTE: If you are using pb_syshdr.h, you will need to add uint_least8_t
  249. definition. See docs/migration.rst for details.
  250. Fix generator crash with Enum inside Oneof (#188)
  251. Fix some generator regressions related to .options file path (#172)
  252. Add support for platforms without uint8_t (#191)
  253. Allow const parameter to pb_istream_from_buffer (#152)
  254. Ignore null pointers in pb_release() (#183)
  255. Add support for anonymous unions (#184)
  256. Add Python3 support to the generator (#169)
  257. Add code generator insertion points to generated files (#178)
  258. Improvements to CMake script (#181)
  259. Improvements to test cases.
  260. nanopb-0.3.4 (2015-09-26)
  261. Fix handling of unsigned 8- and 16-bit enums (issue 164)
  262. Fix generator on systems where python = python3. (issue 155)
  263. Fix compiler warning on GCC 5.x (issue 171)
  264. Make the generator better handle imported .protos (issue 165)
  265. Add packed_enum option to generator.
  266. Add syntax= line to .proto files (issue 167)
  267. Add PlatformIO registry manifest file. (pr 156)
  268. nanopb-0.3.3 (2015-04-10)
  269. Fix missing files in Linux binary package (issue 146)
  270. Fix generator bug when oneof is first field in a message. (issue 142)
  271. Fix generator error when long_names:false is combined with Oneofs. (issue 147)
  272. Fix oneof submessage initialization bug. (issue 149)
  273. Fix problem with plugin options on Python 2.7.2 and older. (issue 153)
  274. Fix crash when callback is inside oneof field. (issue 148)
  275. Switch to .tar.gz format for Mac OS X packages. (issue 154)
  276. Always define enum long names so that cross-file references work. (issue 118)
  277. Add msgid generator option. (issue 151)
  278. Improve comment support in .options files. (issue 145)
  279. Updates for the CMake rule file, add cmake example.
  280. Better error messages for syntax errors in .options file
  281. nanopb-0.3.2 (2015-01-24)
  282. Fix memory leaks with PB_ENABLE_MALLOC with some submessage hierarchies (issue 138)
  283. Implement support for oneofs (C unions). (issues 131, 141)
  284. Add int_size option for generator (issue 139)
  285. Add compilation option to disable struct packing. (issue 136)
  286. Change PB_RETURN_ERROR() macro to avoid compiler warnings (issue 140)
  287. Fix build problems with protoc 3.0.0
  288. Add support for POINTER type in extensions
  289. Initialize also extension fields to defaults in pb_decode().
  290. Detect too large varint values when decoding.
  291. nanopb-0.3.1 (2014-09-11)
  292. Fix security issue due to size_t overflows. (issue 132)
  293. Fix memory leak with duplicated fields and PB_ENABLE_MALLOC
  294. Fix crash if pb_release() is called twice.
  295. Fix cyclic message support (issue 130)
  296. Fix error in generated initializers for repeated pointer fields.
  297. Improve tests (issues 113, 126)
  298. nanopb-0.3.0 (2014-08-26)
  299. NOTE: See docs/migration.html or online at
  300. http://koti.kapsi.fi/~jpa/nanopb/docs/migration.html
  301. for changes in this version. Most importantly, you need to add
  302. pb_common.c to the list of files to compile.
  303. Separated field iterator logic to pb_common.c (issue 128)
  304. Change the _count fields to use pb_size_t datatype (issue 82)
  305. Added PB_ prefix to macro names (issue 106)
  306. Added #if version guard to generated files (issue 129)
  307. Added migration document
  308. nanopb-0.2.9.5 (2020-06-23)
  309. Fix buffer overflow when encoding bytes with size set to 65535 (#547, GHSA-3p39-mfxg-hrq4)
  310. Backport Python 3 and protoc 3.x fixes to test cases
  311. nanopb-0.2.9.4 (2020-02-02)
  312. Fix invalid free() after failed realloc() (GHSA-gcx3-7m76-287p)
  313. Add workaround for avr-libc realloc() bug (#475)
  314. nanopb-0.2.9.3 (2016-06-19)
  315. Protect against corrupted _count fields in pb_release (#205)
  316. nanopb-0.2.9.2 (2015-01-24)
  317. Fix memory leaks with PB_ENABLE_MALLOC with some submessage hierarchies (issue 138)
  318. Fix compilation error with generated initializers for repeated pointer fields
  319. nanopb-0.2.9.1 (2014-09-11)
  320. Fix security issue due to size_t overflows. (issue 132)
  321. Fix memory leak with duplicated fields and PB_ENABLE_MALLOC
  322. Fix crash if pb_release() is called twice.
  323. nanopb-0.2.9 (2014-08-09)
  324. NOTE: If you are using the -e option with the generator, you have
  325. to prepend . to the argument to get the same behaviour as before.
  326. Do not automatically add a dot with generator -e option. (issue 122)
  327. Fix problem with .options file and extension fields. (issue 125)
  328. Don't use SIZE_MAX macro, as it is not in C89. (issue 120)
  329. Generate #defines for initializing message structures. (issue 79)
  330. Add skip_message option to generator. (issue 121)
  331. Add PB_PACKED_STRUCT support for Keil MDK-ARM toolchain (issue 119)
  332. Give better messages about the .options file path. (issue 124)
  333. Improved tests
  334. nanopb-0.2.8 (2014-05-20)
  335. Fix security issue with PB_ENABLE_MALLOC. (issue 117)
  336. Add option to not add timestamps to .pb.h and .pb.c preambles. (issue 115)
  337. Documentation updates
  338. Improved tests
  339. nanopb-0.2.7 (2014-04-07)
  340. Fix bug with default values for extension fields (issue 111)
  341. Fix some MISRA-C warnings (issue 91)
  342. Implemented optional malloc() support (issue 80)
  343. Changed pointer-type bytes field datatype
  344. Add a "found" field to pb_extension_t (issue 112)
  345. Add convenience function pb_get_encoded_size() (issue 16)
  346. nanopb-0.2.6 (2014-02-15)
  347. Fix generator error with bytes callback fields (issue 99)
  348. Fix warnings about large integer constants (issue 102)
  349. Add comments to where STATIC_ASSERT is used (issue 96)
  350. Add warning about unknown field names on .options (issue 105)
  351. Move descriptor.proto to google/protobuf subdirectory (issue 104)
  352. Improved tests
  353. nanopb-0.2.5 (2014-01-01)
  354. Fix a bug with encoding negative values in int32 fields (issue 97)
  355. Create binary packages of the generator + dependencies (issue 47)
  356. Add support for pointer-type fields to the encoder (part of issue 80)
  357. Fixed path in FindNanopb.cmake (issue 94)
  358. Improved tests
  359. nanopb-0.2.4 (2013-11-07)
  360. Remove the deprecated NANOPB_INTERNALS functions from public API.
  361. Document the security model.
  362. Check array and bytes max sizes when encoding (issue 90)
  363. Add #defines for maximum encoded message size (issue 89)
  364. Add #define tags for extension fields (issue 93)
  365. Fix MISRA C violations (issue 91)
  366. Clean up pb_field_t definition with typedefs.
  367. nanopb-0.2.3 (2013-09-18)
  368. Improve compatibility by removing ternary operator from initializations (issue 88)
  369. Fix build error on Visual C++ (issue 84, patch by Markus Schwarzenberg)
  370. Don't stop on unsupported extension fields (issue 83)
  371. Add an example pb_syshdr.h file for non-C99 compilers
  372. Reorganize tests and examples into subfolders (issue 63)
  373. Switch from Makefiles to scons for building the tests
  374. Make the tests buildable on Windows
  375. nanopb-0.2.2 (2013-08-18)
  376. Add support for extension fields (issue 17)
  377. Fix unknown fields in empty message (issue 78)
  378. Include the field tags in the generated .pb.h file.
  379. Add pb_decode_delimited and pb_encode_delimited wrapper functions (issue 74)
  380. Add a section in top of pb.h for changing compilation settings (issue 76)
  381. Documentation improvements (issues 12, 77 and others)
  382. Improved tests
  383. nanopb-0.2.1 (2013-04-14)
  384. NOTE: The default callback function signature has changed.
  385. If you don't want to update your code, define PB_OLD_CALLBACK_STYLE.
  386. Change the callback function to use void** (issue 69)
  387. Add support for defining the nanopb options in a separate file (issue 12)
  388. Add support for packed structs in IAR and MSVC (in addition to GCC) (issue 66)
  389. Implement error message support for the encoder side (issue 7)
  390. Handle unterminated strings when encoding (issue 68)
  391. Fix bug with empty strings in repeated string callbacks (issue 73)
  392. Fix regression in 0.2.0 with optional callback fields (issue 70)
  393. Fix bugs with empty message types (issues 64, 65)
  394. Fix some compiler warnings on clang (issue 67)
  395. Some portability improvements (issues 60, 62)
  396. Various new generator options
  397. Improved tests
  398. nanopb-0.2.0 (2013-03-02)
  399. NOTE: This release requires you to regenerate all .pb.c
  400. files. Files generated by older versions will not
  401. compile anymore.
  402. Reformat generated .pb.c files using macros (issue 58)
  403. Rename PB_HTYPE_ARRAY -> PB_HTYPE_REPEATED
  404. Separate PB_HTYPE to PB_ATYPE and PB_HTYPE
  405. Move STATIC_ASSERTs to .pb.c file
  406. Added CMake file (by Pavel Ilin)
  407. Add option to give file extension to generator (by Michael Haberler)
  408. Documentation updates
  409. nanopb-0.1.9 (2013-02-13)
  410. Fixed error message bugs (issues 52, 56)
  411. Sanitize #ifndef filename (issue 50)
  412. Performance improvements
  413. Add compile-time option PB_BUFFER_ONLY
  414. Add Java package name to nanopb.proto
  415. Check for sizeof(double) == 8 (issue 54)
  416. Added generator option to ignore some fields. (issue 51)
  417. Added generator option to make message structs packed. (issue 49)
  418. Add more test cases.
  419. nanopb-0.1.8 (2012-12-13)
  420. Fix bugs in the enum short names introduced in 0.1.7 (issues 42, 43)
  421. Fix STATIC_ASSERT macro when using multiple .proto files. (issue 41)
  422. Fix missing initialization of istream.errmsg
  423. Make tests/Makefile work for non-gcc compilers (issue 40)
  424. nanopb-0.1.7 (2012-11-11)
  425. Remove "skip" mode from pb_istream_t callbacks. Example implementation had a bug. (issue 37)
  426. Add option to use shorter names for enum values (issue 38)
  427. Improve options support in generator (issues 12, 30)
  428. Add nanopb version number to generated files (issue 36)
  429. Add extern "C" to generated headers (issue 35)
  430. Add names for structs to allow forward declaration (issue 39)
  431. Add buffer size check in example (issue 34)
  432. Fix build warnings on MS compilers (issue 33)
  433. nanopb-0.1.6 (2012-09-02)
  434. Reorganize the field decoder interface (issue 2)
  435. Improve performance in submessage decoding (issue 28)
  436. Implement error messages in the decoder side (issue 7)
  437. Extended testcases (alltypes test is now complete).
  438. Fix some compiler warnings (issues 25, 26, 27, 32).
  439. nanopb-0.1.5 (2012-08-04)
  440. Fix bug in decoder with packed arrays (issue 23).
  441. Extended testcases.
  442. Fix some compiler warnings.
  443. nanopb-0.1.4 (2012-07-05)
  444. Add compile-time options for easy-to-use >255 field support.
  445. Improve the detection of missing required fields.
  446. Added example on how to handle union messages.
  447. Fix generator error with .proto without messages.
  448. Fix problems that stopped the code from compiling with some compilers.
  449. Fix some compiler warnings.
  450. nanopb-0.1.3 (2012-06-12)
  451. Refactor the field encoder interface.
  452. Improve generator error messages (issue 5)
  453. Add descriptor.proto into the #include exclusion list
  454. Fix some compiler warnings.
  455. nanopb-0.1.2 (2012-02-15)
  456. Make the generator to generate include for other .proto files (issue 4).
  457. Fixed generator not working on Windows (issue 3)
  458. nanopb-0.1.1 (2012-01-14)
  459. Fixed bug in encoder with 'bytes' fields (issue 1).
  460. Fixed a bug in the generator that caused a compiler error on sfixed32 and sfixed64 fields.
  461. Extended testcases.
  462. nanopb-0.1.0 (2012-01-06)
  463. First stable release.