Skip to content

Releases: yargs/yargs

v17.7.2

27 Apr 19:57
3566b84
Compare
Choose a tag to compare

17.7.2 (2023-04-27)

Bug Fixes

  • do not crash completion when having negated options (#2322) (7f42848)

v17.7.1

21 Feb 15:43
2b6ba31
Compare
Choose a tag to compare

17.7.1 (2023-02-21)

Bug Fixes

  • address display bug with default sub-commands (#2303) (9aa2490)

v17.7.0

16 Feb 16:40
663c1b6
Compare
Choose a tag to compare

17.7.0 (2023-02-13)

Features

  • add method to hide option extras (#2156) (2c144c4)
  • convert line break to whitespace for the description of the option (#2271) (4cb41dc)

Bug Fixes

  • copy the description of the option to its alias in completion (#2269) (f37ee6f)

v17.6.2

03 Nov 16:28
2e0ef3c
Compare
Choose a tag to compare

17.6.2 (2022-11-03)

Bug Fixes

  • deps: update dependency yargs-parser to v21.1.1 (#2231) (75b4d52)
  • lang: typo in Finnish unknown argument singular form (#2222) (a6dfd0a)

v17.6.1

02 Nov 16:23
f727e71
Compare
Choose a tag to compare

17.6.1 (2022-11-02)

Bug Fixes

  • lang: fix "Not enough non-option arguments" message for the Czech language (#2242) (3987b13)

v17.6.0

01 Oct 01:31
6cd8e2d
Compare
Choose a tag to compare

17.6.0 (2022-10-01)

Features

Bug Fixes

  • deno: use 'globalThis' instead of 'window' (#2186) (#2215) (561fc7a)
  • deps: cliui with forced strip-ansi update (#2241) (38e8df1)
  • dont clobber description for multiple option calls (#2171) (f91d9b3)
  • typescript: address warning with objectKeys (394f5f8)

v17.5.1

16 May 02:11
0251511
Compare
Choose a tag to compare

17.5.1 (2022-05-16)

Bug Fixes

  • add missing entries to published files (#2185) (5685382)
  • address bug when strict and async middleware used together (#2164) (cbc2eb7)
  • completion: correct zsh installation instructions (22e9af2)
  • handle multiple node_modules folders determining mainFilename for ESM (#2123) (e0823dd)
  • lang: add missing terms to Russian translation (#2181) (1c331f2)
  • prevent infinite loop with empty locale (#2179) (b672e70)
  • veriadic arguments override array provided in config (the same as multiple dash arguments). (4dac5b8)

v17.5.0

11 May 21:58
fcb4d38
Compare
Choose a tag to compare

17.5.0 (2022-05-11)

Features

  • add browser.d.ts and check for existence of Error.captureStackTrace() (#2144) (6192990)

Bug Fixes

  • completion: support for default flags (db35423)
  • import yargs/yargs in esm projects (#2151) (95aed1c)

v17.4.1

09 Apr 23:13
be52515
Compare
Choose a tag to compare

17.4.1 (2022-04-09)

Bug Fixes

v17.4.0

19 Mar 16:05
bcd59f1
Compare
Choose a tag to compare

17.4.0 (2022-03-19)

Features

  • completion: choices will now work for all possible aliases of an option and not just the default long option (30edd50)
  • completion: positional arguments completion (#2090) (00e4ebb)

Bug Fixes

  • completion: changed the check for option arguments to match options that begin with '-', instead of '--', to include short options (30edd50)
  • completion: fix for completions that contain non-leading hyphens (30edd50)
  • failed command usage string is missing arg descriptions and optional args (#2105) (d6e342d)
  • wrap unknown args in quotes (#2092) (6a29778)