Skip to content

Latest commit

 

History

History
436 lines (259 loc) · 16.9 KB

CHANGELOG.md

File metadata and controls

436 lines (259 loc) · 16.9 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.

3.7.28 (2024-03-27)

♻️ Refactoring

3.7.27 (2024-03-22)

🩹 Bug fixes

  • fix unintentional, IDE-induced Unicode encoding issue (a54a69b)
    • use unicode Kelvin sign as \u212a to avoid/fix bug in encodeEntitiesNum()
      • potential culprits for this issue: VSCode or Prettier
    • add tests

3.7.25 (2024-03-18)

♻️ Refactoring

  • minor update slugify()/slugifyGH() regexps (03b77d1)

3.7.4 (2023-12-18)

🩹 Bug fixes

  • improve split() regexp handling (65fe14b)
    • ensure given regexp has global flag enabled

3.7.0 (2023-11-24)

🚀 Features

3.6.5 (2023-11-09)

♻️ Refactoring

  • update all tests (packages A-S) (e3085e4)

3.6.0 (2023-09-19)

🚀 Features

  • add escapeEntitiesNum() (f921491)

3.5.0 (2023-09-15)

🚀 Features

  • add more HTML entities (9fa5d91)
  • add support for numeric HTML entities (8d942ba)
    • add RE_ENTITIES_NUM
    • update unescapeEntities() to also support numeric entities
  • add unitless() formatter (d5025ce)

3.4.12 (2023-08-22)

🩹 Bug fixes

  • empty string check for capitalize() (f2dcee5)

3.4.0 (2023-02-27)

🚀 Features

🩹 Bug fixes

  • add emoji ranges for slugify/slugifyGH() (f5cb210)

3.3.3 (2022-04-07)

♻️ Refactoring

  • replace deprecated .substr() w/ .substring() (0710509)

3.3.0 (2021-12-02)

🚀 Features

  • add currency formatters (52b7340)

3.2.0 (2021-11-17)

🚀 Features

  • Using workspaces for local tools (bf7a404) Improving the overall build ergonomics
    • introduced a tools workspaces
    • imported it in all needed packages/examples
    • inclusive project root

♻️ Refactoring

  • testrunner to binary (4ebbbb2) this commit reverts (partly) changes made in: ef346d7a8753590dc9094108a3d861a8dbd5dd2c overall purpose is better testament ergonomics: instead of having to pass NODE_OPTIONS with every invocation having a binary to handle this for us.

3.1.4 (2021-11-10)

♻️ Refactoring

  • update all countdown loops (a5f374b)

3.1.0 (2021-10-25)

🚀 Features

  • migrate/add entities, regexes, fns (57c246d)

3.0.1 (2021-10-13)

♻️ Refactoring

  • update imports in all pkgs (5fa2b6f)
    • add .js suffix for all relative imports
  • update imports in all tests/pkgs (effd591)

3.0.0 (2021-10-12)

🛑 Breaking changes

  • major update of ALL pkgs (export maps, ESM only) (0d1d6ea)
  • BREAKING CHANGE: discontinue CommonJS & UMD versions
    • only ESM modules will be published from now on
    • CJS obsolete due to ESM support in recent versions of node:
      • i.e. launch NodeJS via:
      • node --experimental-specifier-resolution=node --experimental-repl-await
      • in the node REPL use await import(...) instead of require()
    • UMD obsolete due to widespread browser support for ESM Also:
    • normalize/restructure/reorg all package.json files
    • cleanup all build scripts, remove obsolete
    • switch from mocha to @thi.ng/testament for all tests

🚀 Features

♻️ Refactoring

2.1.0 (2021-03-24)

🚀 Features

  • add ruler(), grid() fns, update readme (d93cbf9)

♻️ Refactoring

  • update opts default handling (fc92745)
    • update wrapWord(), wordWrapLine()

2.0.0 (2021-03-24)

🛑 Breaking changes

  • major update wordWrap() & co. (9c9c9cc)
  • BREAKING CHANGE: major update wordWrap(), wordWrapLines() etc.
    • update arguments
    • add WordWrapOpts to configure wordwrap behavior
    • add IWordSplit interface and SPLIT_PLAIN, SPLIT_ANSI impls
    • implement hardwrap mode

🚀 Features

  • update split() args (ea503e8)
    • allow string delimiters (or regexp)
  • add ANSI predicates (928694b)

1.15.0 (2021-02-20)

