File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 112015-02-22 version 3.0.0-alpha-2 (Ruby/JavaNano):
22 General
33 * Introduced two new language implementations (Ruby and JavaNano) to proto3.
4+ * Added proto3 support for Python, and various other improvements.
45 * Various bug fixes since 3.0.0-alpha-1
56
7+ Python:
8+ Python has received several updates, most notably support for proto3
9+ semantics in any .proto file that declares syntax="proto3".
10+ Messages declared in proto3 files no longer represent field presence
11+ for scalar fields (number, enums, booleans, or strings). You can
12+ no longer call HasField() for such fields, and they are serialized
13+ based on whether they have a non-zero/empty/false value.
14+
15+ One other notable change is in the C++-accelerated implementation.
16+ Descriptor objects (which describe the protobuf schema and allow
17+ reflection over it) are no longer duplicated between the Python
18+ and C++ layers. The Python descriptors are now simple wrappers
19+ around the C++ descriptors. This change should significantly
20+ reduce the memory usage of programs that use a lot of message
21+ types.
22+
623 Ruby:
724 We have added proto3 support for Ruby via a native C extension.
825
You can’t perform that action at this time.
0 commit comments