Skip to content

v2.0.0

Compare
Choose a tag to compare
@75lb 75lb released this 12 Oct 15:43
· 222 commits to master since this release

Breaking change since v1.0.0

  • Numeric aliases are no longer valid as -1 could be interpreted as both minus 1 and option 1.

Other changes

  • unicode option names (e.g. --один) are now valid
  • improved error handling
    • all exceptions thrown now have names to aid distinction
    • more validation rules added to catch issues with the supplied option definitions
  • updated docs
  • the codebase is now ES6 (with babel-compiled ES5 fallback) and will run natively where possible