Skip to content

Commit

Permalink
Bump to version 0.29 (#1451)
Browse files Browse the repository at this point in the history
* Bump to version 0.29

Signed-off-by: Xuanwo <[email protected]>

* Make duck happy

Signed-off-by: Xuanwo <[email protected]>

* FIx typo

Signed-off-by: Xuanwo <[email protected]>

* Don't run typos on other branches

Signed-off-by: Xuanwo <[email protected]>

---------

Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo authored Mar 1, 2023
1 parent 25af9fe commit 8f62f9b
Show file tree
Hide file tree
Showing 10 changed files with 75 additions and 9 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@

name: Typos Check

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
Expand Down
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,47 @@ 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.29.0] - 2023-03-01

### Added

- RFC-1420: Object Writer (#1420)
- feat: oss backend support http protocol (#1432)
- feat: Implement ObjectWriter Support (#1431)
- feat/layers/retry: Add Write Retry support (#1447)
- feat: Add Write append tests (#1448)

### Changed

- refactor: Decouple decompress read feature from opendal (#1406)
- refactor: Cleanup pager related implementation (#1439)
- refactor: Polish the implement details for Writer (#1445)
- refactor: Remove `io::input` and Rename `io::output` to `oio` (#1446)

### Fixed

- fix(services/s3): Fix part number for AWS S3 (#1450)

### CI

- ci: Consistently apply license header (#1411)
- ci: add typos check (#1425)

### Docs

- docs: Add services-dashmap feature (#1404)
- docs: Fix incorrect indent for title (#1405)
- docs: Add internal sections of Accessor and Layer (#1408)
- docs: Add more guide for Accessor (#1409)
- docs: Add tutorial of building a duck storage service (#1410)
- docs: Add a basic object example (#1422)

### Chore

- chore: typo fix (#1418)
- chore: Make license check happy (#1423)
- chore: typo-fix (#1434)

## [v0.28.0] - 2023-02-22

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

Hello, OpenDAL!

[v0.29.0]: https://github.com/datafuselabs/opendal/compare/v0.28.0...v0.29.0
[v0.28.0]: https://github.com/datafuselabs/opendal/compare/v0.27.2...v0.28.0
[v0.27.2]: https://github.com/datafuselabs/opendal/compare/v0.27.1...v0.27.2
[v0.27.1]: https://github.com/datafuselabs/opendal/compare/v0.27.0...v0.27.1
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ keywords = ["storage", "fs", "s3", "azblob", "gcs"]
license = "Apache-2.0"
name = "opendal"
repository = "https://github.com/datafuselabs/opendal"
version = "0.28.0"
version = "0.29.0"
# MSRV of OpenDAL. Please update this field while bump.
rust-version = "1.60"

Expand Down
2 changes: 1 addition & 1 deletion binaries/oli/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 binaries/oli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ clap = { version = "4", features = ["cargo", "string"] }
env_logger = "0.10"
log = "0.4"
futures = "0.3"
opendal = { version = "0.28", path = "../../" }
opendal = { version = "0.29", path = "../../" }
tokio = { version = "1.20", features = ["fs", "macros", "rt-multi-thread"] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion bindings/nodejs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ crate-type = ["cdylib"]
[dependencies]
napi = "2"
napi-derive = "2"
opendal = { version = "0.28", path = "../../" }
opendal = { version = "0.29", path = "../../" }

[build-dependencies]
napi-build = "2"
2 changes: 1 addition & 1 deletion bindings/object_store/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ bytes = "1"
chrono = "0.4.23"
futures = "0.3"
object_store = "0.5"
opendal = { version = "0.28", path = "../../" }
opendal = { version = "0.29", path = "../../" }
tokio = "1"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ crate-type = ["cdylib"]
name = "opendal"

[dependencies]
opendal = { version = "0.28", path = "../../" }
opendal = { version = "0.29", path = "../../" }
pyo3 = { version = "0.18", features = ["extension-module"] }
5 changes: 3 additions & 2 deletions src/docs/internals/accessor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@
//! /// - [ ] list
//! /// - [ ] scan
//! /// - [ ] presign
//! /// - [ ] multipart
//! /// - [ ] blocking
//! ///
//! /// # Configuration
Expand Down Expand Up @@ -287,6 +286,8 @@
//! impl Accessor for DuckBackend {
//! type Reader = DuckReader;
//! type BlockingReader = ();
//! type Writer = ();
//! type BlockingWriter = ();
//! type Pager = ();
//! type BlockingPager = ();
//!
Expand All @@ -303,7 +304,7 @@
//! }
//!
//! async fn read(&self, path: &str, args: OpRead) -> Result<(RpRead, Self::Reader)> {
//! gagaga()
//! gagaga!()
//! }
//! }
//! ```
Expand Down
17 changes: 17 additions & 0 deletions src/docs/upgrade.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Upgrade to v0.29

In v0.29, we introduced [Object Writer][crate::docs::rfcs::rfc_1420_object_writer] to replace existing Multipart related APIs.

Users can now append multiparts bytes into object via:

```rust
let mut w = o.writer().await?;
w.write(bs1).await?;
w.write(bs2).await?;
w.close()
```

Along with this change, we cleaned up a lot of internal structs and traits. Users who used to depend on `opendal::raw::io::{input,output}` should use `opendal::raw::oio` instead.

Also, decompress related feature also removed. Users can use `async-compression` with `ObjectReader` directly.

# Upgrade to v0.28

In v0.28, we introduced [Query Based Metadata][crate::docs::rfcs::rfc_1398_query_based_metadata]. Users can query cached metadata with [`ObjectMetakey`][crate::ObjectMetakey] to make sure that OpenDAL always makes the best decision.
Expand Down

1 comment on commit 8f62f9b

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented on 8f62f9b Mar 1, 2023

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-o6shzt0zm-databend.vercel.app
https://opendal-git-refstagsv0290.vercel.app

Built with commit 8f62f9b.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.