Skip to content

Releases: komed3/cmpstr

vers. 2.0.3

09 Apr 09:33
84602f4
Compare
Choose a tag to compare

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 for activeOnly=true.

Full Changelog: v2.0.2...v2.0.3

vers. 2.0.2

08 Apr 00:13
c3f9ae9
Compare
Choose a tag to compare

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 and getFlags added.
  • Added normalizeAsync to the asynchronous class.
  • The normalize and normalizeAsync 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 for loadedOnly=true.

Full Changelog: v2.0.1...v2.0.2

vers. 2.0.1

07 Apr 11:04
4556193
Compare
Choose a tag to compare

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

07 Apr 10:03
1b13a14
Compare
Choose a tag to compare

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

27 Dec 10:46
b170735
Compare
Choose a tag to compare

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

23 Oct 08:48
cd28e4e
Compare
Choose a tag to compare

lightweight npm package to calculate string similarity

Full Changelog: v1.0.1...v1.0.2

Patch notes:

  • Add normalize options i and s
  • Minor fixes

vers. 1.0.1

22 Oct 12:47
00e1cc2
Compare
Choose a tag to compare

lightweight npm package to calculate string similarity