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 16.1.0 #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,79 @@

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.

## [16.1.0](https://www.github.com/laggingreflex/yargs-parser/compare/v16.0.0...v16.1.0) (2021-02-13)


### ⚠ BREAKING CHANGES

* do not ship type definitions (#318)
* adds support for ESM and Deno (#295)
* **ts:** projects using `@types/yargs-parser` may see variations in type definitions.
* drops Node 6. begin following Node.js LTS schedule (#278)
* the narg count is now enforced when parsing arrays.
* this reverts parsing behavior of booleans to that of yargs@14
* objects used during parsing are now created with a null
* populate error if incompatible narg/count or array/count options are used (#191)

### Features

* **string-utils:** export looksLikeNumber helper ([#324](https://www.github.com/laggingreflex/yargs-parser/issues/324)) ([c8580a2](https://www.github.com/laggingreflex/yargs-parser/commit/c8580a2327b55f6342acecb6e72b62963d506750))
* adds parse-positional-numbers configuration ([#321](https://www.github.com/laggingreflex/yargs-parser/issues/321)) ([9cec00a](https://www.github.com/laggingreflex/yargs-parser/commit/9cec00a622251292ffb7dce6f78f5353afaa0d4c))
* adds support for ESM and Deno ([#295](https://www.github.com/laggingreflex/yargs-parser/issues/295)) ([195bc4a](https://www.github.com/laggingreflex/yargs-parser/commit/195bc4a7f20c2a8f8e33fbb6ba96ef6e9a0120a1))
* expose camelCase and decamelize helpers ([#296](https://www.github.com/laggingreflex/yargs-parser/issues/296)) ([39154ce](https://www.github.com/laggingreflex/yargs-parser/commit/39154ceb5bdcf76b5f59a9219b34cedb79b67f26))
* **deps:** update to latest camelcase/decamelize ([#281](https://www.github.com/laggingreflex/yargs-parser/issues/281)) ([8931ab0](https://www.github.com/laggingreflex/yargs-parser/commit/8931ab08f686cc55286f33a95a83537da2be5516))
* boolean arguments will not be collected into an implicit array ([#236](https://www.github.com/laggingreflex/yargs-parser/issues/236)) ([34c4e19](https://www.github.com/laggingreflex/yargs-parser/commit/34c4e19bae4e7af63e3cb6fa654a97ed476e5eb5))
* introduce greedy-arrays config, for specifying whether arrays consume multiple positionals ([#249](https://www.github.com/laggingreflex/yargs-parser/issues/249)) ([60e880a](https://www.github.com/laggingreflex/yargs-parser/commit/60e880a837046314d89fa4725f923837fd33a9eb))
* introduce nargs-eats-options config option ([#246](https://www.github.com/laggingreflex/yargs-parser/issues/246)) ([d50822a](https://www.github.com/laggingreflex/yargs-parser/commit/d50822ac10e1b05f2e9643671ca131ac251b6732))
* introduce single-digit boolean aliases ([#255](https://www.github.com/laggingreflex/yargs-parser/issues/255)) ([9c60265](https://www.github.com/laggingreflex/yargs-parser/commit/9c60265fd7a03cb98e6df3e32c8c5e7508d9f56f))
* NaN can now be provided as a value for nargs, indicating "at least" one value is expected for array ([#251](https://www.github.com/laggingreflex/yargs-parser/issues/251)) ([9db4be8](https://www.github.com/laggingreflex/yargs-parser/commit/9db4be81417a2c7097128db34d86fe70ef4af70c))
* options that have had their default value used are now tracked ([#211](https://www.github.com/laggingreflex/yargs-parser/issues/211)) ([a525234](https://www.github.com/laggingreflex/yargs-parser/commit/a525234558c847deedd73f8792e0a3b77b26e2c0))
* populate error if incompatible narg/count or array/count options are used ([#191](https://www.github.com/laggingreflex/yargs-parser/issues/191)) ([84a401f](https://www.github.com/laggingreflex/yargs-parser/commit/84a401f0fa3095e0a19661670d1570d0c3b9d3c9))


### Bug Fixes

* do not lowercase camel cased string ([#348](https://www.github.com/laggingreflex/yargs-parser/issues/348)) ([5f4da1f](https://www.github.com/laggingreflex/yargs-parser/commit/5f4da1f17d9d50542d2aaa206c9806ce3e320335))
* **array, nargs:** support -o=--value and --option=--value format ([#262](https://www.github.com/laggingreflex/yargs-parser/issues/262)) ([41d3f81](https://www.github.com/laggingreflex/yargs-parser/commit/41d3f8139e116706b28de9b0de3433feb08d2f13))
* **build:** fixing publication ([#310](https://www.github.com/laggingreflex/yargs-parser/issues/310)) ([5d3c6c2](https://www.github.com/laggingreflex/yargs-parser/commit/5d3c6c29a9126248ba601920d9cf87c78e161ff5))
* **build:** push tag created for deno ([2186a14](https://www.github.com/laggingreflex/yargs-parser/commit/2186a14989749887d56189867602e39e6679f8b0))
* **build:** switch to action for publish ([#308](https://www.github.com/laggingreflex/yargs-parser/issues/308)) ([5c2f305](https://www.github.com/laggingreflex/yargs-parser/commit/5c2f30585342bcd8aaf926407c863099d256d174))
* **build:** update release-please; make labels kick off builds ([#323](https://www.github.com/laggingreflex/yargs-parser/issues/323)) ([09f448b](https://www.github.com/laggingreflex/yargs-parser/commit/09f448b4cd66e25d2872544718df46dab8af062a))
* **deno:** address import issues in Deno ([#339](https://www.github.com/laggingreflex/yargs-parser/issues/339)) ([3b54e5e](https://www.github.com/laggingreflex/yargs-parser/commit/3b54e5eef6e9a7b7c6eec7c12bab3ba3b8ba8306))
* **deno:** update types for deno ^1.4.0 ([#330](https://www.github.com/laggingreflex/yargs-parser/issues/330)) ([0ab92e5](https://www.github.com/laggingreflex/yargs-parser/commit/0ab92e50b090f11196334c048c9c92cecaddaf56))
* **deps:** update dependency decamelize to v3 ([#274](https://www.github.com/laggingreflex/yargs-parser/issues/274)) ([4d98698](https://www.github.com/laggingreflex/yargs-parser/commit/4d98698bc6767e84ec54a0842908191739be73b7))
* **exports:** node 13.0 and 13.1 require the dotted object form _with_ a string fallback ([#336](https://www.github.com/laggingreflex/yargs-parser/issues/336)) ([3ae7242](https://www.github.com/laggingreflex/yargs-parser/commit/3ae7242040ff876d28dabded60ac226e00150c88))
* **exports:** node 13.0-13.6 require a string fallback ([#333](https://www.github.com/laggingreflex/yargs-parser/issues/333)) ([291aeda](https://www.github.com/laggingreflex/yargs-parser/commit/291aeda06b685b7a015d83bdf2558e180b37388d))
* **types:** envPrefix should be optional ([#305](https://www.github.com/laggingreflex/yargs-parser/issues/305)) ([ae3f180](https://www.github.com/laggingreflex/yargs-parser/commit/ae3f180e14df2de2fd962145f4518f9aa0e76523))
* **unknown-options-as-args:** convert positionals that look like numbers ([#326](https://www.github.com/laggingreflex/yargs-parser/issues/326)) ([f85ebb4](https://www.github.com/laggingreflex/yargs-parser/commit/f85ebb4face9d4b0f56147659404cbe0002f3dad))
* __proto__ will now be replaced with ___proto___ in parse ([#258](https://www.github.com/laggingreflex/yargs-parser/issues/258)) ([63810ca](https://www.github.com/laggingreflex/yargs-parser/commit/63810ca1ae1a24b08293a4d971e70e058c7a41e2))
* address bugs with "uknown-options-as-args" ([bc023e3](https://www.github.com/laggingreflex/yargs-parser/commit/bc023e3b13e20a118353f9507d1c999bf388a346))
* array should take precedence over nargs, but enforce nargs ([#243](https://www.github.com/laggingreflex/yargs-parser/issues/243)) ([4cbc188](https://www.github.com/laggingreflex/yargs-parser/commit/4cbc188b7abb2249529a19c090338debdad2fe6c))
* boolean numeric short option ([#294](https://www.github.com/laggingreflex/yargs-parser/issues/294)) ([f600082](https://www.github.com/laggingreflex/yargs-parser/commit/f600082c959e092076caf420bbbc9d7a231e2418))
* only strip camel case if hyphenated ([#316](https://www.github.com/laggingreflex/yargs-parser/issues/316)) ([95a9e78](https://www.github.com/laggingreflex/yargs-parser/commit/95a9e785127b9bbf2d1db1f1f808ca1fb100e82a)), closes [#315](https://www.github.com/laggingreflex/yargs-parser/issues/315)
* raise permission error for Deno if config load fails ([#298](https://www.github.com/laggingreflex/yargs-parser/issues/298)) ([1174e2b](https://www.github.com/laggingreflex/yargs-parser/commit/1174e2b3f0c845a1cd64e14ffc3703e730567a84))
* **setArg:** options using camel-case and dot-notation populated twice ([#268](https://www.github.com/laggingreflex/yargs-parser/issues/268)) ([f7e15b9](https://www.github.com/laggingreflex/yargs-parser/commit/f7e15b9800900b9856acac1a830a5f35847be73e))
* **types:** switch back to using Partial types ([#293](https://www.github.com/laggingreflex/yargs-parser/issues/293)) ([bdc80ba](https://www.github.com/laggingreflex/yargs-parser/commit/bdc80ba59fa13bc3025ce0a85e8bad9f9da24ea7))
* normalized keys were not enumerable ([#247](https://www.github.com/laggingreflex/yargs-parser/issues/247)) ([57119f9](https://www.github.com/laggingreflex/yargs-parser/commit/57119f9f17cf27499bd95e61c2f72d18314f11ba))
* support keys that collide with object prototypes ([#234](https://www.github.com/laggingreflex/yargs-parser/issues/234)) ([1587b6d](https://www.github.com/laggingreflex/yargs-parser/commit/1587b6d91db853a9109f1be6b209077993fee4de))
* unknown options terminated with digits now handled by unknown-options-as-args ([#238](https://www.github.com/laggingreflex/yargs-parser/issues/238)) ([d36cdfa](https://www.github.com/laggingreflex/yargs-parser/commit/d36cdfa854254d7c7e0fe1d583818332ac46c2a5))


### Reverts

* revert 16.0.0 CHANGELOG entry ([920320a](https://www.github.com/laggingreflex/yargs-parser/commit/920320ad9861bbfd58eda39221ae211540fc1daf))


### Build System

* drops Node 6. begin following Node.js LTS schedule ([#278](https://www.github.com/laggingreflex/yargs-parser/issues/278)) ([9014ed7](https://www.github.com/laggingreflex/yargs-parser/commit/9014ed722a32768b96b829e65a31705db5c1458a))


### Code Refactoring

* do not ship type definitions ([#318](https://www.github.com/laggingreflex/yargs-parser/issues/318)) ([8fbd56f](https://www.github.com/laggingreflex/yargs-parser/commit/8fbd56f1d0b6c44c30fca62708812151ca0ce330))
* **ts:** move index.js to TypeScript ([#292](https://www.github.com/laggingreflex/yargs-parser/issues/292)) ([f78d2b9](https://www.github.com/laggingreflex/yargs-parser/commit/f78d2b97567ac4828624406e420b4047c710b789))

### [20.2.5](https://www.github.com/yargs/yargs-parser/compare/v20.2.4...v20.2.5) (2021-02-13)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yargs-parser",
"version": "20.2.5",
"version": "16.1.0",
"description": "the mighty option parser used by yargs",
"main": "build/index.cjs",
"exports": {
Expand Down