All Versions
187
Latest Version
Avg Release Cycle
34 days
Latest Release
578 days ago

Changelog History
Page 6

  • v13.1.0 Changes

    February 12, 2019

    🔋 Features

    • ➕ add applyBeforeValidation, for applying sync middleware before validation (5be206a)
  • v13.0.0 Changes

    February 02, 2019

    🐛 Bug Fixes

    • deps: Update os-locale to avoid security vulnerability (#1270) (27bf739)
    • validation: Use the error as a message when none exists otherwise (#1268) (0510fe6)
    • 👍 better bash path completion (#1272) (da75ea2)
    • middleware added multiple times due to reference bug (#1282) (64af518)

    Chores

    • ✅ ~drop Node 6 from testing matrix (#1287) (ef16792)~
      • opting to not drop Node 6 support until April, see.
    • ⚡️ update dependencies (#1284) (f25de4f)

    🔋 Features

    • ➕ Add .parserConfiguration() method, deprecating package.json config (#1262) (3c6869a)
    • ➕ adds config option for sorting command output (#1256) (6916ce9)
    • 📜 options/positionals with leading '+' and '0' no longer parse as numbers (#1286) (e9dc3aa)
    • 👌 support promises in middleware (f3a4e4f)

    💥 BREAKING CHANGES

    • 📜 options with leading '+' or '0' now parse as strings
    • ⬇️ dropping Node 6 which hits end of life in April 2019
    • 👀 see [email protected] CHANGELOG
    • 📦 we now warn if the yargs stanza package.json is used.
  • v12.0.5 Changes

    November 19, 2018

    🐛 Bug Fixes

    • 👍 allows camel-case, variadic arguments, and strict mode to be combined (#1247) (eacc035)
  • v12.0.4 Changes

    November 10, 2018

    🐛 Bug Fixes

    • don't load config when processing positionals (5d0dc92)
  • v12.0.3 Changes

    October 06, 2018

    🐛 Bug Fixes

    • $0 contains first arg in bundled electron apps (#1206) (567820b)
    • accept single function for middleware (66fd6f7), closes #1214 #1214
    • hide hidden options from help output even if they are in a group (#1221) (da54028)
    • 👌 improve Norwegian Bokmål translations (#1208) (a458fa4)
    • 👌 improve Norwegian Nynorsk translations (#1207) (d422eb5)
  • v12.0.2 Changes

    September 04, 2018

    🐛 Bug Fixes

    • middleware should work regardless of when method is called (664b265), closes #1178
    • 🌐 translation not working when using __ with a single parameter (#1183) (f449aea)
    • ⬆️ upgrade os-locale to version that addresses license issue (#1195) (efc0970)
  • v12.0.1 Changes

    June 29, 2018
  • v12.0.0 Changes

    June 26, 2018

    🐛 Bug Fixes

    • 📜 .argv and .parse() now invoke identical code path (#1126) (f13ebf4)
    • ✂ remove the trailing white spaces from the help output (#1090) (3f0746c)
    • completion: Avoid default command and recommendations during completion (#1123) (036e7c5)

    Chores

    • ✅ test Node.js 6, 8 and 10 (#1160) (84f9d2b)
    • ⬆️ upgrade to version of yargs-parser that does not populate value for unset boolean (#1104) (d4705f4)

    🔋 Features

    • ➕ add support for global middleware, useful for shared tasks like metrics (#1119) (9d71ac7)
    • 👍 allow setting scriptName $0 (#1143) (a2f2eae)
    • ✂ remove setPlaceholderKeys (#1105) (6ee2c82)

    💥 BREAKING CHANGES

    • 📜 Options absent from argv (not set via CLI argument) are now absent from the parsed result object rather than being set with undefined
    • ⬇️ drop Node 4 from testing matrix, such that we'll gradually start drifting away from supporting Node 4.
    • 📜 yargs-parser does not populate 'false' when boolean flag is not passed
    • ⚡️ tests that assert against help output will need to be updated
  • v11.1.0 Changes

    March 04, 2018

    🐛 Bug Fixes

    • choose correct config directory when require.main does not exist (#1056) (a04678c)

    🔋 Features

    • 👍 allow hidden options to be displayed with --show-hidden (#1061) (ea862ae)
    • extend *.rc files in addition to json (#1080) (11691a6)
  • v11.0.0 Changes

    January 22, 2018

    🐛 Bug Fixes

    • Set implicit nargs=1 when type=number requiresArg=true (#1050) (2b56812)

    🔋 Features

    • requiresArg is now simply an alias for nargs(1) (#1054) (a3ddacc)

    💥 BREAKING CHANGES

    • requiresArg now has significantly different error output, matching nargs.

    📄 Historical Versions