diff --git a/CHANGELOG.md b/CHANGELOG.md index f5ba688..3332446 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,15 @@ CHANGELOG ========= +# v2.1.0 + +- Add support for Portuguese as per addition to BIP. +- Add constant Language::ALL and deprecate Language::all() +- Add Mnemonic::words and deprecate Mnemonic::word_iter +- Add Mnemonic::word_indices +- Use `rand_core` if `rand` feature is not set +- Add `alloc` feature to gate `unicode-normalization` + # v2.0.0 - Set Rust edition to 2018 diff --git a/Cargo.toml b/Cargo.toml index 8c5b1da..cc521ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bip39" -version = "2.0.0" +version = "2.1.0" authors = ["Steven Roose "] license = "CC0-1.0" homepage = "https://github.com/rust-bitcoin/rust-bip39/" diff --git a/src/lib.rs b/src/lib.rs index eb7ec6c..feb3ac2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -337,7 +337,7 @@ impl Mnemonic { } /// Returns an iterator over the words of the [Mnemonic]. - #[deprecated(note = "Use Mnemonic::words instead")] + #[deprecated(since = "2.1.0", note = "Use Mnemonic::words instead")] pub fn word_iter(&self) -> impl Iterator + Clone + '_ { self.words() }