You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by GitBox <gi...@apache.org> on 2022/10/27 05:30:37 UTC
[GitHub] [tika] dependabot[bot] opened a new pull request, #771: Bump google-cloud-storage from 2.13.1 to 2.14.0
dependabot[bot] opened a new pull request, #771:
URL: https://github.com/apache/tika/pull/771
Bumps [google-cloud-storage](https://github.com/googleapis/java-storage) from 2.13.1 to 2.14.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/googleapis/java-storage/releases">google-cloud-storage's releases</a>.</em></p>
<blockquote>
<h2>v2.14.0</h2>
<h2><a href="https://github.com/googleapis/java-storage/compare/v2.13.1...v2.14.0">2.14.0</a> (2022-10-26)</h2>
<h3>Google Cloud Storage gRPC API Preview</h3>
<p>The first release of <code>google-cloud-storage</code> with support for a subset of the Google Cloud Storage gRPC API which is in private preview. The most common operations have all been implemented and are available for experimentation.</p>
<p>Given not all public api surface of <code>google-cloud-storage</code> classes are supported for gRPC a new annotation <code>@TransportCompatibility</code> has been added to various classes, methods and fields/enum values to signal where that thing can be expected to work. As we implement more of the operations these annotations will be updated.</p>
<p>All new gRPC related APIs are annotated with <code>@BetaApi</code> to denote they are in preview and the possibility of breaking change is present. At this time, opting to use any of the gRPC transport mode means you are okay with the possibility of a breaking change happening. When the APIs are out of preview, we will remove the <code>@BetaApi</code> annotation to signal they are now considered stable and will not break outside a major version.</p>
<p><strong><em>NOTICE</em></strong>: Using the gRPC transport is exclusive. Any operations which have not yet been implemented for gRPC will result in a runtime error. For those operations which are not yet implemented, please continue to use the existing HTTP transport.</p>
<p>Special thanks (in alphabetical order) to <a href="https://github.com/BenWhitehead"><code>@BenWhitehead</code></a>, <a href="https://github.com/frankyn"><code>@frankyn</code></a>, <a href="https://github.com/jesselovelace"><code>@jesselovelace</code></a> and <a href="https://github.com/sydney-munro"><code>@sydney-munro</code></a> for their hard work on this effort.</p>
<h4>Notable Improvements</h4>
<ol>
<li>
<p>For all gRPC media related operations (upload/download) we are now more resource courteous then the corresponding HTTP counterpart. Buffers are fixed to their specified size (can't arbitrarily grow without bounds), are allocated lazily and only if necessary.</p>
<ol>
<li>Investigation into the possibility of backporting these improvements to the HTTP counterparts is ongoing</li>
</ol>
</li>
<li>
<p>Preview support for Accessing GCS via gRPC</p>
<ol>
<li>Set the environment variable <code>GOOGLE_CLOUD_ENABLE_DIRECT_PATH_XDS=true</code>, then run your program.</li>
<li>When configuring your <code>StorageOptions</code> mimic the following:
<pre><code> StorageOptions.grpc()
.setAttemptDirectPath(true)
.build()
</code></pre>
</li>
<li>Internally the default host endpoint <code>https://storage.googleapis.com:443</code> will be transformed to the applicable <code>google-c2p-experimental:///storage.googleapis.com</code></li>
</ol>
</li>
<li>
<p>Support for <code>java.time</code> types on model classes</p>
<ol>
<li>Points in time are now represented with <code>java.time.OffsetDateTime</code>, while durations are represented with <code>java.time.Duration</code></li>
<li>All existing <code>Long</code> centric methods are still present, but have been deprecated in favor of their corresponding <code>java.time</code> variant</li>
<li>At the next major version, these deprecated methods will be replaced with types from <code>java.time</code> and the <code>java.time</code> variant methods will be deprecated</li>
</ol>
</li>
<li>
<p><code>com.google.cloud.storage.Storage</code> now extends <code>java.lang.AutoClosable</code> thereby allowing it to be used in a try-with-resource block.</p>
<ol>
<li>When using gRPC transport be sure to call <code>Storage#close()</code> when complete so it can clean up the gRPC middleware and resources.</li>
<li>When using HTTP transport calling <code>Storage#close()</code> will gracefully no-op, allowing for the same style of use regardless of transport.</li>
</ol>
</li>
<li>
<p>When downloading an object via gRPC idle stream detection is now present which will restart a stream if it is determined to be idle and has remaining retry budget</p>
</li>
<li>
<p>Update equals()/hashCode() methods to follow the expected contract</p>
</li>
<li>
<p>The new gRPC transport based implementation continues to provide idempotency aware automatic retries the same as HTTP</p>
</li>
<li>
<p>Expanded test suite which should bring improved stability and reliability to both HTTP and gRPC transport implementations</p>
</li>
<li>
<p>New <code>com.google.cloud:google-cloud-storage-bom</code> maven bom available to use for coordinated dependency version resolution for multiple storage artifacts</p>
</li>
</ol>
<h4>Not yet implemented</h4>
<ol>
<li>
<p>All ACL specific operations.</p>
<ol>
<li>These will be implemented in the near future</li>
<li>In the interim, reading and setting of ACLs and Default Object ACLs can be performed via Object/Bucket operations</li>
</ol>
</li>
<li>
<p>All Notification related operations</p>
<ol>
<li>These will be implemented in the near future</li>
</ol>
</li>
</ol>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/googleapis/java-storage/blob/main/CHANGELOG.md">google-cloud-storage's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/googleapis/java-storage/compare/v2.13.1...v2.14.0">2.14.0</a> (2022-10-26)</h2>
<h3>Google Cloud Storage gRPC API Preview</h3>
<p>The first release of <code>google-cloud-storage</code> with support for a subset of the Google Cloud Storage gRPC API which is in private preview. The most common operations have all been implemented and are available for experimentation.</p>
<p>Given not all public api surface of <code>google-cloud-storage</code> classes are supported for gRPC a new annotation <code>@TransportCompatibility</code> has been added to various classes, methods and fields/enum values to signal where that thing can be expected to work. As we implement more of the operations these annotations will be updated.</p>
<p>All new gRPC related APIs are annotated with <code>@BetaApi</code> to denote they are in preview and the possibility of breaking change is present. At this time, opting to use any of the gRPC transport mode means you are okay with the possibility of a breaking change happening. When the APIs are out of preview, we will remove the <code>@BetaApi</code> annotation to signal they are now considered stable and will not break outside a major version.</p>
<p><strong><em>NOTICE</em></strong>: Using the gRPC transport is exclusive. Any operations which have not yet been implemented for gRPC will result in a runtime error. For those operations which are not yet implemented, please continue to use the existing HTTP transport.</p>
<p>Special thanks (in alphabetical order) to <a href="https://github.com/BenWhitehead"><code>@BenWhitehead</code></a>, <a href="https://github.com/frankyn"><code>@frankyn</code></a>, <a href="https://github.com/jesselovelace"><code>@jesselovelace</code></a> and <a href="https://github.com/sydney-munro"><code>@sydney-munro</code></a> for their hard work on this effort.</p>
<h4>Notable Improvements</h4>
<ol>
<li>
<p>For all gRPC media related operations (upload/download) we are now more resource courteous then the corresponding HTTP counterpart. Buffers are fixed to their specified size (can't arbitrarily grow without bounds), are allocated lazily and only if necessary.</p>
<ol>
<li>Investigation into the possibility of backporting these improvements to the HTTP counterparts is ongoing</li>
</ol>
</li>
<li>
<p>Preview support for Accessing GCS via gRPC</p>
<ol>
<li>Set the environment variable <code>GOOGLE_CLOUD_ENABLE_DIRECT_PATH_XDS=true</code>, then run your program.</li>
<li>When configuring your <code>StorageOptions</code> mimic the following:
<pre><code> StorageOptions.grpc()
.setAttemptDirectPath(true)
.build()
</code></pre>
</li>
<li>Internally the default host endpoint <code>https://storage.googleapis.com:443</code> will be transformed to the applicable <code>google-c2p-experimental:///storage.googleapis.com</code></li>
</ol>
</li>
<li>
<p>Support for <code>java.time</code> types on model classes</p>
<ol>
<li>Points in time are now represented with <code>java.time.OffsetDateTime</code>, while durations are represented with <code>java.time.Duration</code></li>
<li>All existing <code>Long</code> centric methods are still present, but have been deprecated in favor of their corresponding <code>java.time</code> variant</li>
<li>At the next major version, these deprecated methods will be replaced with types from <code>java.time</code> and the <code>java.time</code> variant methods will be deprecated</li>
</ol>
</li>
<li>
<p><code>com.google.cloud.storage.Storage</code> now extends <code>java.lang.AutoClosable</code> thereby allowing it to be used in a try-with-resource block.</p>
<ol>
<li>When using gRPC transport be sure to call <code>Storage#close()</code> when complete so it can clean up the gRPC middleware and resources.</li>
<li>When using HTTP transport calling <code>Storage#close()</code> will gracefully no-op, allowing for the same style of use regardless of transport.</li>
</ol>
</li>
<li>
<p>When downloading an object via gRPC idle stream detection is now present which will restart a stream if it is determined to be idle and has remaining retry budget</p>
</li>
<li>
<p>Update equals()/hashCode() methods to follow the expected contract</p>
</li>
<li>
<p>The new gRPC transport based implementation continues to provide idempotency aware automatic retries the same as HTTP</p>
</li>
<li>
<p>Expanded test suite which should bring improved stability and reliability to both HTTP and gRPC transport implementations</p>
</li>
<li>
<p>New <code>com.google.cloud:google-cloud-storage-bom</code> maven bom available to use for coordinated dependency version resolution for multiple storage artifacts</p>
</li>
</ol>
<h4>Not yet implemented</h4>
<ol>
<li>
<p>All ACL specific operations.</p>
<ol>
<li>These will be implemented in the near future</li>
<li>In the interim, reading and setting of ACLs and Default Object ACLs can be performed via Object/Bucket operations</li>
</ol>
</li>
<li>
<p>All Notification related operations</p>
<ol>
<li>These will be implemented in the near future</li>
<li>In the interim, please continue to use the HTTP transport</li>
</ol>
</li>
</ol>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/googleapis/java-storage/commit/69c842dedd77c07835fa953f46176bab8e2e9ab5"><code>69c842d</code></a> chore(main): release 2.14.0 (<a href="https://github-redirect.dependabot.com/googleapis/java-storage/issues/1728">#1728</a>)</li>
<li><a href="https://github.com/googleapis/java-storage/commit/efddab2ff4a374fbe7894fa91e472ba3abcf6305"><code>efddab2</code></a> test(deps): update dependency net.jqwik:jqwik to v1.7.0 (<a href="https://github-redirect.dependabot.com/googleapis/java-storage/issues/1739">#1739</a>)</li>
<li><a href="https://github.com/googleapis/java-storage/commit/95d7ad9e5cd4106cadb23d9b2221419797fed5c1"><code>95d7ad9</code></a> feat: initial preview implementation of Storage over gRPC (<a href="https://github-redirect.dependabot.com/googleapis/java-storage/issues/1740">#1740</a>)</li>
<li><a href="https://github.com/googleapis/java-storage/commit/9b2d446036a7258723991bac7fd9a176c5336346"><code>9b2d446</code></a> chore: cleanup repo settings for branch feat/grpc-storage post merge</li>
<li><a href="https://github.com/googleapis/java-storage/commit/7c0a8e5398c830290feba5bbab20523c269eb5eb"><code>7c0a8e5</code></a> Merge branch 'main' into feat/grpc-storage</li>
<li><a href="https://github.com/googleapis/java-storage/commit/7ff0591129d2c9bbb61d7cf0fecdd825a7217f53"><code>7ff0591</code></a> build: add com.google.cloud:google-cloud-storage-bom (<a href="https://github-redirect.dependabot.com/googleapis/java-storage/issues/1731">#1731</a>)</li>
<li><a href="https://github.com/googleapis/java-storage/commit/c3f8cb3f8758127131e839a045b4397391b10bcc"><code>c3f8cb3</code></a> test(deps): update kms.version to v0.99.0 (<a href="https://github-redirect.dependabot.com/googleapis/java-storage/issues/1735">#1735</a>)</li>
<li><a href="https://github.com/googleapis/java-storage/commit/04e51662d1f62d987e89ec4e221a3a02c02eaec1"><code>04e5166</code></a> fix: properly implement GrpcBlobReadChannel#isOpen (<a href="https://github-redirect.dependabot.com/googleapis/java-storage/issues/1733">#1733</a>)</li>
<li><a href="https://github.com/googleapis/java-storage/commit/d2478868d2fe5372c7b2a29e21d167f2a7abbdc6"><code>d247886</code></a> chore: [java] remove flatten plugin dependency check (<a href="https://github-redirect.dependabot.com/googleapis/java-storage/issues/1663">#1663</a>) (<a href="https://github-redirect.dependabot.com/googleapis/java-storage/issues/1732">#1732</a>)</li>
<li><a href="https://github.com/googleapis/java-storage/commit/d5e937fddfe71674d218867e1f24d9f6d771e61e"><code>d5e937f</code></a> Merge branch 'main' into feat/grpc-storage</li>
<li>Additional commits viewable in <a href="https://github.com/googleapis/java-storage/compare/v2.13.1...v2.14.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@tika.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tika] THausherr merged pull request #771: Bump google-cloud-storage from 2.13.1 to 2.14.0
Posted by GitBox <gi...@apache.org>.
THausherr merged PR #771:
URL: https://github.com/apache/tika/pull/771
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@tika.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org