aboutsummaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2015-02-25 23:06:35 -0800
committerJosh Haberman <jhaberman@gmail.com>2015-02-25 23:06:35 -0800
commit31e8c2070596546669db935b5c20d3e4edfc4b40 (patch)
tree5260ddfaba2fd6f97aa6a3101e33e0938024b250 /CHANGES.txt
parent97dacc44af58b1d8f4a25d0fa10d3a1e1b2864d2 (diff)
downloadprotobuf-31e8c2070596546669db935b5c20d3e4edfc4b40.tar.gz
protobuf-31e8c2070596546669db935b5c20d3e4edfc4b40.tar.bz2
protobuf-31e8c2070596546669db935b5c20d3e4edfc4b40.zip
Added release notes about Python changes.
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index e0c02084..3aa05338 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,8 +1,25 @@
2015-02-22 version 3.0.0-alpha-2 (Ruby/JavaNano):
General
* Introduced two new language implementations (Ruby and JavaNano) to proto3.
+ * Added proto3 support for Python, and various other improvements.
* Various bug fixes since 3.0.0-alpha-1
+ Python:
+ Python has received several updates, most notably support for proto3
+ semantics in any .proto file that declares syntax="proto3".
+ Messages declared in proto3 files no longer represent field presence
+ for scalar fields (number, enums, booleans, or strings). You can
+ no longer call HasField() for such fields, and they are serialized
+ based on whether they have a non-zero/empty/false value.
+
+ One other notable change is in the C++-accelerated implementation.
+ Descriptor objects (which describe the protobuf schema and allow
+ reflection over it) are no longer duplicated between the Python
+ and C++ layers. The Python descriptors are now simple wrappers
+ around the C++ descriptors. This change should significantly
+ reduce the memory usage of programs that use a lot of message
+ types.
+
Ruby:
We have added proto3 support for Ruby via a native C extension.