Skip to content
Compare
Choose a tag to compare
@jsamr jsamr released this 14 Apr 23:52
· 31 commits to master since this release

2.0.0 (2021-04-14)

Code Refactoring

  • counter-style: remove second "maxLenComputer" arg of raw (335d523)

Features

  • counter-style: pass default computer to withMaxLenComputer callback (dd9f032)

Performance Improvements

  • counter-style: optimize fixed maxCounterLen computer (318cb6d)
  • counter-style: optimize symbolic maxLenComputer (2b2b980)
  • counter-style: optimized cyclic maxLenComputer (4e2c7ae)

BREAKING CHANGES

  • counter-style: CounterStyle.raw does not accept a second argument
    anymore. Replace with a chained "withMaxLengthComputer".