🚀 Features

  • add int/intLocale, vector formatters (ac55fe0)
    • add optional arg for float() for special NaN/Inf handling

♻️ Refactoring

1.14.0 (2021-01-13)

🚀 Features

♻️ Refactoring

  • minor update uuid() (0a37562)
  • minor update computeCursorPos() (a593d66)

1.13.0 (2021-01-10)

🚀 Features

  • update padLeft/Right() args (118f97f)
    • add optional length arg to explicitly specify string length (e.g. to exclude ANSI control seq chars)
  • add stripAnsi(), lengthAnsi() fns (86fa81a)
  • add wordWrap*() fns (2a283c0)
  • add tab conversion fns (aefdd97)

⏱ Performance improvements

  • simplify string default delim regexp (bb62760)

1.12.0 (2021-01-05)

🚀 Features

1.11.4 (2021-01-02)

🩹 Bug fixes

  • update slugifyGH() replacements (#174) (98a9135)
    • hard to find definitive info about GH's slugify rules
    • new rules based on more manual experiments and studying of unicode charts
    • likely not a watertight solution, but should fix most issues of prev impl

1.11.2 (2020-12-07)

♻️ Refactoring

  • update type-only imports in various tests/pkgs (3fd9c24)

1.11.0 (2020-11-24)

🚀 Features

♻️ Refactoring

1.10.0 (2020-09-22)

🚀 Features

  • add unescape() (924466b)
  • add escape(), update unescape(), add tests (e0d5f1e)
  • add BOM const, update pkg meta (b6751fc)

1.9.6 (2020-09-13)

♻️ Refactoring

  • update deps, imports, use new Fn types (3d21571)

1.9.0 (2020-07-08)

🚀 Features

1.8.4 (2020-04-20)

♻️ Refactoring

  • update ALPHA, ALPHA_NUM & WS groups (719b437)

1.8.0 (2020-03-28)

🚀 Features

♻️ Refactoring

  • add truncateRight alias (81fb592)
  • update bits/bytes unit defs (f9becb1)

1.7.0 (2020-03-06)

🚀 Features

  • add char group LUTs for classification (c3ff006)

1.6.0 (2020-03-01)

🚀 Features

1.5.0 (2020-02-25)

🚀 Features

♻️ Refactoring

1.4.0 (2020-01-26)

🚀 Features

  • add format() helpers (str, ignore) (df87b7c)
  • add interpolate() (a19e409)

1.3.0 (2019-09-21)

🚀 Features

  • add charRange(), add radix & zero-pad presets (c9e5a63)

1.2.0 (2019-07-07)

🚀 Features

  • enable TS strict compiler flags (refactor) (76cecb8)

♻️ Refactoring

  • address TS strictNullChecks flag (fb315fe)

1.1.0 (2019-04-15)

🚀 Features

1.0.2 (2019-01-31)

🩹 Bug fixes

  • fix #70, replace kebab() regex w/ legacy version (3adabc4)

1.0.0 (2019-01-21)

🛑 Breaking changes

  • update package build scripts & outputs, imports in ~50 packages (b54b703)
  • BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
    • build scripts now first build ES6 modules in package root, then call scripts/bundle-module to build minified CJS & UMD bundles in /lib
    • all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.

0.7.0 (2018-12-13)

🚀 Features

🩹 Bug fixes

  • update kebab() (1b298f7)
    • fix initial capital handling
    • add (partial) UTF-8 support
    • add note about Safari / FF

0.6.0 (2018-11-08)

🚀 Features

  • add configurable units() HOF & presets (33e915b)
    • add presets formatters: seconds(), meters(), grams(), bits(), bytes()

0.5.0 (2018-09-25)

🚀 Features

  • add splice(), refactor repeat(), add tests (0cce048)

0.4.3 (2018-09-24)

🩹 Bug fixes

  • rename number parsers (8cbfb97)
    • rename to maybeParseInt / maybeParseFloat

0.3.0 (2018-08-24)

🚀 Features

  • add truncateLeft() & wrap() stringers (1a20bc2)
  • add case converters (653a175)
    • camel / kebab / snake

🩹 Bug fixes

  • buffer length (for null inputs) (center()) (5209c42)
    • also truncate oversized inputs

0.2.0 (2018-08-08)

🚀 Features

  • add opt prefix arg for radix() (5864f2c)

0.1.1 (2018-08-08)

🩹 Bug fixes

0.1.0 (2018-08-08)

🚀 Features