Skip to content

Commit 25dfc39

Browse files
mkruskal-googlecopybara-github
authored andcommitted
Internal changes
PiperOrigin-RevId: 515648197
1 parent b6777d2 commit 25dfc39

29 files changed

+43
-54
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ if (protobuf_BUILD_SHARED_LIBS)
9393
endif ()
9494

9595
# Version metadata
96-
set(protobuf_VERSION_STRING "4.22.2")
96+
set(protobuf_VERSION_STRING "4.22.1")
9797
set(protobuf_DESCRIPTION "Protocol Buffers")
9898
set(protobuf_CONTACT "[email protected]")
9999

Protobuf-C++.podspec

+1-1
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 = '4.22.2'
3+
s.version = '4.22.1'
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

+1-1
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.22.2'
8+
s.version = '3.22.1'
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'

build_defs/java_opts.bzl

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Java options and protobuf-specific java build rules with those options."""
2+
23
load("@rules_java//java:defs.bzl", "java_library")
34
load("@rules_jvm_external//:defs.bzl", "java_export")
45

@@ -11,11 +12,11 @@ JAVA_OPTS = [
1112
def protobuf_java_export(**kwargs):
1213
java_export(
1314
javacopts = JAVA_OPTS,
14-
**kwargs,
15+
**kwargs
1516
)
1617

1718
def protobuf_java_library(**kwargs):
1819
java_library(
1920
javacopts = JAVA_OPTS,
20-
**kwargs,
21+
**kwargs
2122
)

csharp/Google.Protobuf.Tools.nuspec

+1-1
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.22.2</version>
8+
<version>3.22.1</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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Description>C# runtime library for Protocol Buffers - Google's data interchange format.</Description>
66
<Copyright>Copyright 2015, Google Inc.</Copyright>
77
<AssemblyTitle>Google Protocol Buffers</AssemblyTitle>
8-
<VersionPrefix>3.22.2</VersionPrefix>
8+
<VersionPrefix>3.22.1</VersionPrefix>
99
<LangVersion>10.0</LangVersion>
1010
<Authors>Google Inc.</Authors>
1111
<TargetFrameworks>netstandard1.1;netstandard2.0;net45;net50</TargetFrameworks>

java/README.md

+5-5
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.22.2</version>
26+
<version>3.22.1</version>
2727
</dependency>
2828
```
2929

@@ -37,16 +37,16 @@ protobuf-java-util package:
3737
<dependency>
3838
<groupId>com.google.protobuf</groupId>
3939
<artifactId>protobuf-java-util</artifactId>
40-
<version>3.22.2</version>
40+
<version>3.22.1</version>
4141
</dependency>
4242
```
4343

4444
### Gradle
4545

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

5151
### Use Java Protocol Buffers on Android
5252

java/bom/pom.xml

+1-1
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.22.2</version>
7+
<version>3.22.1</version>
88
<packaging>pom</packaging>
99

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

java/core/pom.xml

+1-1
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.22.2</version>
7+
<version>3.22.1</version>
88
</parent>
99

1010
<artifactId>protobuf-java</artifactId>

java/internal/JavaVersionTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ public void testJavaVersion() throws Exception {
4545
return;
4646
}
4747
// Java 8's version is read as "1.8"
48-
if(exp.equals("8")) exp = "1.8";
48+
if (exp.equals("8")) exp = "1.8";
4949
String version = System.getProperty("java.version");
5050
assertWithMessage("Expected Java " + exp + " but found Java " + version)
51-
.that(version.startsWith(exp))
52-
.isTrue();
51+
.that(version.startsWith(exp))
52+
.isTrue();
5353
}
5454
}

java/kotlin-lite/pom.xml

+1-1
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.22.2</version>
7+
<version>3.22.1</version>
88
</parent>
99

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

java/kotlin-lite/pom_template.xml

+1-7
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,8 @@
1717
</description>
1818
<dependencies>
1919
<dependency>
20-
<groupId>{groupId}</groupId>
20+
<groupId>${groupId}</groupId>
2121
<artifactId>protobuf-javalite</artifactId>
22-
<version>{version}</version>
23-
</dependency>
24-
<dependency>
25-
<groupId>org.jetbrains.kotlin</groupId>
26-
<artifactId>kotlin-stdlib</artifactId>
27-
<version>${kotlin.version}</version>
2822
</dependency>
2923
{dependencies}
3024
</dependencies>

java/kotlin/pom.xml

+1-1
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.22.2</version>
7+
<version>3.22.1</version>
88
</parent>
99

1010
<artifactId>protobuf-kotlin</artifactId>

java/kotlin/pom_template.xml

+1-7
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,8 @@
1717
</description>
1818
<dependencies>
1919
<dependency>
20-
<groupId>{groupId}</groupId>
20+
<groupId>${groupId}</groupId>
2121
<artifactId>protobuf-java</artifactId>
22-
<version>{version}</version>
23-
</dependency>
24-
<dependency>
25-
<groupId>org.jetbrains.kotlin</groupId>
26-
<artifactId>kotlin-stdlib</artifactId>
27-
<version>${kotlin.version}</version>
2822
</dependency>
2923
{dependencies}
3024
</dependencies>

java/lite.md

+1-1
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.22.2</version>
32+
<version>3.22.1</version>
3333
</dependency>
3434
```
3535

java/lite/pom.xml

+1-1
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.22.2</version>
7+
<version>3.22.1</version>
88
</parent>
99

1010
<artifactId>protobuf-javalite</artifactId>

java/pom.xml

+1-1
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.22.2</version>
7+
<version>3.22.1</version>
88
<packaging>pom</packaging>
99

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

java/protoc/pom.xml

+1-1
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.22.2</version>
11+
<version>3.22.1</version>
1212
<packaging>pom</packaging>
1313
<name>Protobuf Compiler</name>
1414
<description>

java/util/pom.xml

+1-1
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.22.2</version>
7+
<version>3.22.1</version>
88
</parent>
99

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

java/util/pom_template.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@
1414
<description>Utilities for Protocol Buffers</description>
1515
<dependencies>
1616
<dependency>
17-
<groupId>{groupId}</groupId>
17+
<groupId>${groupId}</groupId>
1818
<artifactId>protobuf-java</artifactId>
19-
<version>{version}</version>
2019
</dependency>
2120
{dependencies}
2221
</dependencies>

php/ext/google/protobuf/protobuf.h

+1-1
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.22.2"
130+
#define PHP_PROTOBUF_VERSION "3.22.1"
131131

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

protobuf_version.bzl

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
PROTOC_VERSION = "22.2"
2-
PROTOBUF_JAVA_VERSION = "3.22.2"
3-
PROTOBUF_PYTHON_VERSION = "4.22.2"
4-
PROTOBUF_PHP_VERSION = "3.22.2"
5-
PROTOBUF_RUBY_VERSION = "3.22.2"
1+
""" Contains version numbers to be used in other bzl files """
2+
PROTOC_VERSION = "22.1"
3+
PROTOBUF_JAVA_VERSION = "3.22.1"
4+
PROTOBUF_PYTHON_VERSION = "4.22.1"
5+
PROTOBUF_PHP_VERSION = "3.22.1"
6+
PROTOBUF_RUBY_VERSION = "3.22.1"

python/google/protobuf/__init__.py

+1-1
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.22.2'
33+
__version__ = '4.22.1'

ruby/google-protobuf.gemspec

+1-1
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.22.2"
3+
s.version = "3.22.1"
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

+2-2
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.22.2</version>
12+
<version>3.22.1</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.22.2</version>
79+
<version>3.22.1</version>
8080
</dependency>
8181
<dependency>
8282
<groupId>org.jruby</groupId>

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

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/google/protobuf/descriptor.pb.h

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/google/protobuf/port_def.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ static_assert(PROTOBUF_CPLUSPLUS_MIN(201402L), "Protobuf only supports C++14 and
226226
#ifdef PROTOBUF_VERSION
227227
#error PROTOBUF_VERSION was previously defined
228228
#endif
229-
#define PROTOBUF_VERSION 4022002
229+
#define PROTOBUF_VERSION 4022001
230230

231231
#ifdef PROTOBUF_MIN_HEADER_VERSION_FOR_PROTOC
232232
#error PROTOBUF_MIN_HEADER_VERSION_FOR_PROTOC was previously defined

src/google/protobuf/stubs/common.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ namespace internal {
6666

6767
// The current version, represented as a single integer to make comparison
6868
// easier: major * 10^6 + minor * 10^3 + micro
69-
#define GOOGLE_PROTOBUF_VERSION 4022002
69+
#define GOOGLE_PROTOBUF_VERSION 4022001
7070

7171
// A suffix string for alpha, beta or rc releases. Empty for stable releases.
7272
#define GOOGLE_PROTOBUF_VERSION_SUFFIX ""

0 commit comments

Comments
 (0)