Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Update opendal requirement from 0.39 to 0.40 #65

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 24, 2023

Updates the requirements on opendal to permit the latest version.

Release notes

Sourced from opendal's releases.

v0.40.0

Checkout our [OwO #1](https://opendal.apache.org/blog/owo-1) to know more about this release!

Upgrade Note

Public API

RFC-2578 Merge Append Into Write

RFC-2578 merges append into write and removes append API.

  • For writing a file at once, please use op.write() for convenience.
  • For appending a file, please use op.write_with().append(true) instead of op.append().

The same rule applies to writer() and writer_with().

RFC-2774 Lister API

RFC-2774 proposes a new lister API to replace current list and scan. And we add a new API list to return entries directly.

  • For listing a directory at once, please use list() for convenience.
  • For listing a directory recursively, please use list_with().delimiter("") or lister_with().delimiter("") instead of scan().
  • For listing in streaming, please use lister() or lister_with() instead.

RFC-2779 List With Metakey

RFC-2779 proposes a new op.list_with().metakey() API to allow list with metakey and removes op.metadata(&entry) API.

Please use op.list_with().metakey() instead of op.metadata(&entry), for example:

// Before
let entries: Vec<Entry> = op.list("dir/").await?;
for entry in entris {
  let meta = op.metadata(&entry, Metakey::ContentLength | Metakey::ContentType).await?;
  println!("{} {}", entry.name(), entry.metadata().content_length());
}
// After
let entries: Vec<Entry> = op
.list_with("dir/")
.metakey(Metakey::ContentLength | Metakey::ContentType).await?;
for entry in entris {
println!("{} {}", entry.name(), entry.metadata().content_length());
}

RFC-2852: Native Capability

RFC-2852 proposes new native_capability and full_capability API to allow users to check if the underlying service supports a capability natively.

... (truncated)

Changelog

Sourced from opendal's changelog.

[v0.40.0] - 2023-09-18

Added

... (truncated)

Commits
  • 9a775bd chore: Bump to v0.40.0 round 2 (#3118)
  • 1aa43a9 docs: Add comments for blocking layer (#3117)
  • fbe8543 fix: Metakeys are not propagated with the blocking operators (#3116)
  • 3fdfa56 ci: Don't verify content for dry run (#3115)
  • 9b4b762 refactor(services/webhdfs): Rewrite webhdfs methods signature by using `OpX...
  • 09c19c0 chore(bindings/haskell): rename library name from opendal-hs to opendal (#3112)
  • 71d1c5d chore: Bump version to v0.40 to start release process (#3101)
  • d2e923c docs: add basic example for cpp binding (#3108)
  • 4b02228 test(blocking): tests for blocking append (#3023)
  • 82a865f feat(services/wasabi): Rewrite the method signatures using OpRead,OpW… (#3099)
  • Additional commits viewable in compare view

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 commands and options

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Sep 24, 2023
@Fokko
Copy link
Contributor

Fokko commented Sep 27, 2023

@dependabot rebase

Updates the requirements on [opendal](https://github.com/apache/incubator-opendal) to permit the latest version.
- [Release notes](https://github.com/apache/incubator-opendal/releases)
- [Changelog](https://github.com/apache/incubator-opendal/blob/main/CHANGELOG.md)
- [Commits](apache/opendal@v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: opendal
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/opendal-0.40 branch from d8bde79 to 2647924 Compare September 27, 2023 07:40
@Fokko Fokko merged commit 6fb001e into main Sep 27, 2023
6 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/opendal-0.40 branch September 27, 2023 07:57
@Fokko
Copy link
Contributor

Fokko commented Sep 27, 2023

Thanks @dependabot ! 🙌 and @liurenjie1024 & @Xuanwo for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants