Skip to content

v3.0.0

Compare
Choose a tag to compare
released this 25 Mar 08:18
· 533 commits to main since this release

3.0.0 (2022-03-25)

⚠ BREAKING CHANGES

  • options: rename extrasKey to extras.key, which is an object
  • options: move indent and jsonIndent to an object, indent becoming indent.details
  • options: rename enable option to show

Features

  • add extras.maxLength options to configure the maximum extras lengths (8450b08)

Bug Fixes

  • options: move indent and jsonIndent to an object, indent becoming indent.details (6c6aad0)
  • options: rename enable option to show (237c6b8)
  • options: rename extrasKey to extras.key, which is an object (c638413)

Code Refactoring

  • options: pass unprocessed options to Formatter and parse in its constructor (468dfdd)
  • options: replace internal options interface with private formatter class variable (2d5a629)
  • replace Joi with Zod and make use of type inference (52ebba6)