Sourced from opendal's releases.
v0.36.0
Upgrade to v0.36
Public API
In v0.36, OpenDAL improving the
xxx_with
API by allow it to be called in chain:After this change, all
xxx_with
alike call will be changed fromlet bs = op.read_with( "path/to/file", OpRead::new() .with_range(0..=1024) .with_if_match("<etag>") .with_if_none_match("<etag>") .with_override_cache_control("<cache_control>") .with_override_content_disposition("<content_disposition>") ).await?;
to
let bs = op.read_with("path/to/file") .range(0..=1024) .if_match("<etag>") .if_none_match("<etag>") .override_cache_control("<cache_control>") .override_content_disposition("<content_disposition>") .await?;
For blocking API calls, we will need a
call()
at the end:let bs = bop.read_with("path/to/file") .range(0..=1024) .if_match("<etag>") .if_none_match("<etag>") .override_cache_control("<cache_control>") .override_content_disposition("<content_disposition>") .call()?;
Along with this change, users don't need to call
OpXxx
anymore so we moved it toraw
API.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].
Raw API
... (truncated)
Sourced from opendal's changelog.
[v0.36.0] - 2023-05-30
Added
- feat(service/fs): add append support for fs (#2296)
- feat(services/sftp): add append support for sftp (#2297)
- RFC-2299: Chain based Operator API (#2299)
- feat(services/azblob): add append support (#2302)
- feat(bindings/nodejs): add append support (#2322)
- feat(bindings/C): opendal_operator_ptr construction using kvs (#2329)
- feat(services/cos): append support (#2332)
- feat(bindings/java): implement Operator#delete (#2345)
- feat(bindings/java): support append (#2350)
- feat(bindings/java): save one jni call in the hot path (#2353)
- feat: server side encryption support for azblob (#2347)
Changed
- refactor(core): Implement RFC-2299 for stat_with (#2303)
- refactor(core): Implement RFC-2299 for BlockingOperator::write_with (#2305)
- refactor(core): Implement RFC-2299 for appender_with (#2307)
- refactor(core): Implement RFC-2299 for read_with (#2308)
- refactor(core): Implement RFC-2299 for read_with (#2308)
- refactor(core): Implement RFC-2299 for append_with (#2312)
- refactor(core): Implement RFC-2299 for write_with (#2315)
- refactor(core): Implement RFC-2299 for reader_with (#2316)
- refactor(core): Implement RFC-2299 for writer_with (#2317)
- refactor(core): Implement RFC-2299 for presign_read_with (#2314)
- refactor(core): Implement RFC-2299 for presign_write_with (#2320)
- refactor(core): Implement RFC-2299 for list_with (#2323)
- refactor: Move
ops
toraw::ops
(#2325)- refactor(bindings/C): align bdd test with the feature tests (#2340)
- refactor(bindings/java): narrow unsafe boundary (#2351)
Fixed
Docs
- docs: add service doc for azdfs (#2310)
- docs(bidnings/java): how to deploy snapshots (#2311)
- docs(bidnings/java): how to deploy snapshots (#2311)
- docs: Fixed links of languages to open in same tab (#2327)
- docs: Adopt docusaurus pathname protocol (#2330)
- docs(bindings/nodejs): update lib desc (#2331)
- docs(bindings/java): update the README file (#2338)
- docs: add service doc for fs (#2337)
- docs: add service doc for cos (#2341)
... (truncated)
1eecbb7
Bump to version 0.36.0 (#2366)c4f4f04
ci: Adopt setup-node's cache logic instead (#2365)a9700f0
ci: Speed up python docs build (#2364)5e888ca
ci: Fix Node.js 12 actions deprecated warning (#2363)f5eb246
ci: Don't load rocksdb for all workflows (#2362)c5d5b56
feat: server side encryption support for azblob (#2347)07c163f
ci: Cache librocksdb to speed up CI (#2360)46ba442
ci(bindings/c): Add diff check (#2359)e2d751a
chore: protect branch gh-pages (#2358)5a109fe
chore(docs): split docs build into small jobs (#2356)