From 7215e522ed2d3ba96da60809f0ebda24ceb30706 Mon Sep 17 00:00:00 2001 From: Mingwei Zhang Date: Fri, 26 Jan 2024 11:03:25 -0800 Subject: [PATCH] bump version to 0.15.9 --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f586d78..afafaf9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,35 @@ All notable changes to this project will be documented in this file. +## v0.15.9 - 2024-01-26 + +### Highlights + +- add support for installing via [`cargo binstall`](https://github.com/cargo-bins/cargo-binstall) +- `s3_list` now accepts a new forth parameter, `dirs` boolean flag, to allow returning only the matching directories +- add `oneio s3 list` and `oneio s3 upload` commands to the CLI + +### Breaking changes + +The signature of `s3_list` function is now changed to: +```rust +pub fn s3_list( + bucket: &str, + prefix: &str, + delimiter: Option, + dirs: bool, +) -> Result, OneIoError> {} +``` +This includes changes of: +1. `delimiter` changed from `Option<&str>` to `Option` +2. new `dirs` boolean flag to allow returning only matching directories in the specified prefix + - the `delimiter` is also automatically forced to `Some("/".to_string())` if `dirs` is specified and `delimiter` is specified as `None`. + +### Misc + +- "cargo publish" process is now automated with GitHub actions +- test process now makes sure `s3` modules' doc-tests must compile + ## v0.15.8 - 2023-12-18 ### Highlights diff --git a/Cargo.toml b/Cargo.toml index 00cce6b..515ec1b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oneio" -version = "0.15.8" +version = "0.15.9" authors = ["Mingwei Zhang "] edition = "2021" readme = "README.md"