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..33eacab64b 100644
--- a/README.md
+++ b/README.md
@@ -51,7 +51,7 @@ 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
```
@@ -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
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