Skip to content

Commit

Permalink
Release v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenroose committed Oct 19, 2023
1 parent c0c387f commit 7416986
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
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

# v2.0.0

- Set Rust edition to 2018
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 = "bip39"
version = "2.0.0"
version = "2.1.0"
authors = ["Steven Roose <steven@stevenroose.org>"]
license = "CC0-1.0"
homepage = "https://github.com/rust-bitcoin/rust-bip39/"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,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<Item = &'static str> + Clone + '_ {
self.words()
}
Expand Down

0 comments on commit 7416986

Please sign in to comment.