diff --git a/.readme-partials.yaml b/.readme-partials.yaml index adc8597c84..7b1eccf07e 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.40.2 ``` 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.40.2') 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.40.2' ``` #### Creating an authorized service object diff --git a/CHANGELOG.md b/CHANGELOG.md index 5821bc840d..1e821695f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## [2.40.2](https://github.com/googleapis/java-storage/compare/v2.40.1...v2.40.2) (2024-07-31) + + +### Bug Fixes + +* 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..ec67c9fb48 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.40.2 com.google.cloud google-cloud-storage-control - 2.40.2-SNAPSHOT + 2.40.2 ``` @@ -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.40.2') 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.2' ``` 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.2" ``` @@ -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.40.2 ``` 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.40.2') 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.40.2' ``` #### 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.40.2 [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..a24167960e 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.40.2-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.40.2 diff --git a/google-cloud-storage-bom/pom.xml b/google-cloud-storage-bom/pom.xml index a91a0dd3b1..2fc66db2de 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.40.2 pom com.google.cloud @@ -69,37 +69,37 @@ com.google.cloud google-cloud-storage - 2.40.2-SNAPSHOT + 2.40.2 com.google.api.grpc gapic-google-cloud-storage-v2 - 2.40.2-alpha-SNAPSHOT + 2.40.2-alpha com.google.api.grpc grpc-google-cloud-storage-v2 - 2.40.2-alpha-SNAPSHOT + 2.40.2-alpha com.google.api.grpc proto-google-cloud-storage-v2 - 2.40.2-alpha-SNAPSHOT + 2.40.2-alpha com.google.cloud google-cloud-storage-control - 2.40.2-SNAPSHOT + 2.40.2 com.google.api.grpc grpc-google-cloud-storage-control-v2 - 2.40.2-SNAPSHOT + 2.40.2 com.google.api.grpc proto-google-cloud-storage-control-v2 - 2.40.2-SNAPSHOT + 2.40.2 diff --git a/google-cloud-storage-control/pom.xml b/google-cloud-storage-control/pom.xml index 799e37f0ed..da3eae1b59 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.40.2 google-cloud-storage-control GRPC library for google-cloud-storage-control com.google.cloud google-cloud-storage-parent - 2.40.2-SNAPSHOT + 2.40.2 diff --git a/google-cloud-storage/pom.xml b/google-cloud-storage/pom.xml index b6bc155e3d..d162a9a0a3 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.40.2 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.40.2 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..cc060c0f83 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.40.2 grpc-google-cloud-storage-control-v2 GRPC library for google-cloud-storage com.google.cloud google-cloud-storage-parent - 2.40.2-SNAPSHOT + 2.40.2 diff --git a/grpc-google-cloud-storage-v2/pom.xml b/grpc-google-cloud-storage-v2/pom.xml index 5256d6ce86..eb58b7e9c8 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.40.2-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.40.2 diff --git a/pom.xml b/pom.xml index 6087fd2918..dfe4b5caf2 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-storage-parent pom - 2.40.2-SNAPSHOT + 2.40.2 Storage Parent https://github.com/googleapis/java-storage @@ -76,7 +76,7 @@ com.google.cloud google-cloud-storage - 2.40.2-SNAPSHOT + 2.40.2 com.google.apis @@ -98,32 +98,32 @@ com.google.api.grpc proto-google-cloud-storage-v2 - 2.40.2-alpha-SNAPSHOT + 2.40.2-alpha com.google.api.grpc grpc-google-cloud-storage-v2 - 2.40.2-alpha-SNAPSHOT + 2.40.2-alpha com.google.api.grpc gapic-google-cloud-storage-v2 - 2.40.2-alpha-SNAPSHOT + 2.40.2-alpha com.google.api.grpc grpc-google-cloud-storage-control-v2 - 2.40.2-SNAPSHOT + 2.40.2 com.google.api.grpc proto-google-cloud-storage-control-v2 - 2.40.2-SNAPSHOT + 2.40.2 com.google.cloud google-cloud-storage-control - 2.40.2-SNAPSHOT + 2.40.2 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..549ba1e7c5 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.40.2 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.40.2 diff --git a/proto-google-cloud-storage-v2/pom.xml b/proto-google-cloud-storage-v2/pom.xml index 193645a5d8..56291b5481 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.40.2-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.40.2 diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index d78aef5226..de2db13135 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.40.2 diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml index e25c7e101e..422eac202d 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.40.2 compile diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 848c09dfcc..645ec0b4b0 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.40.2 com.google.cloud google-cloud-storage-control - 2.40.2-SNAPSHOT + 2.40.2 compile diff --git a/storage-shared-benchmarking/pom.xml b/storage-shared-benchmarking/pom.xml index d51510c251..fe80d88b47 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.40.2 @@ -31,7 +31,7 @@ com.google.cloud google-cloud-storage - 2.40.2-SNAPSHOT + 2.40.2 tests diff --git a/versions.txt b/versions.txt index f69020a214..3e91c74631 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.40.2:2.40.2 +gapic-google-cloud-storage-v2:2.40.2-alpha:2.40.2-alpha +grpc-google-cloud-storage-v2:2.40.2-alpha:2.40.2-alpha +proto-google-cloud-storage-v2:2.40.2-alpha:2.40.2-alpha +google-cloud-storage-control:2.40.2:2.40.2 +proto-google-cloud-storage-control-v2:2.40.2:2.40.2 +grpc-google-cloud-storage-control-v2:2.40.2:2.40.2