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 #1876

Merged
merged 2 commits into from May 2, 2021
Merged

chore: release 17.0.0 #1876

merged 2 commits into from May 2, 2021

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 22, 2021

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

17.0.0 (2021-05-02)

⚠ BREAKING CHANGES

  • node: drop Node 10 (feat(node)!: drop Node 10 #1919)
  • 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 #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 #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)
  • node: drop Node 10 (#1919) (5edeb9e)

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.

@bcoe bcoe added the ci label Apr 12, 2021
@github-actions github-actions bot force-pushed the release-v17.0.0 branch 2 times, most recently from 605bfe0 to 0d3e92e Compare April 26, 2021 02:27
@bcoe bcoe added ci and removed ci labels Apr 26, 2021
@bcoe
Copy link
Member

bcoe commented May 2, 2021

Refs: DefinitelyTyped/DefinitelyTyped#52169
Fixes #1899

@bcoe bcoe merged commit a1fe863 into master May 2, 2021
@bcoe bcoe deleted the release-v17.0.0 branch May 2, 2021 19:00
@github-actions
Copy link
Contributor Author

github-actions bot commented May 2, 2021

🤖 Release is at https://github.com/yargs/yargs/releases/tag/v17.0.0 🌻

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

Successfully merging this pull request may close these issues.

None yet

1 participant