File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ## [ 0.4.1] - 2025-09-03
11+
12+ ### Performance
13+
14+ - ** hashString** : Replaced weak hash algorithm with FNV-1a implementation for better distribution
15+ - ** levenshtein** : Added prefix/suffix trimming optimization to reduce computation
16+ - ** deburr** : Consolidated 14+ regex operations into single pre-compiled pattern
17+ - ** fuzzyMatch** : Added progressive threshold checking and short-circuit evaluation
18+ - ** toASCII** : Replaced 155+ regex operations with single-pass Map lookup (O(n\* m) to O(n))
19+ - ** normalizeWhitespace** : Pre-compiled patterns and single-pass regex for common cases
20+ - ** removeNonPrintable** : Replaced 4 regex passes with single-pass range comparisons
21+
22+ ### Changed
23+
24+ - Bundle size remains under 6KB (5.13 kB ESM / 5.48 kB CJS)
25+ - All optimizations maintain backward compatibility
26+
1027## [ 0.4.0] - 2025-09-03
1128
1229### Added
@@ -98,6 +115,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
98115- 100% test coverage for utility functions
99116- Modern build tooling with tsup and Vitest
100117
118+ [ 0.4.1 ] : https://github.com/Zheruel/nano-string-utils/releases/tag/v0.4.1
101119[ 0.4.0 ] : https://github.com/Zheruel/nano-string-utils/releases/tag/v0.4.0
102120[ 0.3.0 ] : https://github.com/Zheruel/nano-string-utils/releases/tag/v0.3.0
103121[ 0.2.0 ] : https://github.com/Zheruel/nano-string-utils/releases/tag/v0.2.0
Original file line number Diff line number Diff line change 11{
22 "name" : " nano-string-utils" ,
3- "version" : " 0.4.0 " ,
3+ "version" : " 0.4.1 " ,
44 "description" : " Ultra-lightweight string utilities with zero dependencies" ,
55 "type" : " module" ,
66 "main" : " ./dist/index.cjs" ,
You can’t perform that action at this time.
0 commit comments