Visitar URL original
Releases · yargs/yargs · GitHub
Skip to content

Releases: yargs/yargs

v18.2.0

Choose a tag to compare

@github-actions github-actions released this 20 Sep 22:31
e49b60a

18.2.0 (2026-09-20)

Features

  • support creating completions for fish shell (#2568) (34d833a)

Bug Fixes

  • completion: remove spurious single-quote in zsh loadautofunc detection (#2548) (224e285)

v18.1.0

Choose a tag to compare

@github-actions github-actions released this 26 Jul 03:07
8878a89

18.1.0 (2026-07-26)

Features

  • ignore bun when getting bin name (b77831c)

Bug Fixes

  • lang: 'count' for de locale (#2476) (971e351)
  • local prototype pollution vulnerability in apply-extends (437f3a4)
  • locale: add Georgian translation (#2474) (086aeaa)

v17.7.3

Choose a tag to compare

@shadowspawn shadowspawn released this 19 Jun 02:32

17.7.3 (2026-06-19)

Bug Fixes

  • fix: use entry point with file extension for anything that supports exports (#2514) (c7597e3)

v16.2.2

Choose a tag to compare

@shadowspawn shadowspawn released this 19 Jun 02:30

16.2.2 (2026-06-19)

Bug Fixes

  • fix: use entry point with .cjs file extension for yargs export (#2546) (6feb819)

v18.0.0

Choose a tag to compare

@github-actions github-actions released this 27 May 14:26
0bc7255

18.0.0 (2025-05-26)

⚠ BREAKING CHANGES

  • command names are not derived from modules passed to command.
  • singleton usage of yargs yargs.foo, yargs().argv, has been removed.
  • minimum node.js versions now ^20.19.0 || ^22.12.0 || >=23.
  • yargs is now ESM first

Features

Bug Fixes

  • addDirectory do not support absolute command dir (#2465) (3a40a78)
  • allows ESM modules commands to be extensible using visit option (#2468) (200e1aa)
  • browser: fix shims so that yargs continues working in browser context (#2457) (4ae5f57)
  • build: address problems with typescript compilation (#2445) (8d72fb3)
  • coerce should play well with parser configuration (#2308) (8343c66)
  • deps: update dependency yargs-parser to v22 (#2470) (639130d)
  • exit after async handler done (#2313) (e326cde)
  • handle spaces in bash completion (#2452) (83b7788)
  • parser-configuration should work well with generated completion script (#2332) (888db19)
  • propagate Dictionary including undefined in value type (#2393) (2b2f7f5)
  • zsh: completion no longer requires double tab when using autoloaded (0dd8fe4)

Code Refactoring

  • command names are not derived from modules passed to command. (d90af45)
  • singleton usage of yargs yargs.foo, yargs().argv, has been removed. (d90af45)

Build System

  • minimum node.js versions now ^20.19.0 || ^22.12.0 || >=23. (d90af45)

v17.7.2

Choose a tag to compare

@github-actions github-actions released this 27 Apr 19:57
3566b84

17.7.2 (2023-04-27)

Bug Fixes

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

v17.7.1

Choose a tag to compare

@github-actions github-actions released this 21 Feb 15:43
2b6ba31

17.7.1 (2023-02-21)

Bug Fixes

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

v17.7.0

Choose a tag to compare

@github-actions github-actions released this 16 Feb 16:40
663c1b6

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

Choose a tag to compare

@github-actions github-actions released this 03 Nov 16:28
2e0ef3c

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

Choose a tag to compare

@github-actions github-actions released this 02 Nov 16:23
f727e71

17.6.1 (2022-11-02)

Bug Fixes

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