Skip to content

Commit

Permalink
chore(deps): Bump opendal from 0.35.0 to 0.36.0 (#17540)
Browse files Browse the repository at this point in the history
Bumps [opendal](https://github.com/apache/incubator-opendal) from 0.35.0
to 0.36.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/apache/incubator-opendal/releases">opendal's
releases</a>.</em></p>
<blockquote>
<h2>v0.36.0</h2>
<h2>Upgrade to v0.36</h2>
<h3>Public API</h3>
<p>In v0.36, OpenDAL improving the <code>xxx_with</code> API by allow it
to be called in chain:</p>
<p>After this change, all <code>xxx_with</code> alike call will be
changed from</p>
<pre lang="rust"><code>let bs = op.read_with(
  &quot;path/to/file&quot;,
  OpRead::new()
    .with_range(0..=1024)
    .with_if_match(&quot;&lt;etag&gt;&quot;)
    .with_if_none_match(&quot;&lt;etag&gt;&quot;)
    .with_override_cache_control(&quot;&lt;cache_control&gt;&quot;)

.with_override_content_disposition(&quot;&lt;content_disposition&gt;&quot;)
  ).await?;
</code></pre>
<p>to</p>
<pre lang="rust"><code>let bs = op.read_with(&quot;path/to/file&quot;)
  .range(0..=1024)
  .if_match(&quot;&lt;etag&gt;&quot;)
  .if_none_match(&quot;&lt;etag&gt;&quot;)
  .override_cache_control(&quot;&lt;cache_control&gt;&quot;)
  .override_content_disposition(&quot;&lt;content_disposition&gt;&quot;)
  .await?;
</code></pre>
<p>For blocking API calls, we will need a <code>call()</code> at the
end:</p>
<pre lang="rust"><code>let bs = bop.read_with(&quot;path/to/file&quot;)
  .range(0..=1024)
  .if_match(&quot;&lt;etag&gt;&quot;)
  .if_none_match(&quot;&lt;etag&gt;&quot;)
  .override_cache_control(&quot;&lt;cache_control&gt;&quot;)
  .override_content_disposition(&quot;&lt;content_disposition&gt;&quot;)
  .call()?;
</code></pre>
<p>Along with this change, users don't need to call <code>OpXxx</code>
anymore so we moved it to <code>raw</code> API.</p>
<p>More detailes could be found at [RFC: Chain Based Operator
API][https://opendal.apache.org/docs/rust/opendal/docs/rfcs/rfc_2299_chain_based_operator_api/index.html].</p>
<h3>Raw API</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/apache/incubator-opendal/blob/main/CHANGELOG.md">opendal's
changelog</a>.</em></p>
<blockquote>
<h2>[v0.36.0] - 2023-05-30</h2>
<h3>Added</h3>
<ul>
<li>feat(service/fs): add append support for fs (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2296">#2296</a>)</li>
<li>feat(services/sftp): add append support for sftp (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2297">#2297</a>)</li>
<li>RFC-2299: Chain based Operator API (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2299">#2299</a>)</li>
<li>feat(services/azblob): add append support (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2302">#2302</a>)</li>
<li>feat(bindings/nodejs): add append support (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2322">#2322</a>)</li>
<li>feat(bindings/C): opendal_operator_ptr construction using kvs (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2329">#2329</a>)</li>
<li>feat(services/cos): append support (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2332">#2332</a>)</li>
<li>feat(bindings/java): implement Operator#delete (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2345">#2345</a>)</li>
<li>feat(bindings/java): support append (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2350">#2350</a>)</li>
<li>feat(bindings/java): save one jni call in the hot path (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2353">#2353</a>)</li>
<li>feat: server side encryption support for azblob (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2347">#2347</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>refactor(core): Implement RFC-2299 for stat_with (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2303">#2303</a>)</li>
<li>refactor(core): Implement RFC-2299 for BlockingOperator::write_with
(<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2305">#2305</a>)</li>
<li>refactor(core): Implement RFC-2299 for appender_with (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2307">#2307</a>)</li>
<li>refactor(core): Implement RFC-2299 for read_with (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2308">#2308</a>)</li>
<li>refactor(core): Implement RFC-2299 for read_with (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2308">#2308</a>)</li>
<li>refactor(core): Implement RFC-2299 for append_with (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2312">#2312</a>)</li>
<li>refactor(core): Implement RFC-2299 for write_with (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2315">#2315</a>)</li>
<li>refactor(core): Implement RFC-2299 for reader_with (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2316">#2316</a>)</li>
<li>refactor(core): Implement RFC-2299 for writer_with (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2317">#2317</a>)</li>
<li>refactor(core): Implement RFC-2299 for presign_read_with (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2314">#2314</a>)</li>
<li>refactor(core): Implement RFC-2299 for presign_write_with (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2320">#2320</a>)</li>
<li>refactor(core): Implement RFC-2299 for list_with (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2323">#2323</a>)</li>
<li>refactor: Move <code>ops</code> to <code>raw::ops</code> (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2325">#2325</a>)</li>
<li>refactor(bindings/C): align bdd test with the feature tests (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2340">#2340</a>)</li>
<li>refactor(bindings/java): narrow unsafe boundary (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2351">#2351</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>fix(services/supabase): correctly set retryable (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2295">#2295</a>)</li>
<li>fix(core): appender complete check (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2298">#2298</a>)</li>
</ul>
<h3>Docs</h3>
<ul>
<li>docs: add service doc for azdfs (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2310">#2310</a>)</li>
<li>docs(bidnings/java): how to deploy snapshots (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2311">#2311</a>)</li>
<li>docs(bidnings/java): how to deploy snapshots (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2311">#2311</a>)</li>
<li>docs: Fixed links of languages to open in same tab (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2327">#2327</a>)</li>
<li>docs: Adopt docusaurus pathname protocol (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2330">#2330</a>)</li>
<li>docs(bindings/nodejs): update lib desc (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2331">#2331</a>)</li>
<li>docs(bindings/java): update the README file (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2338">#2338</a>)</li>
<li>docs: add service doc for fs (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2337">#2337</a>)</li>
<li>docs: add service doc for cos (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2341">#2341</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/apache/incubator-opendal/commit/1eecbb750ecfadda118add90cb5aef6f7979aec0"><code>1eecbb7</code></a>
Bump to version 0.36.0 (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2366">#2366</a>)</li>
<li><a
href="https://github.com/apache/incubator-opendal/commit/c4f4f04fe1c25a330115b89e189fc179aebfca81"><code>c4f4f04</code></a>
ci: Adopt setup-node's cache logic instead (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2365">#2365</a>)</li>
<li><a
href="https://github.com/apache/incubator-opendal/commit/a9700f0b75bf7220076b4827aa87c8b0d7e3c23a"><code>a9700f0</code></a>
ci: Speed up python docs build (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2364">#2364</a>)</li>
<li><a
href="https://github.com/apache/incubator-opendal/commit/5e888cab6ea73569acd50eac0e853d1644b54e8d"><code>5e888ca</code></a>
ci: Fix Node.js 12 actions deprecated warning (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2363">#2363</a>)</li>
<li><a
href="https://github.com/apache/incubator-opendal/commit/f5eb24674a2f2972f60b52ee70191984b6e629ab"><code>f5eb246</code></a>
ci: Don't load rocksdb for all workflows (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2362">#2362</a>)</li>
<li><a
href="https://github.com/apache/incubator-opendal/commit/c5d5b565a3c3a52cbd4145ccfc2be425ac3eeeca"><code>c5d5b56</code></a>
feat: server side encryption support for azblob (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2347">#2347</a>)</li>
<li><a
href="https://github.com/apache/incubator-opendal/commit/07c163fb912494fb264cc96ff61277dd405e20a2"><code>07c163f</code></a>
ci: Cache librocksdb to speed up CI (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2360">#2360</a>)</li>
<li><a
href="https://github.com/apache/incubator-opendal/commit/46ba4428d68d50c4084ec9f3c8c12f20770cfaef"><code>46ba442</code></a>
ci(bindings/c): Add diff check (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2359">#2359</a>)</li>
<li><a
href="https://github.com/apache/incubator-opendal/commit/e2d751a6ec406b67a7be8afd7c057cd5467fc0ea"><code>e2d751a</code></a>
chore: protect branch gh-pages (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2358">#2358</a>)</li>
<li><a
href="https://github.com/apache/incubator-opendal/commit/5a109fe8aad8ebf952c6c899ece9ed427314fd61"><code>5a109fe</code></a>
chore(docs): split docs build into small jobs (<a
href="https://redirect.github.com/apache/incubator-opendal/issues/2356">#2356</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/apache/incubator-opendal/compare/v0.35.0...v0.36.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=opendal&package-manager=cargo&previous-version=0.35.0&new-version=0.36.0)](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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored May 30, 2023
1 parent e2c0255 commit dbd7151
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ azure_storage = { git = "https://github.com/Azure/azure-sdk-for-rust.git", rev =
azure_storage_blobs = { git = "https://github.com/Azure/azure-sdk-for-rust.git", rev = "b4544d4920fa3064eb921340054cd9cc130b7664", default-features = false, optional = true }

# OpenDAL
opendal = {version = "0.35", default-features = false, features = ["native-tls", "services-webhdfs"], optional = true}
opendal = {version = "0.36", default-features = false, features = ["native-tls", "services-webhdfs"], optional = true}

# Tower
tower = { version = "0.4.13", default-features = false, features = ["buffer", "limit", "retry", "timeout", "util", "balance", "discover"] }
Expand Down

0 comments on commit dbd7151

Please sign in to comment.