Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit f853892

Browse files
authored
Merge branch 'main' into renovate/com.google.protobuf-protobuf-java-util-4.x
2 parents 6329079 + b66351c commit f853892

208 files changed

Lines changed: 8378 additions & 8807 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/release-please.yml

Lines changed: 25 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,28 @@ bumpMinorPreMajor: true
22
handleGHRelease: true
33
releaseType: java-yoshi
44
branches:
5-
- releaseType: java-lts
6-
bumpMinorPreMajor: true
7-
handleGHRelease: true
8-
branch: 1.111.0-sp
9-
- bumpMinorPreMajor: true
10-
handleGHRelease: true
11-
releaseType: java-yoshi
12-
branch: java7
13-
- bumpMinorPreMajor: true
14-
handleGHRelease: true
15-
releaseType: java-backport
16-
branch: 1.114.x
17-
- bumpMinorPreMajor: true
18-
handleGHRelease: true
19-
releaseType: java-backport
20-
branch: 1.116.x
21-
- bumpMinorPreMajor: true
22-
handleGHRelease: true
23-
releaseType: java-backport
24-
branch: 1.117.x
25-
- bumpMinorPreMajor: true
26-
handleGHRelease: true
27-
releaseType: java-backport
28-
branch: 1.120.x
29-
- bumpMinorPreMajor: true
30-
handleGHRelease: true
31-
releaseType: java-backport
32-
branch: 1.121.x
33-
- bumpMinorPreMajor: true
34-
handleGHRelease: true
35-
releaseType: java-backport
36-
branch: 1.123.x
37-
- bumpMinorPreMajor: true
38-
handleGHRelease: true
39-
releaseType: java-backport
40-
branch: 1.125.x
41-
- bumpMinorPreMajor: true
42-
handleGHRelease: true
43-
releaseType: java-backport
44-
branch: 1.129.x
45-
- bumpMinorPreMajor: true
46-
handleGHRelease: true
47-
releaseType: java-backport
48-
branch: 1.137.x
49-
- bumpMinorPreMajor: true
50-
handleGHRelease: true
51-
releaseType: java-backport
52-
branch: 1.140.x
53-
- handleGHRelease: true
54-
releaseType: java-yoshi
55-
branch: protobuf-4.x-rc
56-
manifest: true
5+
- branch: 1.111.0-sp
6+
releaseType: java-lts
7+
- branch: java7
8+
- branch: 1.114.x
9+
releaseType: java-backport
10+
- branch: 1.116.x
11+
releaseType: java-backport
12+
- branch: 1.117.x
13+
releaseType: java-backport
14+
- branch: 1.120.x
15+
releaseType: java-backport
16+
- branch: 1.121.x
17+
releaseType: java-backport
18+
- branch: 1.123.x
19+
releaseType: java-backport
20+
- branch: 1.125.x
21+
releaseType: java-backport
22+
- branch: 1.129.x
23+
releaseType: java-backport
24+
- branch: 1.137.x
25+
releaseType: java-backport
26+
- branch: 1.140.x
27+
releaseType: java-backport
28+
- branch: protobuf-4.x-rc
29+
manifest: true

.github/scripts/update_generation_config.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,17 @@ function get_latest_released_version() {
1818
group_id_url_path="$(sed 's|\.|/|g' <<< "${group_id}")"
1919
url="https://repo1.maven.org/maven2/${group_id_url_path}/${artifact_id}/maven-metadata.xml"
2020
xml_content=$(curl -s --fail "${url}")
21-
latest=$(xmllint --xpath 'metadata/versioning/latest/text()' - <<< "${xml_content}")
21+
22+
# 1. Extract all version tags
23+
# 2. Strip the XML tags to leave just the version numbers
24+
# 3. Filter for strictly numbers.numbers.numbers (e.g., 2.54.0)
25+
# 4. Sort by version (V) and take the last one (tail -n 1)
26+
latest=$(echo "${xml_content}" \
27+
| grep -oE '<version>[0-9]+\.[0-9]+\.[0-9]+</version>' \
28+
| sed -E 's/<[^>]+>//g' \
29+
| sort -V \
30+
| tail -n 1)
31+
2232
if [[ -z "${latest}" ]]; then
2333
echo "The latest version of ${group_id}:${artifact_id} is empty."
2434
echo "The returned json from maven.org is invalid: ${json_content}"

.github/workflows/hermetic_library_generation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
fetch-depth: 0
3939
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
40-
- uses: googleapis/sdk-platform-java/.github/scripts@v2.64.2
40+
- uses: googleapis/sdk-platform-java/.github/scripts@v2.66.0
4141
if: env.SHOULD_RUN == 'true'
4242
with:
4343
base_ref: ${{ github.base_ref }}

.github/workflows/unmanaged_dependency_check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
# repository
1818
.kokoro/build.sh
1919
- name: Unmanaged dependency check
20-
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.54.2
20+
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.56.0
2121
with:
2222
bom-path: google-cloud-pubsub-bom/pom.xml

.github/workflows/update_generation_config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/checkout@v4
3030
with:
3131
fetch-depth: 0
32-
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
32+
token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}
3333
- name: Install Dependencies
3434
shell: bash
3535
run: sudo apt-get update && sudo apt-get install -y libxml2-utils
@@ -43,5 +43,5 @@ jobs:
4343
--base_branch "${base_branch}" \
4444
--repo ${{ github.repository }}
4545
env:
46-
GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
46+
GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}
4747

