Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release 17.0.0 #1

Closed
wants to merge 1 commit into from
Closed

chore: release 17.0.0 #1

wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Apr 8, 2021

🤖 I have created a release *beep* *boop*

17.0.0 (2021-04-08)

⚠ BREAKING CHANGES

  • implicitly private methods are now actually private
  • deprecated reset() method is now private (call yargs() instead).
  • yargs-factory: refactor yargs-factory to use class (refactor(yargs-factory)!: refactor yargs-factory to use class yargs/yargs#1895)
  • .positional() now allowed at root level of yargs.
  • coerce: coerce is now applied before validation.
  • async: yargs now returns a promise if async or check are asynchronous.
  • middleware: global middleware now applied when no command is configured.
  • feat!: improve support for async/await yargs/yargs#1823 contains the following breaking API changes:
    • now returns a promise if handler is async.
    • onFinishCommand removed, in favor of being able to await promise.
    • getCompletion now invokes callback with err and `completions, returns promise of completions.

Features

  • add commands alias (similar to options function) (#1850) (00b74ad)
  • add parseSync/parseAsync method (#1898) (6130ad8)
  • add support for showVersion, similar to showHelp (#1831) (1a1e2d5)
  • adds support for async builder (#1888) (ade29b8), closes #1042
  • allow calling standard completion function from custom one (#1855) (31765cb)
  • allow default completion to be referenced and modified, in custom completion (#1878) (01619f6)
  • async: add support for async check and coerce (#1872) (8b95f57)
  • improve support for async/await (#1823) (169b815)
  • locale: add Ukrainian locale (#1893) (c872dfc)
  • middleware: async middleware can now be used before validation. (e0f9363)
  • middleware: global middleware now applied when no command is configured. (e0f9363)

Bug Fixes

Code Refactoring

  • coerce: coerce is now applied before validation. (8b95f57)
  • deprecated reset() method is now private (call yargs() instead). (376f892)
  • implicitly private methods are now actually private (376f892)
  • yargs-factory: refactor yargs-factory to use class (#1895) (376f892)

This PR was generated with Release Please. See documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant