Skip to content

Commit f9cb6b2

Browse files
committed
Version 3.0.0
1 parent e361e3d commit f9cb6b2

File tree

2 files changed

+84
-53
lines changed

2 files changed

+84
-53
lines changed

CHANGELOG.md

+82-51
Original file line numberDiff line numberDiff line change
@@ -1,103 +1,134 @@
1+
**Version 3.0.0**
2+
3+
- [Breaking] Avoid the possibility for zxcvbn to error
4+
- [Breaking] Refactor the score into an exhaustive enum
5+
- [Breaking] Change `feedback` to return `Option<&Feedback>`
6+
- Bump `itertools` dependency to 0.13
7+
18
**Version 2.2.2**
9+
210
- Fix a possible panic in spatial pattern checker (https://github.com/shssoichiro/zxcvbn-rs/issues/70)[#70]
311
- Update several dependencies
412
- Fix several new clippy lints
513
- Officially specify minimum Rust version requirement
614
- The version has not changed, but the requirement has now been added to Cargo.toml
715

816
**Version 2.2.1**
9-
- Fixes for building on WASM targets
17+
18+
- Fixes for building on WASM targets
1019

1120
**Version 2.2.0**
12-
- Fix an issue where a less specific feedback would be given
13-
when a more specific feedback was available. (https://github.com/shssoichiro/zxcvbn-rs/issues/54)[#54]
14-
- Migrate to Rust edition 2021
15-
- Migrate from `chrono` crate to `time` crate
16-
- Update `fancy-regex` to 0.8
21+
22+
- Fix an issue where a less specific feedback would be given
23+
when a more specific feedback was available. (https://github.com/shssoichiro/zxcvbn-rs/issues/54)[#54]
24+
- Migrate to Rust edition 2021
25+
- Migrate from `chrono` crate to `time` crate
26+
- Update `fancy-regex` to 0.8
1727

1828
**Version 2.1.1**
19-
- Do not download and build wasm dependencies if not building for wasm
29+
30+
- Do not download and build wasm dependencies if not building for wasm
2031

2132
**Version 2.1.0**
22-
- [Feature] Add support for wasm
23-
- Deprecate the usage of builders (it will still work for now, but will be removed in the next major release)
24-
- Various performance improvements and dependency upgrades
33+
34+
- [Feature] Add support for wasm
35+
- Deprecate the usage of builders (it will still work for now, but will be removed in the next major release)
36+
- Various performance improvements and dependency upgrades
2537

2638
**Version 2.0.1**
27-
- Fix overflow bugs that may cause wrong results on very complex passwords
28-
- Fix a panic that could occur on passwords with multibyte unicode characters
29-
- Update `derive_builder` to 0.9
39+
40+
- Fix overflow bugs that may cause wrong results on very complex passwords
41+
- Fix a panic that could occur on passwords with multibyte unicode characters
42+
- Update `derive_builder` to 0.9
3043

3144
**Version 2.0.0**
32-
- [Breaking] Update CrackTimes interface to be more idiomatic to Rust (https://github.com/shssoichiro/zxcvbn-rs/pull/24)
33-
- Upgrade `derive_builder` to 0.8
34-
- Upgrade `fancy_regex` to 0.2
35-
- Move to 2018 edition
36-
- Various internal improvements
45+
46+
- [Breaking] Update CrackTimes interface to be more idiomatic to Rust (https://github.com/shssoichiro/zxcvbn-rs/pull/24)
47+
- Upgrade `derive_builder` to 0.8
48+
- Upgrade `fancy_regex` to 0.2
49+
- Move to 2018 edition
50+
- Various internal improvements
3751

3852
**Version 1.0.2**
39-
- Fix building on Rust 1.36.0 (https://github.com/shssoichiro/zxcvbn-rs/pull/21)
40-
- Cleanup development profiles which are no longer needed
41-
- Remove built-in clippy and prefer using clippy from rustup
42-
- Upgrade `itertools` to 0.8
43-
- Upgrade `derive_builder` to 0.7
53+
54+
- Fix building on Rust 1.36.0 (https://github.com/shssoichiro/zxcvbn-rs/pull/21)
55+
- Cleanup development profiles which are no longer needed
56+
- Remove built-in clippy and prefer using clippy from rustup
57+
- Upgrade `itertools` to 0.8
58+
- Upgrade `derive_builder` to 0.7
4459

4560
**Version 1.0.1**
46-
- Upgrade `regex` to 1.0
61+
62+
- Upgrade `regex` to 1.0
4763

4864
**Version 1.0.0**
49-
- [SEMVER_MINOR] Add support for UTF-8 strings (https://github.com/shssoichiro/zxcvbn-rs/issues/4)
50-
- [SEMVER_MAJOR] Remove the `ZxcvbnError::NonAsciiPassword` variant, since this error can no longer occur
65+
66+
- [SEMVER_MINOR] Add support for UTF-8 strings (https://github.com/shssoichiro/zxcvbn-rs/issues/4)
67+
- [SEMVER_MAJOR] Remove the `ZxcvbnError::NonAsciiPassword` variant, since this error can no longer occur
5168

5269
**Version 0.7.0**
53-
- [SEMVER_MAJOR] Refactor `Match` to use an enum internally, to avoid cluttering the struct with several `Option` types (https://github.com/shssoichiro/zxcvbn-rs/issues/19)
54-
- Make `Match` public (https://github.com/shssoichiro/zxcvbn-rs/issues/17)
70+
71+
- [SEMVER_MAJOR] Refactor `Match` to use an enum internally, to avoid cluttering the struct with several `Option` types (https://github.com/shssoichiro/zxcvbn-rs/issues/19)
72+
- Make `Match` public (https://github.com/shssoichiro/zxcvbn-rs/issues/17)
5573

5674
**Version 0.6.3**
57-
- Refactor handling of strings to use streaming of characters. This brings zxcvbn closer to working on UTF-8 inputs.
58-
- Fix an issue that would cause bruteforce scores to be too low (https://github.com/shssoichiro/zxcvbn-rs/issues/15)
75+
76+
- Refactor handling of strings to use streaming of characters. This brings zxcvbn closer to working on UTF-8 inputs.
77+
- Fix an issue that would cause bruteforce scores to be too low (https://github.com/shssoichiro/zxcvbn-rs/issues/15)
5978

6079
**Version 0.6.2**
61-
- Upgrade dependencies and fix linter warnings
80+
81+
- Upgrade dependencies and fix linter warnings
6282

6383
**Version 0.6.1**
64-
- Upgrade `derive_builder` to 0.5.0
65-
- Fix a bug that was causing incorrect scoring for some passwords (https://github.com/shssoichiro/zxcvbn-rs/issues/13)
84+
85+
- Upgrade `derive_builder` to 0.5.0
86+
- Fix a bug that was causing incorrect scoring for some passwords (https://github.com/shssoichiro/zxcvbn-rs/issues/13)
6687

6788
**Version 0.6.0**
68-
- [SEMVER_MAJOR] Change the signature for `zxcvbn` to take `&[]` instead of `Option<&[]>` for `user_inputs` (https://github.com/shssoichiro/zxcvbn-rs/issues/9)
69-
- [SEMVER_MAJOR] Change the signature for `zxcvbn` to return `Result<Entropy, ZxcvbnError>` instead of `Option<Entropy>` (https://github.com/shssoichiro/zxcvbn-rs/issues/11)
89+
90+
- [SEMVER_MAJOR] Change the signature for `zxcvbn` to take `&[]` instead of `Option<&[]>` for `user_inputs` (https://github.com/shssoichiro/zxcvbn-rs/issues/9)
91+
- [SEMVER_MAJOR] Change the signature for `zxcvbn` to return `Result<Entropy, ZxcvbnError>` instead of `Option<Entropy>` (https://github.com/shssoichiro/zxcvbn-rs/issues/11)
7092

7193
**Version 0.5.0**
72-
- Fix for a BC-breaking change in nightly Rust (https://github.com/shssoichiro/zxcvbn-rs/pull/8)
73-
- Upgrade `serde` to 1.0
74-
- Silence a warning from `derive_builder`
94+
95+
- Fix for a BC-breaking change in nightly Rust (https://github.com/shssoichiro/zxcvbn-rs/pull/8)
96+
- Upgrade `serde` to 1.0
97+
- Silence a warning from `derive_builder`
7598

7699
**Version 0.4.4**
77-
- Upgrade `itertools` to 0.6
100+
101+
- Upgrade `itertools` to 0.6
78102

79103
**Version 0.4.3**
80-
- Upgrade to derive_builder 0.4
104+
105+
- Upgrade to derive_builder 0.4
81106

82107
**Version 0.4.2**
83-
- Remove FFI dependency on oniguruma
108+
109+
- Remove FFI dependency on oniguruma
84110

85111
**Version 0.4.1**
86-
- Fix more overflow bugs
87-
- Simplify code for handling overflows
112+
113+
- Fix more overflow bugs
114+
- Simplify code for handling overflows
88115

89116
**Version 0.4.0**
90-
- Fix bug which caused multiplication overflows on some very strong passwords
91-
- Remove rustc-serialize support (https://github.com/shssoichiro/zxcvbn-rs/issues/5)
117+
118+
- Fix bug which caused multiplication overflows on some very strong passwords
119+
- Remove rustc-serialize support (https://github.com/shssoichiro/zxcvbn-rs/issues/5)
92120

93121
**Version 0.3.0**
94-
- Make reference year dynamic
95-
- Performance optimizations
96-
- [SEMVER_MAJOR] Rename "serde" feature to "ser" (required by cargo)
97-
- [SEMVER_MAJOR] Bump required serde and serde_derive version to 0.9.x
122+
123+
- Make reference year dynamic
124+
- Performance optimizations
125+
- [SEMVER_MAJOR] Rename "serde" feature to "ser" (required by cargo)
126+
- [SEMVER_MAJOR] Bump required serde and serde_derive version to 0.9.x
98127

99128
**Version 0.2.1**
100-
- Update regex dependency to 0.2.0
129+
130+
- Update regex dependency to 0.2.0
101131

102132
**Version 0.2.0**
103-
- [SEMVER_MINOR] Add optional features "rustc-serialize" and "serde" for serialization support.
133+
134+
- [SEMVER_MINOR] Add optional features "rustc-serialize" and "serde" for serialization support.

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ homepage = "https://github.com/shssoichiro/zxcvbn-rs"
66
license = "MIT"
77
name = "zxcvbn"
88
repository = "https://github.com/shssoichiro/zxcvbn-rs"
9-
version = "2.2.2"
9+
version = "3.0.0"
1010
edition = "2021"
1111
rust-version = "1.63"
1212

@@ -16,7 +16,7 @@ maintenance = { status = "passively-maintained" }
1616
[dependencies]
1717
derive_builder = { version = "0.20", optional = true }
1818
fancy-regex = "0.13"
19-
itertools = "0.12"
19+
itertools = "0.13"
2020
lazy_static = "1.3"
2121
regex = "1"
2222
time = { version = "0.3" }

0 commit comments

Comments
 (0)