Releases: nwoltman/string-natural-compare
Releases · nwoltman/string-natural-compare
3.0.1
3.0.0
BREAKING CHANGES
- Update code to use ES2015 syntax (6d9d8c0)
- Throw on non-string arguments and replace the caseInsensitive function with an option (65d397b)
naturalCompare()
now throws if either of the first two arguments are not a string.- Also, the
naturalCompare.caseInsensitive()
function has been removed. Pass{caseInsensitive: true}
as the third parameter tonaturalCompare()
instead.
- Replace
naturalCompare.alphabet
with analphabet
option (6048bab)naturalCompare.alphabet
no longer exists for setting a custom alphabet. Use the newalphabet
option instead.
Improvements
- Perf boost with custom alphabet (21e061a)
Polish
Documentation
2.0.3
2.0.2
2.0.1
2.0.0
Note: This is a major version change and the interface to this module has completely changed. Please read the documentation in the readme to see the new API.
Changes:
- Update license year (6649df0)
- Convert to a CommonJS module (f055482)
- Drop Bower support (unfortunately new tags keep getting published to Bower anyway)
- Test with Node.js v4 and v5
- Add benchmark test suite (ffd348e, c36d22f, be0f4f8, dda6739)
- Reduce code and improve performance and memory usage (d58b22b)
1.1.1
- Change location of dist files (affects Bower installation)
- Change code style to require trailing commas