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

Changelog History
Page 8

  • v8.0.2 Changes

    June 12, 2017
  • v8.0.1 Changes

    May 02, 2017
  • v8.0.0 Changes

    May 01, 2017

    ๐Ÿ› Bug Fixes

    • commands are now applied in order, from left to right (#857) (baba863)
    • help now takes precedence over command recommendation (#866) (17e3567)
    • positional arguments now work if no handler is provided to inner command (#864) (e28ded3)

    Chores

    • โฌ†๏ธ upgrade yargs-parser (#867) (8f9c6c6)

    ๐Ÿ”‹ Features

    • ๐Ÿ‘ allow extends to inherit from a module (#865) (89456d9)
    • ๐Ÿ‘ allow strict mode to be disabled (#840) (6f78c05)

    ๐Ÿ’ฅ BREAKING CHANGES

    • extends functionality now always loads the JSON provided, rather than reading from a specific key
    • โšก๏ธ Node 4+ is now required; this will allow us to start updating our dependencies.
    • the first argument to strict() is now used to enable/disable its functionality, rather than controlling whether or not it is global.
  • v7.1.0 Changes

    April 13, 2017

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  fix demandOption no longer treats 'false' as truthy (#829) (c748dd2)
    • ๐Ÿ‘ป get terminalWidth in non interactive mode no longer causes a validation exception (#837) (360e301)
    • ๐Ÿ–จ we shouldn't output help if we've printed a prior help-like message (#847) (17e89bd)

    ๐Ÿ”‹ Features

    • โž• add support for numeric commands (#825) (fde0564)
  • v7.0.2 Changes

    March 10, 2017

    ๐Ÿ› Bug Fixes

    • populating placeholder arguments broke validation (b3eb2fe)
  • v7.0.1 Changes

    March 03, 2017

    ๐Ÿ› Bug Fixes

    • 0๏ธโƒฃ --help with default command should print top-level help (#810) (9c03fa4)
  • v7.0.0 Changes

    February 26, 2017

    ๐Ÿ› Bug Fixes

    • โž• address min/max validation message regression (#750) (2e5ce0f)
    • โž• address positional argument strict() bug introduced in #766 (#784) (a8528e6)
    • console.warn() rather than throwing errors when api signatures are incorrect (#804) (a607061)
    • ๐Ÿ“œ context should override parsed argv (#786) (0997288)
    • context variables are now recognized in strict() mode (#796) (48575cd)
    • errors were not bubbling appropriately from sub-commands to top-level (#802) (8a992f5)
    • ๐Ÿ‘ป positional arguments of sub-commands threw strict() exception (#805) (f3f074b)
    • ๐Ÿ“œ pull in yargs-parser with modified env precedence (#787) (e0fbbe5)
    • ๐Ÿ“œ running parse() multiple times on the same yargs instance caused exception if help() enabled (#790) (07e39b7)
    • ๐Ÿ‘‰ use path.resolve() to support node 0.10 (#797) (49a93fc)

    ๐Ÿ”‹ Features

    • โž• add conflicts and implies shorthands. (#753) (bd1472b)
    • โž• add traditional Chinese translation (#780) (6ab6a95)
    • ๐Ÿ‘ allow provided config object to extend other configs (#779) (3280dd0)
    • function argument validation (#773) (22ed9bb)
    • if only one column is provided for examples, allow it to take up the entire line (#749) (7931652)
    • introduce custom yargs error object (#765) (8308efa)
    • 0๏ธโƒฃ introduces support for default commands, using the '*' identifier (#785) (d78a0f5)
    • rethink how options are inherited by commands (#766) (ab1fa4b)

    ๐Ÿ’ฅ BREAKING CHANGES

    • extends key in config file is now used for extending other config files
    • environment variables now take precedence over config files.
    • 0๏ธโƒฃ context now takes precedence over argv and defaults
    • the arguments passed to functions are now validated, there's a good chance this will throw exceptions for a few folks who are using the API in an unexpected way.
    • 0๏ธโƒฃ by default options, and many of yargs' parsing helpers will now default to being applied globally; such that they are no-longer reset before being passed into commands.
    • yargs will no longer aggressively suppress errors, allowing errors that are not generated internally to bubble.
  • v6.6.0 Changes

    December 29, 2016

    ๐Ÿ› Bug Fixes

    • [object Object] was accidentally being populated on options object (#736) (f755e27)
    • ๐Ÿ“ฆ do not use cwd when resolving package.json for yargs parsing config (#726) (9bdaab7)

    ๐Ÿ”‹ Features

    • implement conflicts() for defining mutually exclusive arguments; thanks @madcampos! (#741) (5883779)
    • split demand() into demandCommand()/demandOption() (#740) (66573c8)
    • ๐Ÿ‘Œ support for positional argument aliases (#727) (27e1a57)
  • v6.5.0 Changes

    December 01, 2016

    ๐Ÿ› Bug Fixes

    • ๐Ÿ“œ still freeze/unfreeze if parse() is called in isolation (#717) (30a9492)

    ๐Ÿ”‹ Features

    • ๐Ÿ“œ pull in yargs-parser introducing additional settings (#688), and fixing #716 (#722) (702995a)
  • v6.4.0 Changes

    November 13, 2016

    ๐Ÿ› Bug Fixes

    • locales: correct some Russian translations (#691) (a980671)

    ๐Ÿ”‹ Features

    ๐ŸŽ Performance Improvements

    • ๐Ÿ“ฆ normalizing package data is an expensive operation (#705) (49cf533)