Skip to content

Commit

Permalink
release v0.16.0
Browse files Browse the repository at this point in the history
also yanked v0.15.11 and v0.15.12 as they introduced breaking changes
  • Loading branch information
digizeph committed Jan 29, 2024
1 parent da765d7 commit d6a7e1f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 18 deletions.
23 changes: 8 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,25 @@

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

### CLI changes

- 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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oneio"
version = "0.15.12"
version = "0.16.0"
authors = ["Mingwei Zhang <mingwei@bgpkit.com>"]
edition = "2021"
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit d6a7e1f

Please sign in to comment.