Skip to content

Commit

Permalink
chore: release 15.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 9, 2020
1 parent 98189e5 commit 290873b
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 1 deletion.
62 changes: 62 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,68 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [15.2.0](https://www.github.com/laggingreflex/yargs/compare/v15.1.0...v15.2.0) (2020-09-09)


### ⚠ BREAKING CHANGES

* tweaks to ESM/Deno API surface: now exports yargs function by default; getProcessArgvWithoutBin becomes hidBin; types now exported for Deno.
* find-up replaced with escalade; export map added (limits importable files in Node >= 12); yarser-parser@19.x.x (new decamelize/camelcase implementation).
* **usage:** single character aliases are now shown first in help output
* **ts:** yargs now ships with its own types
* drop support for EOL Node 8 (#1686)
* **deps:** yargs-parser@17.0.0 no longer implicitly creates arrays out of boolean

### Features

* adds strictOptions() ([#1738](https://www.github.com/laggingreflex/yargs/issues/1738)) ([b215fba](https://www.github.com/laggingreflex/yargs/commit/b215fba0ed6e124e5aad6cf22c8d5875661c63a3))
* **helpers:** rebase, Parser, applyExtends now blessed helpers ([#1733](https://www.github.com/laggingreflex/yargs/issues/1733)) ([c7debe8](https://www.github.com/laggingreflex/yargs/commit/c7debe8eb1e5bc6ea20b5ed68026c56e5ebec9e1))
* add usage for single-digit boolean aliases ([#1580](https://www.github.com/laggingreflex/yargs/issues/1580)) ([6014e39](https://www.github.com/laggingreflex/yargs/commit/6014e39bca3a1e8445aa0fb2a435f6181e344c45))
* adds deprecation option for commands ([027a636](https://www.github.com/laggingreflex/yargs/commit/027a6365b737e13116811a8ef43670196e1fa00a))
* adds support for ESM and Deno ([#1708](https://www.github.com/laggingreflex/yargs/issues/1708)) ([ac6d5d1](https://www.github.com/laggingreflex/yargs/commit/ac6d5d105a75711fe703f6a39dad5181b383d6c6))
* deprecateOption ([#1559](https://www.github.com/laggingreflex/yargs/issues/1559)) ([8aae333](https://www.github.com/laggingreflex/yargs/commit/8aae3332251d09fa136db17ef4a40d83fa052bc4))
* display appropriate $0 for electron apps ([#1536](https://www.github.com/laggingreflex/yargs/issues/1536)) ([d0e4379](https://www.github.com/laggingreflex/yargs/commit/d0e437912917d6a66bb5128992fa2f566a5f830b))
* drop support for EOL Node 8 ([#1686](https://www.github.com/laggingreflex/yargs/issues/1686)) ([863937f](https://www.github.com/laggingreflex/yargs/commit/863937f23c3102f804cdea78ee3097e28c7c289f))
* i18n for ESM and Deno ([#1735](https://www.github.com/laggingreflex/yargs/issues/1735)) ([c71783a](https://www.github.com/laggingreflex/yargs/commit/c71783a5a898a0c0e92ac501c939a3ec411ac0c1))
* support array of examples ([#1682](https://www.github.com/laggingreflex/yargs/issues/1682)) ([225ab82](https://www.github.com/laggingreflex/yargs/commit/225ab8271938bed3a48d23175f3d580ce8cd1306))
* tweaks to API surface based on user feedback ([#1726](https://www.github.com/laggingreflex/yargs/issues/1726)) ([4151fee](https://www.github.com/laggingreflex/yargs/commit/4151fee4c33a97d26bc40de7e623e5b0eb87e9bb))
* **completion:** takes negated flags into account when boolean-negation is set ([#1509](https://www.github.com/laggingreflex/yargs/issues/1509)) ([7293ad5](https://www.github.com/laggingreflex/yargs/commit/7293ad50d20ea0fb7dd1ac9b925e90e1bd95dea8))
* **deps:** pull in yargs-parser@17.0.0 ([#1553](https://www.github.com/laggingreflex/yargs/issues/1553)) ([b9409da](https://www.github.com/laggingreflex/yargs/commit/b9409da199ebca515a848489c206b807fab2e65d))
* **deps:** yargs-parser with 'greedy-array' configuration ([#1569](https://www.github.com/laggingreflex/yargs/issues/1569)) ([a03a320](https://www.github.com/laggingreflex/yargs/commit/a03a320dbf5c0ce33d829a857fc04a651c0bb53e))
* **usage:** single char aliases first in help ([#1574](https://www.github.com/laggingreflex/yargs/issues/1574)) ([a552990](https://www.github.com/laggingreflex/yargs/commit/a552990c120646c2d85a5c9b628e1ce92a68e797))
* **yargs-parser:** introduce single-digit boolean aliases ([#1576](https://www.github.com/laggingreflex/yargs/issues/1576)) ([3af7f04](https://www.github.com/laggingreflex/yargs/commit/3af7f04cdbfcbd4b3f432aca5144d43f21958c39))
* introduces strictCommands() subset of strict mode ([#1540](https://www.github.com/laggingreflex/yargs/issues/1540)) ([1d4cca3](https://www.github.com/laggingreflex/yargs/commit/1d4cca395a98b395e6318f0505fc73bef8b01350))


### Bug Fixes

* **typescript:** yargs-parser was breaking @types/yargs ([#1745](https://www.github.com/laggingreflex/yargs/issues/1745)) ([2253284](https://www.github.com/laggingreflex/yargs/commit/2253284b233cceabd8db677b81c5bf1755eef230))
* code was not passed to process.exit ([#1742](https://www.github.com/laggingreflex/yargs/issues/1742)) ([d1a9930](https://www.github.com/laggingreflex/yargs/commit/d1a993035a2f76c138460052cf19425f9684b637))
* **deps:** fix enumeration for normalized path arguments ([#1567](https://www.github.com/laggingreflex/yargs/issues/1567)) ([0b5b1b0](https://www.github.com/laggingreflex/yargs/commit/0b5b1b0e5f4f9baf393c48e9cc2bc85c1b67a47a))
* **docs:** describe usage of `.check()` in more detail ([932cd11](https://www.github.com/laggingreflex/yargs/commit/932cd1177e93f5cc99edfe57a4028e30717bf8fb))
* **i18n:** Japanese translation phrasing ([#1619](https://www.github.com/laggingreflex/yargs/issues/1619)) ([0894175](https://www.github.com/laggingreflex/yargs/commit/089417550ef5a5b8ce3578dd2a989191300b64cd))
* **locales:** only translate default option group name ([acc16de](https://www.github.com/laggingreflex/yargs/commit/acc16de6b846ea7332db753646a9cec76b589162))
* **locales:** remove extra space in French for 'default' ([#1564](https://www.github.com/laggingreflex/yargs/issues/1564)) ([ecfc2c4](https://www.github.com/laggingreflex/yargs/commit/ecfc2c474575c6cdbc6d273c94c13181bd1dbaa6))
* **strict mode:** report default command unknown arguments ([#1626](https://www.github.com/laggingreflex/yargs/issues/1626)) ([69f29a9](https://www.github.com/laggingreflex/yargs/commit/69f29a9cd429d4bb99481238305390107ac75b02))
* **translations:** add French translation for unknown command ([#1563](https://www.github.com/laggingreflex/yargs/issues/1563)) ([18b0b75](https://www.github.com/laggingreflex/yargs/commit/18b0b752424bf560271e670ff95a0f90c8386787))
* **usage:** translate 'options' group only when displaying help ([#1600](https://www.github.com/laggingreflex/yargs/issues/1600)) ([e60b39b](https://www.github.com/laggingreflex/yargs/commit/e60b39b9d3a912c06db43f87c86ba894142b6c1c))
* **yargs:** add missing command(module) signature ([#1707](https://www.github.com/laggingreflex/yargs/issues/1707)) ([0f81024](https://www.github.com/laggingreflex/yargs/commit/0f810245494ccf13a35b7786d021b30fc95ecad5)), closes [#1704](https://www.github.com/laggingreflex/yargs/issues/1704)
* __proto__ will now be replaced with ___proto___ in parse ([#1591](https://www.github.com/laggingreflex/yargs/issues/1591)) ([2474c38](https://www.github.com/laggingreflex/yargs/commit/2474c3889dcae42ddc031f0ac3872d306bf99e6b))
* address ambiguity between nargs of 1 and requiresArg ([#1572](https://www.github.com/laggingreflex/yargs/issues/1572)) ([a5edc32](https://www.github.com/laggingreflex/yargs/commit/a5edc328ecb3f90d1ba09cfe70a0040f68adf50a))
* **translations:** fix pluralization in error messages. ([#1557](https://www.github.com/laggingreflex/yargs/issues/1557)) ([94fa38c](https://www.github.com/laggingreflex/yargs/commit/94fa38cbab8d86943e87bf41d368ed56dffa6835))
* **yargs:** correct support of bundled electron apps ([#1554](https://www.github.com/laggingreflex/yargs/issues/1554)) ([a0b61ac](https://www.github.com/laggingreflex/yargs/commit/a0b61ac21e2b554aa73dbf1a66d4a7af94047c2f))
* help always displayed for the first command parsed having an async handler ([#1535](https://www.github.com/laggingreflex/yargs/issues/1535)) ([d585b30](https://www.github.com/laggingreflex/yargs/commit/d585b303a43746201b05c9c9fda94a444634df33))


### Reverts

* Revert "chore(deps): update dependency eslint to v7 (#1656)" (#1673) ([34949f8](https://www.github.com/laggingreflex/yargs/commit/34949f89ee7cdf88f7b315659df4b5f62f714842)), closes [#1656](https://www.github.com/laggingreflex/yargs/issues/1656) [#1673](https://www.github.com/laggingreflex/yargs/issues/1673)


### Code Refactoring

* **ts:** ship yargs.d.ts ([#1671](https://www.github.com/laggingreflex/yargs/issues/1671)) ([c06f886](https://www.github.com/laggingreflex/yargs/commit/c06f886142ad02233db2b2ba82f2e606cbf57ccd))

### [16.0.2](https://www.github.com/yargs/yargs/compare/v16.0.1...v16.0.2) (2020-09-09)


Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "yargs",
"version": "16.0.2",
"version": "15.2.0",
"description": "yargs the modern, pirate-themed, successor to optimist.",
"main": "./index.cjs",
"exports": {
Expand Down

0 comments on commit 290873b

Please sign in to comment.