diff --git a/CHANGELOG.md b/CHANGELOG.md index 036b0d6..673fb8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,10 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this library adheres to Rust's notion of [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## 0.11.0 ### Added - `std` feature flag; building with `--no-default-features` now enables `no_std` use. +- `NonEmpty::sort` was added. +- `NonEmpty::as_ref` added for converting a `&NonEmpty` to `NonEmpty<&T>`. ### Changed -- MSRV is now 1.56 (this is a semver-breaking change) +- MSRV is now 1.56 (this is a semver-breaking change). +- `NonEmpty::split` now returns `Option<&T>` for last element. +- `cargo clippy` and `cargo doc` failures are fixed. + +## [Unreleased] + diff --git a/Cargo.toml b/Cargo.toml index 7aa0752..27de4f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nonempty" -version = "0.10.0" +version = "0.11.0" description = "Correct by construction non-empty vector" authors = ["Alexis Sellier "] edition = "2021"