Skip to content

Releases: danielhaim1/TitleCaser

v1.7.15

17 Feb 17:04

Choose a tag to compare

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 setReplaceTerms and addReplaceTerm
  • Cloned default replacement data in the constructor
  • Removed shared mutable state between instances
  • Improved stability for long-running Node usage

v1.7.14

  • Added normalizeWhitespace option (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

13 Feb 14:57

Choose a tag to compare

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 setStyle method to TypeScript definitions
  • british style option to TypeScript definitions