diff --git a/CHANGELOG.md b/CHANGELOG.md index 73ddd4cdb2..2e952c9186 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [2.8.4](https://github.com/googleapis/java-core/compare/v2.8.3...v2.8.4) (2022-07-27) + + +### Documentation + +* update javadocs for ReadChannel#limit to be more clear ([#880](https://github.com/googleapis/java-core/issues/880)) ([c7de4e2](https://github.com/googleapis/java-core/commit/c7de4e2871d6a32cacc7aab69d826f3afd6301ef)) + + +### Dependencies + +* Update google-cloud-shared-config to v1.5.3 ([#882](https://github.com/googleapis/java-core/issues/882)) ([aabb0b4](https://github.com/googleapis/java-core/commit/aabb0b42076f8a02e7b31d604add567fa909df6c)) + ## [2.8.3](https://github.com/googleapis/java-core/compare/v2.8.2...v2.8.3) (2022-07-26) diff --git a/google-cloud-core-bom/pom.xml b/google-cloud-core-bom/pom.xml index 4aff35d169..4c4360fac4 100644 --- a/google-cloud-core-bom/pom.xml +++ b/google-cloud-core-bom/pom.xml @@ -3,12 +3,12 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.3 + 2.8.4 pom com.google.cloud google-cloud-shared-config - 1.5.2 + 1.5.3 Google Cloud Core @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.3 + 2.8.4 com.google.cloud google-cloud-core-grpc - 2.8.3 + 2.8.4 com.google.cloud google-cloud-core-http - 2.8.3 + 2.8.4 diff --git a/google-cloud-core-grpc/pom.xml b/google-cloud-core-grpc/pom.xml index 8bcb6af937..847748a1f4 100644 --- a/google-cloud-core-grpc/pom.xml +++ b/google-cloud-core-grpc/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-grpc - 2.8.3 + 2.8.4 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.3 + 2.8.4 google-cloud-core-grpc diff --git a/google-cloud-core-http/pom.xml b/google-cloud-core-http/pom.xml index a88965106a..269138c15a 100644 --- a/google-cloud-core-http/pom.xml +++ b/google-cloud-core-http/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-http - 2.8.3 + 2.8.4 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.3 + 2.8.4 google-cloud-core-http diff --git a/google-cloud-core/pom.xml b/google-cloud-core/pom.xml index 73b21e7f67..691765f15b 100644 --- a/google-cloud-core/pom.xml +++ b/google-cloud-core/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core - 2.8.3 + 2.8.4 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.3 + 2.8.4 google-cloud-core diff --git a/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java b/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java index 9a24b4e553..781326fa7a 100644 --- a/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java +++ b/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java @@ -55,9 +55,13 @@ public interface ReadChannel extends ReadableByteChannel, Closeable, Restorable< RestorableState capture(); /** - * Limit the maximum number of bytes available to be read from this channel. If the limit is + * Limit the maximum number of bytes to be read from the objects content, counting from the + * beginning of the object, which will be available to read from this channel. If the limit is * larger than the actual size of the content this will have no material impact. * + *

If used in conjunction with {@link #seek(long)} the total number of returned bytes from this + * channel will be reduced by the number of bytes specified to seek. + * *

NOTE:Implementers are not required to return a new instance from this method, however * they are allowed to. Users of this method should always use the instance returned from this * method. diff --git a/pom.xml b/pom.xml index 34414d75d8..dc1d55b257 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.3 + 2.8.4 Google Cloud Core Parent https://github.com/googleapis/java-core @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.5.2 + 1.5.3 diff --git a/versions.txt b/versions.txt index efdac3feb8..ee729e1c0e 100644 --- a/versions.txt +++ b/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.3:2.8.3 +google-cloud-core:2.8.4:2.8.4