Skip to content

Commit 104dfd0

Browse files
authored
Bump to version 0.31 (#1916)
* Bump to version 0.31 Signed-off-by: Xuanwo <[email protected]> * Fix typo Signed-off-by: Xuanwo <[email protected]> --------- Signed-off-by: Xuanwo <[email protected]>
1 parent 7504b93 commit 104dfd0

File tree

16 files changed

+132
-18
lines changed

16 files changed

+132
-18
lines changed

CHANGELOG.md

+83
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,88 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](https://semver.org/).
77

8+
## [v0.31.0] - 2023-04-12
9+
10+
### Added
11+
12+
- feat(bindings/java): add cucumber test (#1809)
13+
- feat(bindings/java): setup Java CI (#1823)
14+
- feat: add if_none_match support (#1832)
15+
- feat: Retry when some of batch operations are failing (#1840)
16+
- feat: add writer support for aliyun oss (#1842)
17+
- feat(core): Add Copy Support (#1841)
18+
- feat(bindings/c): fix c bindings makefile (#1849)
19+
- feat(core): add behavior tests for copy & blocking_copy (#1852)
20+
- feat(s3): allow users to specify storage_class (#1854)
21+
- feat(s3): Support copy (#1856)
22+
- Add check for s3 bucket name (#1857)
23+
- feat(core): Support rename (#1862)
24+
- feat(bindings/nodejs): add `copy` and `rename` (#1866)
25+
- feat(azblob): Support copy (#1868)
26+
- feat(gcs): copy support for GCS (#1869)
27+
- feat(bindings/c): framework of add basic io and init logics (#1861)
28+
- feat(webdav): support copy (#1870)
29+
- feat(services/oss): Add Copy Support (#1874)
30+
- feat(services/obs): Add Copy Support (#1876)
31+
- feat(services/webdav): Support Rename (#1878)
32+
- binding/c: parse opendal to use typed BlockingOperator (#1881)
33+
- binding/c: clean up comments and type assertion for BlockingOperator (#1883)
34+
- binding(python): Support python binding benchmark for opendal (#1882)
35+
- feat(bindings/c): add support for free heap-allocated operator (#1890)
36+
- feat(binding/c): add is_exist to operator (#1892)
37+
- feat(bindings/java): add Stat support (#1894)
38+
- feat(services/gcs): Add customed token loader support (#1908)
39+
- feat(services/oss): remove unused builder prop allow_anonymous (#1913)
40+
- feat: Add feature flag for all services (#1915)
41+
42+
### Changed
43+
44+
- refactor(core): Simplify the usage of BatchOperation and BatchResults (#1843)
45+
- refactor: Use reqwest blocking client instead of ureq (#1853)
46+
- refactor: Bump MSRV to 1.64 (#1864)
47+
- refactor: Remove not used blocking http client (#1895)
48+
- refactor: Change presign to async for future refactor (#1900)
49+
- refactor(services/gcs): Migrate to async reqsign (#1906)
50+
- refactor(services/azdfs): Migrate to async reqsign (#1903)
51+
- refactor(services/azblob): Adopt new reqsign (#1902)
52+
- refactor(services/s3): Migrate to async reqsign (#1909)
53+
- refactor(services/oss): Migrate to async reqsign (#1911)
54+
- refactor: Use chrono instead of time to work well with ecosystem (#1912)
55+
- refactor(service/obs): Migrate obs to async reqsign (#1914)
56+
57+
### Fixed
58+
59+
- fix: podling website check (#1838)
60+
- fix(website): copyright update (#1839)
61+
- fix(core): Add checks before doing copy (#1845)
62+
- fix(core): S3 Copy should set SSE headers (#1860)
63+
- fix: Fix presign related unit tests (#1910)
64+
65+
### Docs
66+
67+
- docs(bindings/nodejs): fix build failed (#1819)
68+
- docs: fix several typos in the documentation (#1846)
69+
- doc(bindings/nodejs): update presign example in doc (#1901)
70+
71+
### CI
72+
73+
- ci: Fix build for nodejs binding on macos (#1813)
74+
- binding/c: build: add phony to makefile, and some improve (#1850)
75+
- ci: upgrade hawkeye action (#1834)
76+
77+
### Chore
78+
79+
- chore(bindings/nodejs): add deno benchmark (#1814)
80+
- chore: Add CODEOWNERS (#1817)
81+
- chore(deps): bump opentelemetry-jaeger from 0.16.0 to 0.18.0 (#1829)
82+
- chore(deps): bump opentelemetry from 0.17.0 to 0.19.0 (#1830)
83+
- chore(deps): bump tokio from 1.26.0 to 1.27.0 (#1828)
84+
- chore(deps): bump napi-derive from 2.12.1 to 2.12.2 (#1827)
85+
- chore(deps): bump async-trait from 0.1.67 to 0.1.68 (#1826)
86+
- chore: Cleanup code for oss writer (#1847)
87+
- chore: Make clippy happy (#1865)
88+
- binding(python): Format python code in binding (#1885)
89+
890
## [v0.30.5] - 2023-03-31
991

1092
### Added
@@ -1758,6 +1840,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
17581840

17591841
Hello, OpenDAL!
17601842

1843+
[v0.31.0]: https://github.com/apache/incubator-opendal/compare/v0.30.5...v0.31.0
17611844
[v0.30.5]: https://github.com/apache/incubator-opendal/compare/v0.30.4...v0.30.5
17621845
[v0.30.4]: https://github.com/apache/incubator-opendal/compare/v0.30.3...v0.30.4
17631846
[v0.30.3]: https://github.com/apache/incubator-opendal/compare/v0.30.2...v0.30.3

Cargo.lock

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,7 @@ homepage = "https://opendal.apache.org/"
3939
license = "Apache-2.0"
4040
repository = "https://github.com/apache/incubator-opendal"
4141
rust-version = "1.64"
42-
version = "0.30.5"
42+
version = "0.31.0"
43+
44+
[workspace.dependencies]
45+
opendal = { version = "0.31", path = "core" }

bin/oli/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ dirs = "5.0.0"
5656
env_logger = "0.10"
5757
futures = "0.3"
5858
log = "0.4"
59-
opendal = { version = "0.30", path = "../../core" }
59+
opendal.workspace = true
6060
serde = { version = "1", features = ["derive"] }
6161
tokio = { version = "1.27", features = [
6262
"fs",

bindings/c/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ cbindgen = "0.24.0"
3636

3737
[dependencies]
3838
bytes = "1.4.0"
39-
opendal = { version = "0.30", path = "../../core" }
39+
opendal.workspace = true

bindings/java/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ doc = false
3333

3434
[dependencies]
3535
jni = "0.21.1"
36-
opendal = { version = "0.30", path = "../../core" }
36+
opendal.workspace = true

bindings/nodejs/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ napi = { version = "2.11.3", default-features = false, features = [
3838
"async",
3939
] }
4040
napi-derive = "2.12.2"
41-
opendal = { version = "0.30", path = "../../core" }
41+
opendal.workspace = true
4242

4343
[build-dependencies]
4444
napi-build = "2"

bindings/nodejs/npm/darwin-arm64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opendal/lib-darwin-arm64",
3-
"version": "0.30.5",
3+
"version": "0.31.0",
44
"os": [
55
"darwin"
66
],

bindings/nodejs/npm/darwin-x64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opendal/lib-darwin-x64",
3-
"version": "0.30.5",
3+
"version": "0.31.0",
44
"os": [
55
"darwin"
66
],

bindings/nodejs/npm/linux-x64-gnu/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opendal/lib-linux-x64-gnu",
3-
"version": "0.30.5",
3+
"version": "0.31.0",
44
"os": [
55
"linux"
66
],

bindings/nodejs/npm/win32-x64-msvc/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opendal/lib-win32-x64-msvc",
3-
"version": "0.30.5",
3+
"version": "0.31.0",
44
"os": [
55
"win32"
66
],

bindings/nodejs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "opendal",
33
"author": "OpenDAL Contributors <[email protected]>",
4-
"version": "0.30.5",
4+
"version": "0.31.0",
55
"license": "Apache-2.0",
66
"main": "index.js",
77
"types": "index.d.ts",

bindings/object_store/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async-trait = "0.1"
3232
bytes = "1"
3333
futures = "0.3"
3434
object_store = "0.5"
35-
opendal = { version = "0.30", path = "../../core" }
35+
opendal.workspace = true
3636
tokio = "1"
3737

3838
[dev-dependencies]

bindings/python/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ doc = false
3434
[dependencies]
3535
chrono = { version = "0.4.24", default-features = false, features = ["std"] }
3636
futures = "0.3.27"
37-
opendal = { version = "0.30", path = "../../core" }
37+
opendal.workspace = true
3838
pyo3 = { version = "0.18", features = ["chrono"] }
3939
pyo3-asyncio = { version = "0.18", features = ["tokio-runtime"] }
4040
tokio = "1"

bindings/ruby/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ name = "opendal_ruby"
3434

3535
[dependencies]
3636
magnus = { version = "0.5", features = ["bytes-crate"] }
37-
opendal = { version = "0.30", path = "../../core" }
37+
opendal.workspace = true

core/src/docs/upgrade.md

+28
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
# Upgrade to v0.31
2+
3+
In version v0.31 of OpenDAL, we made some internal refactoring to improve its compatibility with the ecosystem.
4+
5+
## MSRV Bump
6+
7+
We increased the MSRV to 1.64 from v0.31 onwards. Although it is still possible to build OpenDAL under older rustc versions, we cannot guarantee that any issues related to them will be fixed.
8+
9+
## Accept `std::time::Duration` instead
10+
11+
Previously, OpenDAL accepted `time::Duration` as input for `presign_xxx`. However, since v0.31, we have changed this to accept `std::time::Duration` so that users do not need to depend on `time`. Internally, we migrated from `time` to `chrono` for better integration with other parts of the ecosystem.
12+
13+
## `disable_ec2_metadata` for services s3
14+
15+
We have added a new configuration option called `disable_ec2_metadata` for the S3 service in response to a mistake where it was mixed up with another option called `disable_config_load`. Users who want to disable loading credentials from EC2 metadata should set this option instead.
16+
17+
## Services Feature Flag
18+
19+
Starting from v0.31, all services in OpenDAL are split into different feature flags. To enable only S3 support, use the following TOML configuration:
20+
21+
```toml
22+
opendal = {
23+
version = "0.31",
24+
default-features = false,
25+
features = ["services-s3"]
26+
}
27+
```
28+
129
# Upgrade to v0.30
230

331
In version 0.30, we made significant breaking changes by removing objects. Our goal in doing so was to provide our users with APIs that are easier to understand and maintain.

0 commit comments

Comments
 (0)