Skip to content

Commit d33fb5c

Browse files
committed
Release 1.3.0
Major performance release with 4.1x speedup over v1.2.4 Performance improvements: - Replace OpenStruct with regular class (2x faster) - Implement Trie data structure (1.4x additional) - Optimise L33t matcher (5.6% faster) - Pre-compute spatial graph statistics (9.3% faster) - Optimise nCk calculation (6.6x faster for combinations) Overall: 0.722ms → 0.176ms per password (4.1x faster) Test coverage: +29 tests (262 → 291 examples)
1 parent ce25ad1 commit d33fb5c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
[Unreleased]: https://github.com/envato/zxcvbn-ruby/compare/v1.3.0...HEAD
10+
11+
## [1.3.0] - 2026-01-02
12+
913
### Changed
1014
- Replace OpenStruct with regular class in `Zxcvbn::Match` for 2x performance improvement ([#61])
1115
- Implement Trie data structure for dictionary matching with 1.4x additional performance improvement ([#62])
@@ -14,7 +18,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1418
- Pre-compute spatial graph statistics during data initialisation ([#65])
1519
- Optimise nCk calculation using symmetry property ([#66])
1620

17-
[Unreleased]: https://github.com/envato/zxcvbn-ruby/compare/v1.2.4...HEAD
21+
Overall performance improvement: 4.1x faster than v1.2.4 (0.722ms → 0.176ms per password)
22+
23+
[1.3.0]: https://github.com/envato/zxcvbn-ruby/compare/v1.2.4...v1.3.0
1824
[#61]: https://github.com/envato/zxcvbn-ruby/pull/61
1925
[#62]: https://github.com/envato/zxcvbn-ruby/pull/62
2026
[#63]: https://github.com/envato/zxcvbn-ruby/pull/63

lib/zxcvbn/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Zxcvbn
4-
VERSION = '1.2.4'
4+
VERSION = '1.3.0'
55
end

0 commit comments

Comments
 (0)