Skip to content

v4.0.0

Latest

Choose a tag to compare

@sindresorhus sindresorhus released this 14 Oct 13:47

Breaking

Improvements

Fixes

  • Uppercase a first letter outside the basic multilingual plane (#25) badf49a
    • 𐐨 → 𐐀
  • Normalize any whitespace to a single space 005cdf9 d61f8b9
    • foo\tbar → Foo bar. Previously, a single tab, newline, or other non-space whitespace character was kept.
  • Fix splitting decomposed accents and plural acronyms 3149b03
    • caféMenu in decomposed (NFD) form → Café menu, not Cafémenu
    • userIDs → User ids, not User i ds
  • Fix uppercasing a first letter that expands to several letters 2df0a65
    • file → File, not FIle
    • ß → Ss, not SS
  • Fix uppercasing a first Georgian letter 2d14461
    • Georgian has no titlecase, so გამარჯობა is no longer changed to Გამარჯობა.
  • Fix uppercasing a first digraph letter 7ccd941
    • džungla → Džungla, not DŽungla
  • Fix titlecasing a first Greek letter with an iota subscript a833b22
    • ᾠδή → ᾨδή, not ὨΙδή

v3.1.0...v4.0.0