Skip to content

Commit

Permalink
Bump to version 0.14
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo committed Aug 28, 2022
1 parent 95aa451 commit 392e88f
Show file tree
Hide file tree
Showing 7 changed files with 75 additions and 14 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,38 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/)
and this project adheres to [Semantic Versioning](https://semver.org/).

## [v0.14.0] - 2022-08-28

### Added

- RFC-0554: Write Refactor (#554)
- feat: Implement huaweicloud obs service other op support (#557)
- feat: Add new operations in Accessor (#564)
- feat: Implement obs create and write (#565)
- feat(services/s3): Implement Multipart support (#571)
- feat: Implement MultipartObject public API (#574)
- feat: Implement integration tests for multipart (#575)
- feat: Implement presign for write multipart (#576)
- test: Add assert of public struct size (#578)
- feat: List metadata reuse (#577)
- feat: Implement integration test for obs (#572)

### Changed

- refactor(ops): Promote ops as a parent mod (#553)
- refactor: Implement RFC-0554 Write Refactor (#556)
- refactor: Remove all unused qualifications (#560)
- refactor: Fix typo in azblob backend (#569)
- refactor: change ObjectError's op from &'static str to Operation (#580)

### Deleted

- refactor: Remove deprecated APIs (#582)

### Docs

- docs: Add docs for obs service (#579)

## [v0.13.1] - 2022-08-22

### Added
Expand Down Expand Up @@ -582,6 +614,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).

Hello, OpenDAL!

[v0.14.0]: https://github.com/datafuselabs/opendal/compare/v0.13.1...v0.14.0
[v0.13.1]: https://github.com/datafuselabs/opendal/compare/v0.13.0...v0.13.1
[v0.13.0]: https://github.com/datafuselabs/opendal/compare/v0.12.0...v0.13.0
[v0.12.0]: https://github.com/datafuselabs/opendal/compare/v0.11.4...v0.12.0
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ keywords = ["storage", "data", "s3", "azblob", "gcs"]
license = "Apache-2.0"
name = "opendal"
repository = "https://github.com/datafuselabs/opendal"
version = "0.13.1"
version = "0.14.0"

[package.metadata.docs.rs]
all-features = true
Expand Down Expand Up @@ -78,7 +78,7 @@ percent-encoding = "2.1"
pin-project = "1.0"
quick-xml = { version = "0.23", features = ["serialize"] }
radix_trie = { version = "0.2", optional = true }
reqsign = { git = "https://github.com/Xuanwo/reqsign", branch = "main" }
reqsign = "0.4.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
Expand Down
28 changes: 28 additions & 0 deletions docs/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@

This document intends to record upgrade and migrate procedures while OpenDAL meets breaking changes.

## Upgrade to v0.14

OpenDAL v0.14 removed all deprecated APIs in previous versions, including:

- `Operator::with_backoff` in v0.13
- All services `Builder::finish()` in v0.12
- All services `Backend::build()` in v0.12

Please visit related version's upgrade guide for migration.

And in OpenDAL v0.14, we introduce a break change for `write` operations.

```diff
pub trait Accessor {
- async fn write(&self, args: &OpWrite) -> Result<BytesWriter> {}
+ async fn write(&self, args: &OpWrite, r: BytesReader) -> Result<u64> {}
}
```

The following APIs have affected by this change:

- `Object::write` now accept `impl Into<Vec<u8>>` instead of `AsRef<&[u8]>`
- `Object::writer` has been removed.
- `Object::write_from` has been added to support write from a reader.
- All layers should be refactored to adapt new `Accessor` trait.

For more information about this change, please refer to [RFC-0554: Write Refactor](https://opendal.databend.rs/rfcs/0554-write-refactor.html).

## Upgrade to v0.13

OpenDAL deprecate `Operator::with_backoff` since v0.13.
Expand Down
8 changes: 4 additions & 4 deletions oay/Cargo.lock

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

4 changes: 2 additions & 2 deletions oay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ keywords = ["storage", "data", "s3", "fs", "azblob"]
license = "Apache-2.0"
name = "oay"
repository = "https://github.com/datafuselabs/opendal"
version = "0.13.1"
version = "0.14.0"

[dependencies]
actix-web = "4.1"
Expand All @@ -17,7 +17,7 @@ clap = { version = "3.2", features = ["cargo"] }
env_logger = "0.9"
futures = "0.3"
log = "0.4"
opendal = "0.13.1"
opendal = "0.14.0"
sluice = "0.5.5"
tokio = { version = "1.20", features = ["rt-multi-thread", "macros"] }

Expand Down
8 changes: 4 additions & 4 deletions oli/Cargo.lock

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

4 changes: 2 additions & 2 deletions oli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ keywords = ["storage", "data", "s3", "fs", "azblob"]
license = "Apache-2.0"
name = "oli"
repository = "https://github.com/datafuselabs/opendal"
version = "0.13.1"
version = "0.14.0"

[dependencies]
anyhow = "1.0"
clap = { version = "3.2", features = ["cargo"] }
env_logger = "0.9"
log = "0.4"
opendal = "0.13.1"
opendal = "0.14.0"

# Please comment the following patch while releasing.
[patch.crates-io]
Expand Down

1 comment on commit 392e88f

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for opendal ready!

✅ Preview
https://opendal-dwytc2u63-databend.vercel.app

Built with commit 392e88f.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.