From c6ac677450cd7c7a39eafc9de675b2d5dfdfab01 Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Wed, 26 Jun 2024 18:43:07 +0000
Subject: [PATCH 1/2] chore(main): release 2.40.1
---
.readme-partials.yaml | 6 ++---
CHANGELOG.md | 25 +++++++++++++++++++
README.md | 18 ++++++-------
gapic-google-cloud-storage-v2/pom.xml | 4 +--
google-cloud-storage-bom/pom.xml | 16 ++++++------
google-cloud-storage-control/pom.xml | 4 +--
google-cloud-storage/pom.xml | 4 +--
grpc-google-cloud-storage-control-v2/pom.xml | 4 +--
grpc-google-cloud-storage-v2/pom.xml | 4 +--
pom.xml | 16 ++++++------
proto-google-cloud-storage-control-v2/pom.xml | 4 +--
proto-google-cloud-storage-v2/pom.xml | 4 +--
samples/install-without-bom/pom.xml | 2 +-
samples/native-image-sample/pom.xml | 2 +-
samples/snapshot/pom.xml | 4 +--
storage-shared-benchmarking/pom.xml | 4 +--
versions.txt | 14 +++++------
17 files changed, 80 insertions(+), 55 deletions(-)
diff --git a/.readme-partials.yaml b/.readme-partials.yaml
index cb154392e6..27755efec7 100644
--- a/.readme-partials.yaml
+++ b/.readme-partials.yaml
@@ -32,19 +32,19 @@ custom_content: |
com.google.cloud
google-cloud-storage-control
- 2.40.1-SNAPSHOT
+ 2.40.1
```
If you are using Gradle 5.x or later, add this to your dependencies:
```Groovy
- implementation platform('com.google.cloud:libraries-bom:2.40.0')
+ implementation platform('com.google.cloud:libraries-bom:2.40.1')
implementation 'com.google.cloud:google-cloud-storage-control'
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
- implementation 'com.google.cloud:google-cloud-storage-control:2.40.1-SNAPSHOT'
+ implementation 'com.google.cloud:google-cloud-storage-control:2.40.1'
```
#### Creating an authorized service object
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 33a2b4b9de..5821bc840d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,30 @@
# Changelog
+## [2.40.1](https://github.com/googleapis/java-storage/compare/v2.40.0...v2.40.1) (2024-06-26)
+
+
+### Bug Fixes
+
+* Add a workaround to make sure grpc clients' hosts always match their universe domain ([#2588](https://github.com/googleapis/java-storage/issues/2588)) ([87bf737](https://github.com/googleapis/java-storage/commit/87bf7371b6c4300b0f306ca36d1918d52adf721b))
+* Include x-goog-user-project on resumable upload puts for grpc transport ([#2586](https://github.com/googleapis/java-storage/issues/2586)) ([6f2f504](https://github.com/googleapis/java-storage/commit/6f2f5045bb7c1dabdd9b1c19ce7d2b02163c0eb8))
+* Update grpc bidi resumable uploads to validate ack'd object size ([#2570](https://github.com/googleapis/java-storage/issues/2570)) ([5c9cecf](https://github.com/googleapis/java-storage/commit/5c9cecf04ceb3858d58b4e2e487ffd1dddf933ab))
+* Update grpc finalize on close resumable uploads to validate ack'd object size ([#2572](https://github.com/googleapis/java-storage/issues/2572)) ([55a6d15](https://github.com/googleapis/java-storage/commit/55a6d155e4c6a4c33f22ec87ff0b9f6ccfab7a83))
+* Update grpc single-shot uploads to validate ack'd object size ([#2567](https://github.com/googleapis/java-storage/issues/2567)) ([65c8808](https://github.com/googleapis/java-storage/commit/65c8808da9094365171f165dcf0654f56cf51207))
+
+
+### Dependencies
+
+* Update dependency com.google.apis:google-api-services-storage to v1-rev20240524-2.0.0 ([#2565](https://github.com/googleapis/java-storage/issues/2565)) ([d193243](https://github.com/googleapis/java-storage/commit/d193243e1bcc41d09d46f9aa521ed5dd1b374b52))
+* Update dependency com.google.apis:google-api-services-storage to v1-rev20240621-2.0.0 ([#2596](https://github.com/googleapis/java-storage/issues/2596)) ([73b8753](https://github.com/googleapis/java-storage/commit/73b8753c244ca8ac9605c1430251b6aebaf82905))
+* Update dependency com.google.cloud:sdk-platform-java-config to v3.32.0 ([#2597](https://github.com/googleapis/java-storage/issues/2597)) ([25940a4](https://github.com/googleapis/java-storage/commit/25940a4e8c8f178dcfb35ef7c77748650d7b1639))
+
+
+### Documentation
+
+* Add Hierarchical Namespace Bucket and Folders samples ([#2583](https://github.com/googleapis/java-storage/issues/2583)) ([3030081](https://github.com/googleapis/java-storage/commit/30300815f2faeef5780877dd74e2f8381b4a8caa)), closes [#2569](https://github.com/googleapis/java-storage/issues/2569)
+* Remove allowlist note from Folders RPCs ([#2593](https://github.com/googleapis/java-storage/issues/2593)) ([82161de](https://github.com/googleapis/java-storage/commit/82161dedfb1962f39f5186ac6d8443046d6b1e88))
+* Update DeleteObject Sample to be clearer on object versioning behavior ([#2595](https://github.com/googleapis/java-storage/issues/2595)) ([79b7cf0](https://github.com/googleapis/java-storage/commit/79b7cf05326ea135c552cbeee1b97e7ff115189f))
+
## [2.40.0](https://github.com/googleapis/java-storage/compare/v2.39.0...v2.40.0) (2024-06-06)
diff --git a/README.md b/README.md
index fb2df37f95..1f325c4c55 100644
--- a/README.md
+++ b/README.md
@@ -46,12 +46,12 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-storage
- 2.40.0
+ 2.40.1
com.google.cloud
google-cloud-storage-control
- 2.40.1-SNAPSHOT
+ 2.40.1
```
@@ -59,20 +59,20 @@ If you are using Maven without the BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies:
```Groovy
-implementation platform('com.google.cloud:libraries-bom:26.42.0')
+implementation platform('com.google.cloud:libraries-bom:2.40.1')
implementation 'com.google.cloud:google-cloud-storage'
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-storage:2.40.0'
+implementation 'com.google.cloud:google-cloud-storage:2.40.1'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "2.40.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "2.40.1"
```
@@ -141,19 +141,19 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-storage-control
- 2.40.1-SNAPSHOT
+ 2.40.1
```
If you are using Gradle 5.x or later, add this to your dependencies:
```Groovy
-implementation platform('com.google.cloud:libraries-bom:2.40.0')
+implementation platform('com.google.cloud:libraries-bom:2.40.1')
implementation 'com.google.cloud:google-cloud-storage-control'
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-storage-control:2.40.1-SNAPSHOT'
+implementation 'com.google.cloud:google-cloud-storage-control:2.40.1'
```
#### Creating an authorized service object
@@ -504,7 +504,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-storage/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-storage.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage/2.40.0
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage/2.40.1
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
diff --git a/gapic-google-cloud-storage-v2/pom.xml b/gapic-google-cloud-storage-v2/pom.xml
index 39b6839ea4..a5ba5d2887 100644
--- a/gapic-google-cloud-storage-v2/pom.xml
+++ b/gapic-google-cloud-storage-v2/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
gapic-google-cloud-storage-v2
- 2.40.1-alpha-SNAPSHOT
+ 2.40.1-alpha
gapic-google-cloud-storage-v2
GRPC library for gapic-google-cloud-storage-v2
com.google.cloud
google-cloud-storage-parent
- 2.40.1-SNAPSHOT
+ 2.40.1
diff --git a/google-cloud-storage-bom/pom.xml b/google-cloud-storage-bom/pom.xml
index 22ae2e37fa..ef1657900c 100644
--- a/google-cloud-storage-bom/pom.xml
+++ b/google-cloud-storage-bom/pom.xml
@@ -19,7 +19,7 @@
4.0.0
com.google.cloud
google-cloud-storage-bom
- 2.40.1-SNAPSHOT
+ 2.40.1
pom
com.google.cloud
@@ -69,37 +69,37 @@
com.google.cloud
google-cloud-storage
- 2.40.1-SNAPSHOT
+ 2.40.1
com.google.api.grpc
gapic-google-cloud-storage-v2
- 2.40.1-alpha-SNAPSHOT
+ 2.40.1-alpha
com.google.api.grpc
grpc-google-cloud-storage-v2
- 2.40.1-alpha-SNAPSHOT
+ 2.40.1-alpha
com.google.api.grpc
proto-google-cloud-storage-v2
- 2.40.1-alpha-SNAPSHOT
+ 2.40.1-alpha
com.google.cloud
google-cloud-storage-control
- 2.40.1-SNAPSHOT
+ 2.40.1
com.google.api.grpc
grpc-google-cloud-storage-control-v2
- 2.40.1-SNAPSHOT
+ 2.40.1
com.google.api.grpc
proto-google-cloud-storage-control-v2
- 2.40.1-SNAPSHOT
+ 2.40.1
diff --git a/google-cloud-storage-control/pom.xml b/google-cloud-storage-control/pom.xml
index cf5c06b5b3..fd58a79375 100644
--- a/google-cloud-storage-control/pom.xml
+++ b/google-cloud-storage-control/pom.xml
@@ -5,13 +5,13 @@
4.0.0
com.google.cloud
google-cloud-storage-control
- 2.40.1-SNAPSHOT
+ 2.40.1
google-cloud-storage-control
GRPC library for google-cloud-storage-control
com.google.cloud
google-cloud-storage-parent
- 2.40.1-SNAPSHOT
+ 2.40.1
diff --git a/google-cloud-storage/pom.xml b/google-cloud-storage/pom.xml
index df57a81762..7611c23326 100644
--- a/google-cloud-storage/pom.xml
+++ b/google-cloud-storage/pom.xml
@@ -2,7 +2,7 @@
4.0.0
google-cloud-storage
- 2.40.1-SNAPSHOT
+ 2.40.1
jar
Google Cloud Storage
https://github.com/googleapis/java-storage
@@ -12,7 +12,7 @@
com.google.cloud
google-cloud-storage-parent
- 2.40.1-SNAPSHOT
+ 2.40.1
google-cloud-storage
diff --git a/grpc-google-cloud-storage-control-v2/pom.xml b/grpc-google-cloud-storage-control-v2/pom.xml
index 1b571e9266..301d03a73f 100644
--- a/grpc-google-cloud-storage-control-v2/pom.xml
+++ b/grpc-google-cloud-storage-control-v2/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-storage-control-v2
- 2.40.1-SNAPSHOT
+ 2.40.1
grpc-google-cloud-storage-control-v2
GRPC library for google-cloud-storage
com.google.cloud
google-cloud-storage-parent
- 2.40.1-SNAPSHOT
+ 2.40.1
diff --git a/grpc-google-cloud-storage-v2/pom.xml b/grpc-google-cloud-storage-v2/pom.xml
index 0e7be55a03..71ec72b7ea 100644
--- a/grpc-google-cloud-storage-v2/pom.xml
+++ b/grpc-google-cloud-storage-v2/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-storage-v2
- 2.40.1-alpha-SNAPSHOT
+ 2.40.1-alpha
grpc-google-cloud-storage-v2
GRPC library for grpc-google-cloud-storage-v2
com.google.cloud
google-cloud-storage-parent
- 2.40.1-SNAPSHOT
+ 2.40.1
diff --git a/pom.xml b/pom.xml
index 91b383b836..296f0041a8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-storage-parent
pom
- 2.40.1-SNAPSHOT
+ 2.40.1
Storage Parent
https://github.com/googleapis/java-storage
@@ -76,7 +76,7 @@
com.google.cloud
google-cloud-storage
- 2.40.1-SNAPSHOT
+ 2.40.1
com.google.apis
@@ -98,32 +98,32 @@
com.google.api.grpc
proto-google-cloud-storage-v2
- 2.40.1-alpha-SNAPSHOT
+ 2.40.1-alpha
com.google.api.grpc
grpc-google-cloud-storage-v2
- 2.40.1-alpha-SNAPSHOT
+ 2.40.1-alpha
com.google.api.grpc
gapic-google-cloud-storage-v2
- 2.40.1-alpha-SNAPSHOT
+ 2.40.1-alpha
com.google.api.grpc
grpc-google-cloud-storage-control-v2
- 2.40.1-SNAPSHOT
+ 2.40.1
com.google.api.grpc
proto-google-cloud-storage-control-v2
- 2.40.1-SNAPSHOT
+ 2.40.1
com.google.cloud
google-cloud-storage-control
- 2.40.1-SNAPSHOT
+ 2.40.1
com.google.cloud
diff --git a/proto-google-cloud-storage-control-v2/pom.xml b/proto-google-cloud-storage-control-v2/pom.xml
index 24bdbda734..4125fa00c9 100644
--- a/proto-google-cloud-storage-control-v2/pom.xml
+++ b/proto-google-cloud-storage-control-v2/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-storage-control-v2
- 2.40.1-SNAPSHOT
+ 2.40.1
proto-google-cloud-storage-control-v2
Proto library for proto-google-cloud-storage-control-v2
com.google.cloud
google-cloud-storage-parent
- 2.40.1-SNAPSHOT
+ 2.40.1
diff --git a/proto-google-cloud-storage-v2/pom.xml b/proto-google-cloud-storage-v2/pom.xml
index b8472faff0..5cef367b2b 100644
--- a/proto-google-cloud-storage-v2/pom.xml
+++ b/proto-google-cloud-storage-v2/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-storage-v2
- 2.40.1-alpha-SNAPSHOT
+ 2.40.1-alpha
proto-google-cloud-storage-v2
PROTO library for proto-google-cloud-storage-v2
com.google.cloud
google-cloud-storage-parent
- 2.40.1-SNAPSHOT
+ 2.40.1
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 6a99df3e9d..1f54e417e1 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -35,7 +35,7 @@
com.google.cloud
google-cloud-storage-control
- 2.40.1-SNAPSHOT
+ 2.40.1
diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml
index fd2c97c4fd..3391525543 100644
--- a/samples/native-image-sample/pom.xml
+++ b/samples/native-image-sample/pom.xml
@@ -67,7 +67,7 @@
com.google.cloud
google-cloud-storage-control
- 2.40.1-SNAPSHOT
+ 2.40.1
compile
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 91c6df8261..d8d687b89f 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,12 +28,12 @@
com.google.cloud
google-cloud-storage
- 2.40.1-SNAPSHOT
+ 2.40.1
com.google.cloud
google-cloud-storage-control
- 2.40.1-SNAPSHOT
+ 2.40.1
compile
diff --git a/storage-shared-benchmarking/pom.xml b/storage-shared-benchmarking/pom.xml
index 98e8e19f62..b03c200be6 100644
--- a/storage-shared-benchmarking/pom.xml
+++ b/storage-shared-benchmarking/pom.xml
@@ -10,7 +10,7 @@
com.google.cloud
google-cloud-storage-parent
- 2.40.1-SNAPSHOT
+ 2.40.1
@@ -31,7 +31,7 @@
com.google.cloud
google-cloud-storage
- 2.40.1-SNAPSHOT
+ 2.40.1
tests
diff --git a/versions.txt b/versions.txt
index 39d03adf9a..e316bf757c 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,10 +1,10 @@
# Format:
# module:released-version:current-version
-google-cloud-storage:2.40.0:2.40.1-SNAPSHOT
-gapic-google-cloud-storage-v2:2.40.0-alpha:2.40.1-alpha-SNAPSHOT
-grpc-google-cloud-storage-v2:2.40.0-alpha:2.40.1-alpha-SNAPSHOT
-proto-google-cloud-storage-v2:2.40.0-alpha:2.40.1-alpha-SNAPSHOT
-google-cloud-storage-control:2.40.0:2.40.1-SNAPSHOT
-proto-google-cloud-storage-control-v2:2.40.0:2.40.1-SNAPSHOT
-grpc-google-cloud-storage-control-v2:2.40.0:2.40.1-SNAPSHOT
+google-cloud-storage:2.40.1:2.40.1
+gapic-google-cloud-storage-v2:2.40.1-alpha:2.40.1-alpha
+grpc-google-cloud-storage-v2:2.40.1-alpha:2.40.1-alpha
+proto-google-cloud-storage-v2:2.40.1-alpha:2.40.1-alpha
+google-cloud-storage-control:2.40.1:2.40.1
+proto-google-cloud-storage-control-v2:2.40.1:2.40.1
+grpc-google-cloud-storage-control-v2:2.40.1:2.40.1
From 4dccf767d2c624d3e90cdae40b954c606cc08676 Mon Sep 17 00:00:00 2001
From: Owl Bot
Date: Wed, 26 Jun 2024 18:45:29 +0000
Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?=
=?UTF-8?q?st-processor?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
---
README.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 1f325c4c55..33eacab64b 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ If you are using Maven without the BOM, add this to your dependencies:
com.google.cloud
google-cloud-storage
- 2.40.1
+ 2.40.0
com.google.cloud
@@ -59,20 +59,20 @@ If you are using Maven without the BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies:
```Groovy
-implementation platform('com.google.cloud:libraries-bom:2.40.1')
+implementation platform('com.google.cloud:libraries-bom:26.42.0')
implementation 'com.google.cloud:google-cloud-storage'
```
If you are using Gradle without BOM, add this to your dependencies:
```Groovy
-implementation 'com.google.cloud:google-cloud-storage:2.40.1'
+implementation 'com.google.cloud:google-cloud-storage:2.40.0'
```
If you are using SBT, add this to your dependencies:
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "2.40.1"
+libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "2.40.0"
```
@@ -504,7 +504,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-storage/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-storage.svg
-[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage/2.40.1
+[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage/2.40.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles