CHANGELOG.txt 26 KB

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