Lines Matching +full:python +full:- +full:version
9 Nanopb-1.0.0 (2025-xx-xx)
10 -------------------------
12 ### Remove Python 2 support
14 **Rationale:** Python 2 interpreter was deprecated in 2020. For backward
16 Python 2 for the 0.4.x series. That has required several tricks that
19 **Changes:** Removed Python 2 support files and code hacks needed to
22 **Required actions:** Upgrade to Python 3 and ensure `python-protobuf`
25 Nanopb-0.4.9 (2024-09-19)
26 -------------------------
31 path. This was often an outdated version installed from package manager, and
32 not necessarily compatible with `python-protobuf` version installed from `pip`.
35 turn uses `grpc_tools` Python package if available. If it is not available,
39 version incompatibilities, `pip install --user --upgrade grpcio-tools protobuf`
44 versions of `protoc` selected by CMake is different than installed `python-protobuf`.
64 …hortcomings of the WORKSPACE system](https://bazel.build/external/overview#workspace-shortcomings),
79 bazel_dep(name = "nanopb", version = "0.4.9")
89 bazel_dep(name = "nanopb", version = "0.4.9", repo_name="com_github_nanopb_nanopb")
94 **Rationale:** Nanopb-0.4.7 extended `int_size` option to affect enums.
106 Nanopb-0.4.8 (2023-11-11)
107 -------------------------
111 **Rationale:** Previously `CMakeLists.txt` installed nanopb Python module under name `proto` and in…
113 **Changes:** Python module is installed as `nanopb` and include files under `/usr/include/nanopb`.
118 Include path may need adjustment if not using `nanopb-targets.cmake` to determine it.
120 **Error indications:** Include file `pb.h` not found when compiling against a system-wide installat…
122 Nanopb-0.4.7 (2022-12-11)
123 -------------------------
127 **This option was separated to `enum_intsize` in nanopb-0.4.9. This migration notice has been updat…
149 Nanopb-0.4.6 (2022-05-30)
150 -------------------------
163 **Changes:** The default options passing method now uses `--plugin-opt` which
167 `grpcio-tools` package from `pip`. If neither is possible, the
172 **Error indications:** "`protoc: Unknown flag: --nanopb_opt`"
191 Nanopb-0.4.4 (2020-11-25)
192 -------------------------
207 Nanopb-0.4.3 (2020-09-21)
208 -------------------------
223 Nanopb-0.4.2 (2020-06-23)
224 -------------------------
226 ### Generator now uses Python 3 by default
228 **Rationale:** Previously `nanopb-generator.py` had hashbang
229 of `#!/usr/bin/env python`, which would execute with Python
230 2 on most systems. Python 2 is now deprecated and many libraries are
232 While `nanopb_generator.py` has worked with Python 3 for
233 years now, and overriding the python version was possible with
238 Python 2, if necessary.
240 **Required actions:** If possible, just verify Python 3 is installed and
241 necessary dependencies are installed for it. For example `pip3 install protobuf grpcio-tools`
246 Python 3 is not installed.
247 `Could not import the Google protobuf Python libraries` if dependencies are only installed for Pyth…
249 Nanopb-0.4.0 (2019-12-20)
250 -------------------------
261 `uint32_t` array in a variable-length format. Old
267 **Required actions:** If your own code accesses the low-level field
281 **Changes:** Now default options are `--no-timestamp` and
282 `--no-strip-path`.
285 `--timestamp` and `--strip-path` options to
287 line as `--nanopb_out=--timestamp,--strip-path:outdir`.
295 **Rationale:** Google's Python protobuf library, which is used in
297 version 3.1.0. It is not necessary to bundle it with nanopb anymore.
299 **Required actions:** Update `python-protobuf` to version
304 ### .options file is now always case-sensitive
307 were case-sensitive on Linux and case-insensitive on Windows. This was
308 by accident. Because `.proto` files are case-sensitive,
312 case-sensitive, and matched by `fnmatchcase()` instead of
320 **Rationale:** To check whether the platform has 8-bit or larger chars,
332 ### Strings must now always be null-terminated
334 **Rationale:** Previously `pb_encode()` would accept non-terminated
341 accordingly so that at most `max_size-1` strings are assumed. New field
350 ### Removal of per-field default value constants
395 present only when their contents was non-zero. Most other protobuf
416 **Changes:** `PB_OLD_CALLBACK_STYLE` option no-longer has
434 `--protoc-insertion-points` option is passed to the
437 Nanopb-0.3.9.4, 0.4.0 (2019-10-13)
438 ----------------------------------
474 Nanopb-0.3.9.1, 0.4.0 (2018-04-14)
475 ----------------------------------
489 Nanopb-0.3.8 (2017-03-05)
490 -------------------------
514 version if oneofs are used.
516 Nanopb-0.3.5 (2016-02-13)
517 -------------------------
521 **Rationale:** Some platforms cannot access 8-bit sized values directly,
530 standards-compliant `stdint.h`, it may lack the definition for
536 Nanopb-0.3.2 (2015-01-24)
537 -------------------------
558 Nanopb-0.3.0 (2014-08-26)
559 -------------------------
595 other changes in the same version already require regenerating the files
604 non-conflicting names as these are rarely used from user code.
608 - Macros:
609 - STATIC_ASSERT(x) -> PB_STATIC_ASSERT(x)
610 - UNUSED(x) -> PB_UNUSED(x)
611 - Include guards:
612 - PB_filename -> PB_filename_INCLUDED
613 - Structure forward declaration tags:
614 - _pb_field_t -> pb_field_s
615 - _pb_bytes_array_t -> pb_bytes_array_s
616 - _pb_callback_t -> pb_callback_s
617 - _pb_extension_type_t -> pb_extension_type_s
618 - _pb_extension_t -> pb_extension_s
619 - _pb_istream_t -> pb_istream_s
620 - _pb_ostream_t -> pb_ostream_s
623 the above identifiers in your application code, perform search-replace
629 Nanopb-0.2.9 (2014-08-09)
630 -------------------------
632 ### Change semantics of generator -e option
635 (like in default extension .pb.c). The `-e` option to the generator
638 **Changes:** The `-e` option in generator will no longer add the
642 **Required actions:** Only if using the generator -e option. Add dot
648 Nanopb-0.2.7 (2014-04-07)
649 -------------------------
651 ### Changed pointer-type bytes field datatype
654 nanopb-0.2.5, the bytes type used a separate `pb_bytes_ptr_t` type to
656 separate, user-allocated buffer. However, it made the internal logic
662 **Required actions:** Only if using pointer-type fields with the bytes
663 datatype. Change any access to `msg->field.size` to
664 `msg->field->size`. Change any allocation to reserve space of amount
672 Nanopb-0.2.4 (2013-11-07)
673 -------------------------
678 to be non-static, even if the option is not used. This caused errors on
685 previously used. Actions are as listed under nanopb-0.1.3 and
686 nanopb-0.1.6.
691 Nanopb-0.2.1 (2013-04-14)
692 -------------------------
705 - Change the callback signatures to contain `void**` for decoders and `void * const *` for encode…
706 - Change the callback function body to use **arg` instead of `arg`.
711 Nanopb-0.2.0 (2013-03-02)
712 -------------------------
745 - Change `PB_HTYPE_ARRAY` to `PB_HTYPE_REPEATED`.
746 - Change `PB_HTYPE_CALLBACK` to `PB_ATYPE()` and `PB_ATYPE_CALLBACK`.
751 Nanopb-0.1.6 (2012-09-02)
752 -------------------------
756 **Rationale:** Similarly to field encoders in nanopb-0.1.3.
768 Nanopb-0.1.3 (2012-06-12)
769 -------------------------