Releases: komed3/cmpstr
vers. 2.0.3
This minor release fixes issues related to the TypeScript declaration and reworks the listFilter method.
Changes & Fixes
- Minor fixes for TypeScript declaration
- Method
listFilter
only returns active filter names foractiveOnly=true
.
Full Changelog: v2.0.2...v2.0.3
vers. 2.0.2
This release introduces several optimizations, new features and bug fixes to improve the performance, usability, and flexibility of the CmpStr package.
What’s New
- New public methods
getStr
,getAlgo
andgetFlags
added. - Added
normalizeAsync
to the asynchronous class. - The
normalize
andnormalizeAsync
methods now support batch processing.
Changes & Fixes
- Global variables and critical methods are now private, avoiding manipulation.
- Improved performance for determining ready state and loading algorithms by global variables.
- Method
listAlgo
only returns loaded algorithm names forloadedOnly=true
.
Full Changelog: v2.0.1...v2.0.2
vers. 2.0.1
This minor release introduces TypeScript definitions for the cmpstr package, improving type safety and enhancing the developer experience. Developers using TypeScript or modern IDEs will now benefit from autocompletion, inline documentation, and compile-time error checking.
vers. 2.0.0
The cmpstr
package has been completely reworked to provide a more powerful, flexible, and user-friendly experience.
New Features:
- Added phonetic search with the soundex algorithm.
- Introduced CmpStrAsync for asynchronous workflows.
- Support for custom algorithms and normalization filters with priority and pause/resume functionality.
- Improved, user-friendly error handling.
Performance Improvements:
- Optimized normalization with caching and efficient flag handling.
- Lazy-loading of algorithms for reduced memory usage.
Enhanced Usability:
- Global flags for normalization.
- Centralized trivial checks for consistency.
- Comprehensive documentation with examples.
- Methods now accept a config object for optional parameters (e.g., flags, threshold, options).
vers. 1.0.3
lightweight npm package to calculate string similarity
Full Changelog: v1.0.2...v1.0.3
Patch notes:
- Add
threshold
to specify the minimum required similarity
vers. 1.0.2
lightweight npm package to calculate string similarity
Full Changelog: v1.0.1...v1.0.2
Patch notes:
- Add normalize options
i
ands
- Minor fixes
vers. 1.0.1
lightweight npm package to calculate string similarity