Skip to content

Commit 125abeb

Browse files
committed
Release v2.1.0
1 parent 8df746d commit 125abeb

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
CHANGELOG
22
=========
33

4+
# v2.1.0
5+
6+
- Add support for Portuguese as per addition to BIP.
7+
- Add constant Language::ALL and deprecate Language::all()
8+
- Add Mnemonic::words and deprecate Mnemonic::word_iter
9+
- Add Mnemonic::word_indices
10+
- Use `rand_core` if `rand` feature is not set
11+
- Add `alloc` feature to gate `unicode-normalization`
12+
413
# v2.0.0
514

615
- Set Rust edition to 2018

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bip39"
3-
version = "2.0.0"
3+
version = "2.1.0"
44
authors = ["Steven Roose <[email protected]>"]
55
license = "CC0-1.0"
66
homepage = "https://github.com/rust-bitcoin/rust-bip39/"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ impl Mnemonic {
337337
}
338338

339339
/// Returns an iterator over the words of the [Mnemonic].
340-
#[deprecated(note = "Use Mnemonic::words instead")]
340+
#[deprecated(since = "2.1.0", note = "Use Mnemonic::words instead")]
341341
pub fn word_iter(&self) -> impl Iterator<Item = &'static str> + Clone + '_ {
342342
self.words()
343343
}

0 commit comments

Comments
 (0)