Releases: danielhaim1/TitleCaser
Releases · danielhaim1/TitleCaser
v1.7.15
Full Changelog: v1.7.13...v1.7.15
v1.7.15
- Added a limit to the number of replacement rules
- Applied the limit in both
setReplaceTermsandaddReplaceTerm - Cloned default replacement data in the constructor
- Removed shared mutable state between instances
- Improved stability for long-running Node usage
v1.7.14
- Added
normalizeWhitespaceoption (enabled by default) - Decoupled casing logic from whitespace trimming
- Allowed whitespace-only strings instead of throwing
- Preserved original spacing when
normalizeWhitespace: false(editor-safe mode) – (Issue #17) - Added tests to lock down the whitespace behavior
- Minor README refinements
Contributors
Thanks to @miladaz for raising the whitespace/editor use case in Issue #17.
v1.7.12
Full Changelog: v1.7.10...v1.7.12
[1.7.12] (2026-02-13)
Added
- TypeScript test coverage for type definitions
- Missing options to TypeScript definitions:
neverCapitalize,replaceTermList,debug - Missing
setStylemethod to TypeScript definitions britishstyle option to TypeScript definitions