Skip to content

Commit e8ae137

Browse files
authored
Merge pull request #1864 from pherl/galogs
Change log for 3.0 GA release.
2 parents 7ba044a + e0d817e commit e8ae137

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

CHANGES.txt

+51
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
2016-07-27 version 3.0.0 (C++/Java/Python/Ruby/Objective-C/C#/JavaScript/Lite)
2+
General
3+
* This log only contains changes since the beta-4 release. Summarized change
4+
log since the last stable release (v2.6.1) can be found in the github
5+
release page.
6+
7+
Compatibility Notice
8+
* v3.0.0 is the first API stable release of the v3.x series. We do not expect
9+
any future API breaking changes.
10+
* For C++, Java Lite and Objective-C, source level compatibility is
11+
guaranteed. Upgrading from v3.0.0 to newer minor version releases will be
12+
source compatible. For example, if your code compiles against protobuf
13+
v3.0.0, it will continue to compile after you upgrade protobuf library to
14+
v3.1.0.
15+
* For other languages, both source level compatibility and binary level
16+
compatibility are guaranteed. For example, if you have a Java binary built
17+
against protobuf v3.0.0. After switching the protobuf runtime binary to
18+
v3.1.0, your built binary should continue to work.
19+
* Compatibility is only guaranteed for documented API and documented
20+
behaviors. If you are using undocumented API (e.g., use anything in the C++
21+
internal namespace), it can be broken by minor version releases in an
22+
undetermined manner.
23+
24+
Ruby
25+
* When you assign a string field `a.string_field = "X"`, we now call
26+
#encode(UTF-8) on the string and freeze the copy. This saves you from
27+
needing to ensure the string is already encoded as UTF-8. It also prevents
28+
you from mutating the string after it has been assigned (this is how we
29+
ensure it stays valid UTF-8).
30+
* The generated file for `foo.proto` is now `foo_pb.rb` instead of just
31+
`foo.rb`. This makes it easier to see which imports/requires are from
32+
protobuf generated code, and also prevents conflicts with any `foo.rb` file
33+
you might have written directly in Ruby. It is a backward-incompatible
34+
change: you will need to update all of your `require` statements.
35+
* For package names like `foo_bar`, we now translate this to the Ruby module
36+
`FooBar`. This is more idiomatic Ruby than what we used to do (`Foo_bar`).
37+
38+
JavaScript
39+
* Scalar fields like numbers and boolean now return defaults instead of
40+
`undefined` or `null` when they are unset. You can test for presence
41+
explicitly by calling `hasFoo()`, which we now generate for scalar fields.
42+
43+
Java Lite
44+
* Java Lite is now implemented as a separate plugin, maintained in the
45+
`javalite` branch. Both lite runtime and protoc artifacts will be available
46+
in Maven.
47+
48+
C#
49+
* Target platforms now .NET 4.5, selected portable subsets and .NET Core.
50+
* legacy_enum_values option is no longer supported.
51+
152
2016-07-15 version 3.0.0-beta-4 (C++/Java/Python/Ruby/Objective-C/C#/JavaScript)
253
General
354
* Added a deterministic serialization API for C++. The deterministic

0 commit comments

Comments
 (0)