.kokoro/presubmit/graalvm-native-a.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.54.2" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.56.0" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

.kokoro/presubmit/graalvm-native-b.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.54.2" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.56.0" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

.kokoro/presubmit/graalvm-native-c.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.54.2" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.56.0" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# Changelog
22

3+
## [1.146.0](https://github.com/googleapis/java-pubsub/compare/v1.145.0...v1.146.0) (2026-01-26)
4+
5+
6+
### Features
7+
8+
* **deps:** Update the Java code generator (gapic-generator-java) to 2.66.0 ([a7edd5b](https://github.com/googleapis/java-pubsub/commit/a7edd5b705557bcf72ca47dc8219677ba8595f8c))
9+
10+
11+
### Dependencies
12+
13+
* Update dependency com.google.cloud:sdk-platform-java-config to v3.56.0 ([#2664](https://github.com/googleapis/java-pubsub/issues/2664)) ([6d44cf3](https://github.com/googleapis/java-pubsub/commit/6d44cf3b94e6fe8603e3d8bb9357643f0315fa4e))
14+
* Update googleapis/sdk-platform-java action to v2.66.0 ([#2665](https://github.com/googleapis/java-pubsub/issues/2665)) ([1f95f3a](https://github.com/googleapis/java-pubsub/commit/1f95f3ac56ef371b7eee05aa2d294e0e4ca6ad84))
15+
16+
## [1.145.0](https://github.com/googleapis/java-pubsub/compare/v1.144.1...v1.145.0) (2026-01-15)
17+
18+
19+
### Features
20+
21+
* Add AIInference MessageTransform type ([fe73614](https://github.com/googleapis/java-pubsub/commit/fe73614cdb6c2aca445c46e917c325cbfee3adfd))
22+
23+
24+
### Bug Fixes
25+
26+
* **deps:** Update the Java code generator (gapic-generator-java) to 2.65.1 ([fe73614](https://github.com/googleapis/java-pubsub/commit/fe73614cdb6c2aca445c46e917c325cbfee3adfd))
27+
28+
29+
### Dependencies
30+
31+
* Update dependency com.google.cloud:sdk-platform-java-config to v3.55.1 ([#2658](https://github.com/googleapis/java-pubsub/issues/2658)) ([1a11309](https://github.com/googleapis/java-pubsub/commit/1a1130914420b45d628553218a3fa4d477216143))
32+
* Update googleapis/sdk-platform-java action to v2.65.1 ([#2657](https://github.com/googleapis/java-pubsub/issues/2657)) ([72dd566](https://github.com/googleapis/java-pubsub/commit/72dd5668ab2e71a24bed66c55173ab9ff5093ced))
33+
34+
35+
### Documentation
36+
37+
* Add tags documentation links to Pub/Sub resource tags fields ([fe73614](https://github.com/googleapis/java-pubsub/commit/fe73614cdb6c2aca445c46e917c325cbfee3adfd))
38+
339
## [1.144.1](https://github.com/googleapis/java-pubsub/compare/v1.144.0...v1.144.1) (2025-12-22)
440

541

README.md

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,20 @@ If you are using Maven without the BOM, add this to your dependencies:
5151
If you are using Gradle 5.x or later, add this to your dependencies:
5252

5353
```Groovy
54-
implementation platform('com.google.cloud:libraries-bom:26.72.0')
54+
implementation platform('com.google.cloud:libraries-bom:26.74.0')
5555
5656
implementation 'com.google.cloud:google-cloud-pubsub'
5757
```
5858
If you are using Gradle without BOM, add this to your dependencies:
5959

6060
```Groovy
61-
implementation 'com.google.cloud:google-cloud-pubsub:1.144.1'
61+
implementation 'com.google.cloud:google-cloud-pubsub:1.146.0'
6262
```
6363

6464
If you are using SBT, add this to your dependencies:
6565

6666
```Scala
67-
libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.144.1"
67+
libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.146.0"
6868
```
6969

7070
## Authentication
@@ -395,32 +395,13 @@ information.
395395

396396
Apache 2.0 - See [LICENSE][license] for more information.
397397

398-
## CI Status
399-
400-
Java Version | Status
401-
------------ | ------
402-
Java 8 | [![Kokoro CI][kokoro-badge-image-2]][kokoro-badge-link-2]
403-
Java 8 OSX | [![Kokoro CI][kokoro-badge-image-3]][kokoro-badge-link-3]
404-
Java 8 Windows | [![Kokoro CI][kokoro-badge-image-4]][kokoro-badge-link-4]
405-
Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5]
406-
407398
Java is a registered trademark of Oracle and/or its affiliates.
408399

409400
[product-docs]: https://cloud.google.com/pubsub/docs/
410401
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/history
411-
[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java7.svg
412-
[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java7.html
413-
[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8.svg
414-
[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8.html
415-
[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8-osx.svg
416-
[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8-osx.html
417-
[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8-win.svg
418-
[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8-win.html
419-
[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java11.svg
420-
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java11.html
421402
[stability-image]: https://img.shields.io/badge/stability-stable-green
422403
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsub.svg
423-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.144.1
404+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.146.0
424405
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
425406
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
426407
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

0 commit comments

Comments
 (0)