Skip to content

Commit 31e8c20

Browse files
committed
Added release notes about Python changes.
1 parent 97dacc4 commit 31e8c20

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

CHANGES.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,25 @@
11
2015-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

0 commit comments

Comments
 (0)