Skip to content

Commit f6ff28b

Browse files
authored
Merge pull request #11075 from protocolbuffers/21.x-202211281808
21.x 202211281808
2 parents d03c11c + 7cd9537 commit f6ff28b

37 files changed

+65
-54
lines changed

CHANGES.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
2022-11-28 version 21.10-rc0 (C++/Java/Python/PHP/Objective-C/C#/Ruby)
2+
3+
Java
4+
* Use bit-field int values in buildPartial to skip work on unset groups of fields. (#10960)
5+
* Mark nested builder as clean after clear is called (#10984)
6+
UPB
7+
* Fix UPB_LIKELY() for 32-bit Windows builds; update protobuf_deps to point to the current upb 21.x (#11028)
8+
Other
9+
* Add public modifiers to kotlin code (#11068)
10+
11+
112
2022-10-26 version 21.9 (C++/Java/Python/PHP/Objective-C/C#/Ruby)
213

314
C++

Protobuf-C++.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Protobuf-C++'
3-
s.version = '3.21.9'
3+
s.version = '3.21.10-rc0'
44
s.summary = 'Protocol Buffers v3 runtime library for C++.'
55
s.homepage = 'https://github.com/google/protobuf'
66
s.license = 'BSD-3-Clause'

Protobuf.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# dependent projects use the :git notation to refer to the library.
66
Pod::Spec.new do |s|
77
s.name = 'Protobuf'
8-
s.version = '3.21.9'
8+
s.version = '3.21.10-rc0'
99
s.summary = 'Protocol Buffers v.3 runtime library for Objective-C.'
1010
s.homepage = 'https://github.com/protocolbuffers/protobuf'
1111
s.license = 'BSD-3-Clause'

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ AC_PREREQ(2.59)
1717
# In the SVN trunk, the version should always be the next anticipated release
1818
# version with the "-pre" suffix. (We used to use "-SNAPSHOT" but this pushed
1919
# the size of one file name in the dist tarfile over the 99-char limit.)
20-
AC_INIT([Protocol Buffers],[3.21.9],[protobuf@googlegroups.com],[protobuf])
20+
AC_INIT([Protocol Buffers],[3.21.10-rc-0],[protobuf@googlegroups.com],[protobuf])
2121

2222
AM_MAINTAINER_MODE([enable])
2323

csharp/Google.Protobuf.Tools.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>Google Protocol Buffers tools</title>
66
<summary>Tools for Protocol Buffers - Google's data interchange format.</summary>
77
<description>See project site for more info.</description>
8-
<version>3.21.9</version>
8+
<version>3.21.10-rc0</version>
99
<authors>Google Inc.</authors>
1010
<owners>protobuf-packages</owners>
1111
<licenseUrl>https://github.com/protocolbuffers/protobuf/blob/main/LICENSE</licenseUrl>

csharp/src/Google.Protobuf/Google.Protobuf.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Description>C# runtime library for Protocol Buffers - Google's data interchange format.</Description>
55
<Copyright>Copyright 2015, Google Inc.</Copyright>
66
<AssemblyTitle>Google Protocol Buffers</AssemblyTitle>
7-
<VersionPrefix>3.21.9</VersionPrefix>
7+
<VersionPrefix>3.21.10-rc0</VersionPrefix>
88
<!-- C# 7.2 is required for Span/BufferWriter/ReadOnlySequence -->
99
<LangVersion>7.2</LangVersion>
1010
<Authors>Google Inc.</Authors>

java/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If you are using Maven, use the following:
2323
<dependency>
2424
<groupId>com.google.protobuf</groupId>
2525
<artifactId>protobuf-java</artifactId>
26-
<version>3.21.9</version>
26+
<version>3.21.10-rc-0</version>
2727
</dependency>
2828
```
2929

@@ -37,15 +37,15 @@ protobuf-java-util package:
3737
<dependency>
3838
<groupId>com.google.protobuf</groupId>
3939
<artifactId>protobuf-java-util</artifactId>
40-
<version>3.21.9</version>
40+
<version>3.21.10-rc-0</version>
4141
</dependency>
4242
```
4343

4444
### Gradle
4545

4646
If you are using Gradle, add the following to your `build.gradle` file's dependencies:
4747
```
48-
implementation 'com.google.protobuf:protobuf-java:3.21.9'
48+
implementation 'com.google.protobuf:protobuf-java:3.21.10-rc-0'
4949
```
5050
Again, be sure to check that the version number matches (or is newer than) the version number of protoc that you are using.
5151

java/bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.google.protobuf</groupId>
66
<artifactId>protobuf-bom</artifactId>
7-
<version>3.21.9</version>
7+
<version>3.21.10-rc-0</version>
88
<packaging>pom</packaging>
99

1010
<name>Protocol Buffers [BOM]</name>

java/core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.google.protobuf</groupId>
66
<artifactId>protobuf-parent</artifactId>
7-
<version>3.21.9</version>
7+
<version>3.21.10-rc-0</version>
88
</parent>
99

1010
<artifactId>protobuf-java</artifactId>

java/kotlin-lite/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.google.protobuf</groupId>
66
<artifactId>protobuf-parent</artifactId>
7-
<version>3.21.9</version>
7+
<version>3.21.10-rc-0</version>
88
</parent>
99

1010
<artifactId>protobuf-kotlin-lite</artifactId>

java/kotlin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.google.protobuf</groupId>
66
<artifactId>protobuf-parent</artifactId>
7-
<version>3.21.9</version>
7+
<version>3.21.10-rc-0</version>
88
</parent>
99

1010
<artifactId>protobuf-kotlin</artifactId>

java/lite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protobuf Java Lite runtime. If you are using Maven, include the following:
2929
<dependency>
3030
<groupId>com.google.protobuf</groupId>
3131
<artifactId>protobuf-javalite</artifactId>
32-
<version>3.21.9</version>
32+
<version>3.21.10-rc-0</version>
3333
</dependency>
3434
```
3535

java/lite/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.google.protobuf</groupId>
66
<artifactId>protobuf-parent</artifactId>
7-
<version>3.21.9</version>
7+
<version>3.21.10-rc-0</version>
88
</parent>
99

1010
<artifactId>protobuf-javalite</artifactId>

java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.google.protobuf</groupId>
66
<artifactId>protobuf-parent</artifactId>
7-
<version>3.21.9</version>
7+
<version>3.21.10-rc-0</version>
88
<packaging>pom</packaging>
99

1010
<name>Protocol Buffers [Parent]</name>

java/util/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.google.protobuf</groupId>
66
<artifactId>protobuf-parent</artifactId>
7-
<version>3.21.9</version>
7+
<version>3.21.10-rc-0</version>
88
</parent>
99

1010
<artifactId>protobuf-java-util</artifactId>

php/ext/google/protobuf/protobuf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_setter, 0, 0, 1)
127127
ZEND_ARG_INFO(0, value)
128128
ZEND_END_ARG_INFO()
129129

130-
#define PHP_PROTOBUF_VERSION "3.21.9"
130+
#define PHP_PROTOBUF_VERSION "3.21.10RC0"
131131

132132
// ptr -> PHP object cache. This is a weak map that caches lazily-created
133133
// wrapper objects around upb types:

protobuf_version.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PROTOC_VERSION = "21.9"
2-
PROTOBUF_JAVA_VERSION = "3.21.9"
3-
PROTOBUF_PYTHON_VERSION = "4.21.9"
4-
PROTOBUF_PHP_VERSION = "3.21.9"
1+
PROTOC_VERSION = "21.10-rc-0"
2+
PROTOBUF_JAVA_VERSION = "3.21.10-rc-0"
3+
PROTOBUF_PYTHON_VERSION = "4.21.10rc0"
4+
PROTOBUF_PHP_VERSION = "3.21.10RC0"

protoc-artifacts/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</parent>
99
<groupId>com.google.protobuf</groupId>
1010
<artifactId>protoc</artifactId>
11-
<version>3.21.9</version>
11+
<version>3.21.10-rc-0</version>
1212
<packaging>pom</packaging>
1313
<name>Protobuf Compiler</name>
1414
<description>

python/google/protobuf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@
3030

3131
# Copyright 2007 Google Inc. All Rights Reserved.
3232

33-
__version__ = '4.21.9'
33+
__version__ = '4.21.10rc0'

ruby/google-protobuf.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = "google-protobuf"
3-
s.version = "3.21.9"
3+
s.version = "3.21.10.rc.0"
44
git_tag = "v#{s.version.to_s.sub('.rc.', '-rc')}" # Converts X.Y.Z.rc.N to vX.Y.Z-rcN, used for the git tag
55
s.licenses = ["BSD-3-Clause"]
66
s.summary = "Protocol Buffers"

ruby/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<groupId>com.google.protobuf.jruby</groupId>
1111
<artifactId>protobuf-jruby</artifactId>
12-
<version>3.21.9</version>
12+
<version>3.21.10-rc-0</version>
1313
<name>Protocol Buffer JRuby native extension</name>
1414
<description>
1515
Protocol Buffers are a way of encoding structured data in an efficient yet
@@ -76,7 +76,7 @@
7676
<dependency>
7777
<groupId>com.google.protobuf</groupId>
7878
<artifactId>protobuf-java-util</artifactId>
79-
<version>3.21.9</version>
79+
<version>3.21.10-rc-0</version>
8080
</dependency>
8181
<dependency>
8282
<groupId>org.jruby</groupId>

src/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ else
1818
PTHREAD_DEF =
1919
endif
2020

21-
PROTOBUF_VERSION = 32:9:0
21+
PROTOBUF_VERSION = 32:10:0
2222

2323
if GCC
2424
# Turn on all warnings except for sign comparison (we ignore sign comparison

src/google/protobuf/any.pb.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/google/protobuf/api.pb.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/google/protobuf/compiler/plugin.pb.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/google/protobuf/descriptor.pb.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/google/protobuf/duration.pb.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/google/protobuf/empty.pb.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/google/protobuf/field_mask.pb.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/google/protobuf/port_def.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
#ifdef PROTOBUF_VERSION
179179
#error PROTOBUF_VERSION was previously defined
180180
#endif
181-
#define PROTOBUF_VERSION 3021009
181+
#define PROTOBUF_VERSION 3021010
182182

183183
#ifdef PROTOBUF_MIN_HEADER_VERSION_FOR_PROTOC
184184
#error PROTOBUF_MIN_HEADER_VERSION_FOR_PROTOC was previously defined
@@ -193,7 +193,7 @@
193193
#ifdef PROTOBUF_VERSION_SUFFIX
194194
#error PROTOBUF_VERSION_SUFFIX was previously defined
195195
#endif
196-
#define PROTOBUF_VERSION_SUFFIX ""
196+
#define PROTOBUF_VERSION_SUFFIX "-rc0"
197197

198198
#if defined(PROTOBUF_NAMESPACE) || defined(PROTOBUF_NAMESPACE_ID)
199199
#error PROTOBUF_NAMESPACE or PROTOBUF_NAMESPACE_ID was previously defined

src/google/protobuf/source_context.pb.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/google/protobuf/struct.pb.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/google/protobuf/stubs/common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ namespace internal {
8282

8383
// The current version, represented as a single integer to make comparison
8484
// easier: major * 10^6 + minor * 10^3 + micro
85-
#define GOOGLE_PROTOBUF_VERSION 3021009
85+
#define GOOGLE_PROTOBUF_VERSION 3021010
8686

8787
// A suffix string for alpha, beta or rc releases. Empty for stable releases.
88-
#define GOOGLE_PROTOBUF_VERSION_SUFFIX ""
88+
#define GOOGLE_PROTOBUF_VERSION_SUFFIX "-rc0"
8989

9090
// The minimum header version which works with the current version of
9191
// the library. This constant should only be used by protoc's C++ code

src/google/protobuf/timestamp.pb.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/google/protobuf/type.pb.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/google/protobuf/wrappers.pb.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

version.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"21.x": {
3-
"protoc_version": "21.10-dev",
3+
"protoc_version": "21.10-rc0",
44
"lts": false,
5-
"date": "2022-10-26",
5+
"date": "2022-11-28",
66
"languages": {
7-
"cpp": "3.21.10-dev",
8-
"csharp": "3.21.10-dev",
9-
"java": "3.21.10-dev",
10-
"javascript": "3.21.10-dev",
11-
"objectivec": "3.21.10-dev",
12-
"php": "3.21.10-dev",
13-
"python": "4.21.10-dev",
14-
"ruby": "3.21.10-dev"
7+
"cpp": "3.21.10-rc0",
8+
"csharp": "3.21.10-rc0",
9+
"java": "3.21.10-rc0",
10+
"javascript": "3.21.10-rc0",
11+
"objectivec": "3.21.10-rc0",
12+
"php": "3.21.10-rc0",
13+
"python": "4.21.10-rc0",
14+
"ruby": "3.21.10-rc0"
1515
}
1616
}
17-
}
17+
}

0 commit comments

Comments
 (0)