Skip to content

v0.25.0

Compare
Choose a tag to compare
@c4spar c4spar released this 03 Sep 13:29
· 204 commits to main since this release
4ce24f7

BREAKING CHANGES

  • command: flatten variadic arguments and fix types for variadic option arguments (#418) (bf5f15a)

    Before:

    new Command()
      .arguments("[arg1] [arg2] [...restArgs]")
      .action((_, arg1, arg2, restArgs) => {})

    After:

    new Command()
      .arguments("[arg1] [arg2] [...restArgs]")
      .action((_, arg1, arg2, ...restArgs) => {})

Features

  • command: add .noGlobals() method (#403) (e37fb99)
  • table: allow undefined cell values and override them with row and col span (#427) (89fe0ca)

Bug Fixes

  • command: required options with conflicting options should be optional (#435) (4c71af1)
  • command: type error when trying to add a command instance with child commands (#386) (35fe1de)
  • command: use instance properties for shouldThrowErrors and shouldExit check (#426) (21d7558)
  • command: don't call Deno.exit() in help command when .noExit() is called (#424) (41769ec)
  • command: ignore missing required env vars for global help option (#423) (0290828)
  • command: ignore missing required env vars for help and version option (#415) (275b337)
  • command: do not require full env permission (#416) (bc4c1bd)
  • table: max call stack error thrown for large tables (#433) (f699178)
  • table: error when first row is empty and colSpan is enabled (#432) (4d07eea)
  • table: row doesn't inherit the table settings correctly (#428) (60a781c)

Code Refactoring

  • command: refactor .parseOptions() method (#409) (58df99d)

Chore

Documentation Updates

  • command: update ansi example (#422) (cab4f51)
  • command: fix examples and use local file imports (#410) (4c62043)