diff --git a/.readme-partials.yaml b/.readme-partials.yaml index adc8597c84..0cb64e02a6 100644 --- a/.readme-partials.yaml +++ b/.readme-partials.yaml @@ -32,19 +32,19 @@ custom_content: | com.google.cloud google-cloud-storage-control - 2.40.2-SNAPSHOT + 2.41.0 ``` 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:2.41.0') 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.2-SNAPSHOT' + implementation 'com.google.cloud:google-cloud-storage-control:2.41.0' ``` #### Creating an authorized service object diff --git a/CHANGELOG.md b/CHANGELOG.md index 5821bc840d..a889954b2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## [2.41.0](https://github.com/googleapis/java-storage/compare/v2.40.1...v2.41.0) (2024-07-31) + + +### Features + +* Enable gRPC client open telemetry metrics reporting ([#2590](https://github.com/googleapis/java-storage/issues/2590)) ([d153228](https://github.com/googleapis/java-storage/commit/d153228a301007b5952de9722f370dda0784473a)) + + +### Bug Fixes + +* Add UnknownHostException to set of retriable exception ([#2651](https://github.com/googleapis/java-storage/issues/2651)) ([18de9fc](https://github.com/googleapis/java-storage/commit/18de9fcdb831132336eca4112dfe0515174bba7b)) +* Update grpc resumable upload error categorization to be more tolerant ([#2644](https://github.com/googleapis/java-storage/issues/2644)) ([95697dd](https://github.com/googleapis/java-storage/commit/95697dd3d744351058c13793c6ae576820f6b638)) +* Update Storage#readAllBytes to respect shouldReturnRawInputStream option ([#2635](https://github.com/googleapis/java-storage/issues/2635)) ([dc883cc](https://github.com/googleapis/java-storage/commit/dc883cce5f547def7cfb34c4f8a2d409493e4cb9)) +* Update TransferManager downloads to reduce in memory buffering ([#2630](https://github.com/googleapis/java-storage/issues/2630)) ([fc2fd75](https://github.com/googleapis/java-storage/commit/fc2fd750ed60b840e6285a4b1f4ecce739df4c09)) +* Use fast calculation for totalRemaining number of bytes from multiple ByteBuffers ([#2633](https://github.com/googleapis/java-storage/issues/2633)) ([758b3dd](https://github.com/googleapis/java-storage/commit/758b3dd3cc4f6dfc2dfc12c3a77472d97c31c5d5)) + + +### Dependencies + +* Update dependency com.google.apis:google-api-services-storage to v1-rev20240625-2.0.0 ([#2616](https://github.com/googleapis/java-storage/issues/2616)) ([b22babb](https://github.com/googleapis/java-storage/commit/b22babbe26572d8c4289a65a0b125b2a60e8ef79)) +* Update dependency com.google.apis:google-api-services-storage to v1-rev20240706-2.0.0 ([#2634](https://github.com/googleapis/java-storage/issues/2634)) ([1ccaa0c](https://github.com/googleapis/java-storage/commit/1ccaa0c64887a0661438957e9427237ee005ccf1)) +* Update dependency com.google.cloud:sdk-platform-java-config to v3.33.0 ([#2647](https://github.com/googleapis/java-storage/issues/2647)) ([8196259](https://github.com/googleapis/java-storage/commit/8196259927330ecfe3e604c24d248f7935e7fe0d)) +* Update dependency net.jqwik:jqwik to v1.9.0 ([#2608](https://github.com/googleapis/java-storage/issues/2608)) ([a20eb66](https://github.com/googleapis/java-storage/commit/a20eb660ddfa4b68d79ce04496064f3025676d5a)) +* Update dependency org.junit.vintage:junit-vintage-engine to v5.10.3 ([#2604](https://github.com/googleapis/java-storage/issues/2604)) ([8c79f39](https://github.com/googleapis/java-storage/commit/8c79f39ad78d100065c189bcf8e18644b29ff9ed)) +* Update junit-platform.version to v5.10.3 ([#2605](https://github.com/googleapis/java-storage/issues/2605)) ([a532ee4](https://github.com/googleapis/java-storage/commit/a532ee49e2ff5972ea8a2aabbab2dcf6fe0df774)) + ## [2.40.1](https://github.com/googleapis/java-storage/compare/v2.40.0...v2.40.1) (2024-06-26) diff --git a/README.md b/README.md index dada3cb6c6..73fc298343 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.1 + 2.41.0 com.google.cloud google-cloud-storage-control - 2.40.2-SNAPSHOT + 2.41.0 ``` @@ -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.43.0') +implementation platform('com.google.cloud:libraries-bom:2.41.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.41.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.41.0" ``` @@ -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.2-SNAPSHOT + 2.41.0 ``` 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:2.41.0') 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.2-SNAPSHOT' +implementation 'com.google.cloud:google-cloud-storage-control:2.41.0' ``` #### Creating an authorized service object @@ -508,7 +508,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.41.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 diff --git a/gapic-google-cloud-storage-v2/pom.xml b/gapic-google-cloud-storage-v2/pom.xml index 76bc3173df..7a22e710e4 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.2-alpha-SNAPSHOT + 2.41.0-alpha gapic-google-cloud-storage-v2 GRPC library for gapic-google-cloud-storage-v2 com.google.cloud google-cloud-storage-parent - 2.40.2-SNAPSHOT + 2.41.0 diff --git a/google-cloud-storage-bom/pom.xml b/google-cloud-storage-bom/pom.xml index a91a0dd3b1..28c2f85e85 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.2-SNAPSHOT + 2.41.0 pom com.google.cloud @@ -69,37 +69,37 @@ com.google.cloud google-cloud-storage - 2.40.2-SNAPSHOT + 2.41.0 com.google.api.grpc gapic-google-cloud-storage-v2 - 2.40.2-alpha-SNAPSHOT + 2.41.0-alpha com.google.api.grpc grpc-google-cloud-storage-v2 - 2.40.2-alpha-SNAPSHOT + 2.41.0-alpha com.google.api.grpc proto-google-cloud-storage-v2 - 2.40.2-alpha-SNAPSHOT + 2.41.0-alpha com.google.cloud google-cloud-storage-control - 2.40.2-SNAPSHOT + 2.41.0 com.google.api.grpc grpc-google-cloud-storage-control-v2 - 2.40.2-SNAPSHOT + 2.41.0 com.google.api.grpc proto-google-cloud-storage-control-v2 - 2.40.2-SNAPSHOT + 2.41.0 diff --git a/google-cloud-storage-control/pom.xml b/google-cloud-storage-control/pom.xml index 799e37f0ed..fe1aa8edaf 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.2-SNAPSHOT + 2.41.0 google-cloud-storage-control GRPC library for google-cloud-storage-control com.google.cloud google-cloud-storage-parent - 2.40.2-SNAPSHOT + 2.41.0 diff --git a/google-cloud-storage/pom.xml b/google-cloud-storage/pom.xml index 839cc39559..fbc9e99af3 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.2-SNAPSHOT + 2.41.0 jar Google Cloud Storage https://github.com/googleapis/java-storage @@ -12,7 +12,7 @@ com.google.cloud google-cloud-storage-parent - 2.40.2-SNAPSHOT + 2.41.0 google-cloud-storage diff --git a/grpc-google-cloud-storage-control-v2/pom.xml b/grpc-google-cloud-storage-control-v2/pom.xml index b102687fca..cd85deba4b 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.2-SNAPSHOT + 2.41.0 grpc-google-cloud-storage-control-v2 GRPC library for google-cloud-storage com.google.cloud google-cloud-storage-parent - 2.40.2-SNAPSHOT + 2.41.0 diff --git a/grpc-google-cloud-storage-v2/pom.xml b/grpc-google-cloud-storage-v2/pom.xml index 5256d6ce86..2f788f3b84 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.2-alpha-SNAPSHOT + 2.41.0-alpha grpc-google-cloud-storage-v2 GRPC library for grpc-google-cloud-storage-v2 com.google.cloud google-cloud-storage-parent - 2.40.2-SNAPSHOT + 2.41.0 diff --git a/pom.xml b/pom.xml index 4778468747..eb1f4212d2 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-storage-parent pom - 2.40.2-SNAPSHOT + 2.41.0 Storage Parent https://github.com/googleapis/java-storage @@ -127,7 +127,7 @@ com.google.cloud google-cloud-storage - 2.40.2-SNAPSHOT + 2.41.0 com.google.apis @@ -149,32 +149,32 @@ com.google.api.grpc proto-google-cloud-storage-v2 - 2.40.2-alpha-SNAPSHOT + 2.41.0-alpha com.google.api.grpc grpc-google-cloud-storage-v2 - 2.40.2-alpha-SNAPSHOT + 2.41.0-alpha com.google.api.grpc gapic-google-cloud-storage-v2 - 2.40.2-alpha-SNAPSHOT + 2.41.0-alpha com.google.api.grpc grpc-google-cloud-storage-control-v2 - 2.40.2-SNAPSHOT + 2.41.0 com.google.api.grpc proto-google-cloud-storage-control-v2 - 2.40.2-SNAPSHOT + 2.41.0 com.google.cloud google-cloud-storage-control - 2.40.2-SNAPSHOT + 2.41.0 com.google.cloud diff --git a/proto-google-cloud-storage-control-v2/pom.xml b/proto-google-cloud-storage-control-v2/pom.xml index ff2abbc939..b246d36a9f 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.2-SNAPSHOT + 2.41.0 proto-google-cloud-storage-control-v2 Proto library for proto-google-cloud-storage-control-v2 com.google.cloud google-cloud-storage-parent - 2.40.2-SNAPSHOT + 2.41.0 diff --git a/proto-google-cloud-storage-v2/pom.xml b/proto-google-cloud-storage-v2/pom.xml index 193645a5d8..c5f35483eb 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.2-alpha-SNAPSHOT + 2.41.0-alpha proto-google-cloud-storage-v2 PROTO library for proto-google-cloud-storage-v2 com.google.cloud google-cloud-storage-parent - 2.40.2-SNAPSHOT + 2.41.0 diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index d78aef5226..d17cc74692 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.2-SNAPSHOT + 2.41.0 diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml index e25c7e101e..2e15428c09 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.2-SNAPSHOT + 2.41.0 compile diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 848c09dfcc..fd499ab676 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,12 +28,12 @@ com.google.cloud google-cloud-storage - 2.40.2-SNAPSHOT + 2.41.0 com.google.cloud google-cloud-storage-control - 2.40.2-SNAPSHOT + 2.41.0 compile diff --git a/storage-shared-benchmarking/pom.xml b/storage-shared-benchmarking/pom.xml index d51510c251..2dba989625 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.2-SNAPSHOT + 2.41.0 @@ -31,7 +31,7 @@ com.google.cloud google-cloud-storage - 2.40.2-SNAPSHOT + 2.41.0 tests diff --git a/versions.txt b/versions.txt index f69020a214..fdc8027457 100644 --- a/versions.txt +++ b/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -google-cloud-storage:2.40.1:2.40.2-SNAPSHOT -gapic-google-cloud-storage-v2:2.40.1-alpha:2.40.2-alpha-SNAPSHOT -grpc-google-cloud-storage-v2:2.40.1-alpha:2.40.2-alpha-SNAPSHOT -proto-google-cloud-storage-v2:2.40.1-alpha:2.40.2-alpha-SNAPSHOT -google-cloud-storage-control:2.40.1:2.40.2-SNAPSHOT -proto-google-cloud-storage-control-v2:2.40.1:2.40.2-SNAPSHOT -grpc-google-cloud-storage-control-v2:2.40.1:2.40.2-SNAPSHOT +google-cloud-storage:2.41.0:2.41.0 +gapic-google-cloud-storage-v2:2.41.0-alpha:2.41.0-alpha +grpc-google-cloud-storage-v2:2.41.0-alpha:2.41.0-alpha +proto-google-cloud-storage-v2:2.41.0-alpha:2.41.0-alpha +google-cloud-storage-control:2.41.0:2.41.0 +proto-google-cloud-storage-control-v2:2.41.0:2.41.0 +grpc-google-cloud-storage-control-v2:2.41.0:2.41.0