From d6a7e1fbeb5e04aedcd53be71c670d6e788da6da Mon Sep 17 00:00:00 2001 From: Mingwei Zhang Date: Mon, 29 Jan 2024 07:18:36 -0800 Subject: [PATCH] release v0.16.0 also yanked v0.15.11 and v0.15.12 as they introduced breaking changes --- CHANGELOG.md | 23 ++++++++--------------- Cargo.toml | 2 +- README.md | 4 ++-- 3 files changed, 11 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 452c631..6fbe272 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,17 +2,18 @@ All notable changes to this project will be documented in this file. -## v0.15.12 - 2024-01-27 +## v0.16.0 - 2024-01-29 -### Hot fix - -- avoid automatic decompression when reading file for generating SHA256 digest - -## v0.15.11 - 2024-01-27 +### Breaking changes +- switch to `rustls` as the default TLS backend +- cleaned up the feature flags + - removed `no-cache` and `vendored-openssl` flags + - removed `openssl` optional dependency + - add `digest` feature flag to allow calculating SHA256 digest of a file, enabled by default + ### Library changes -- switch to `rustls` as the default TLS backend - add `oneio::download_with_retry` function to allow retrying download - add `oneio::get_sha256_digest` function to the library to calculate SHA256 digest of a file @@ -20,14 +21,6 @@ All notable changes to this project will be documented in this file. - add `oneio digest FILE` command to calculate file SHA256 digest -### Misc - -- cleaned up the feature flags - - removed `no-cache` and `vendored-openssl` flags - - removed `openssl` optional dependency - - add `digest` feature flag to allow calculating SHA256 digest of a file, enabled by default -- update README.md to reflect the recent changes - ## v0.15.10 - 2024-01-26 ### Hot fix diff --git a/Cargo.toml b/Cargo.toml index 7b64b52..8ca842b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oneio" -version = "0.15.12" +version = "0.16.0" authors = ["Mingwei Zhang "] edition = "2021" readme = "README.md" diff --git a/README.md b/README.md index a11e6b6..4669c2f 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,12 @@ OneIO is a Rust library that provides a unified simple IO interface for reading Enable all compression algorithms and handle remote files (default) ```toml -oneio = "0.15" +oneio = "0.16" ``` Select from supported feature flags ```toml -oneio = {version = "0.15", default-features=false, features = ["remote", "gz"]} +oneio = {version = "0.16", default-features=false, features = ["remote", "gz"]} ``` Default flags include `lib-core` and `rustls`.