Skip to content

Commit ef5495f

Browse files
chore: release 16.1.0
1 parent c8580a2 commit ef5495f

File tree

2 files changed

+68
-1
lines changed

2 files changed

+68
-1
lines changed

CHANGELOG.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,73 @@
22

33
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.
44

5+
## [16.1.0](https://www.github.com/laggingreflex/yargs-parser/compare/v16.0.0...v16.1.0) (2020-09-20)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* do not ship type definitions (#318)
11+
* adds support for ESM and Deno (#295)
12+
* **ts:** projects using `@types/yargs-parser` may see variations in type definitions.
13+
* drops Node 6. begin following Node.js LTS schedule (#278)
14+
* the narg count is now enforced when parsing arrays.
15+
* this reverts parsing behavior of booleans to that of yargs@14
16+
* objects used during parsing are now created with a null
17+
* populate error if incompatible narg/count or array/count options are used (#191)
18+
19+
### Features
20+
21+
* **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))
22+
* 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))
23+
* 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))
24+
* 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))
25+
* **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))
26+
* 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))
27+
* 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))
28+
* 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))
29+
* 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))
30+
* 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))
31+
* 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))
32+
* 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))
33+
34+
35+
### Bug Fixes
36+
37+
* **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))
38+
* 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)
39+
* **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))
40+
* **build:** fixing publication ([#310](https://www.github.com/laggingreflex/yargs-parser/issues/310)) ([5d3c6c2](https://www.github.com/laggingreflex/yargs-parser/commit/5d3c6c29a9126248ba601920d9cf87c78e161ff5))
41+
* **build:** push tag created for deno ([2186a14](https://www.github.com/laggingreflex/yargs-parser/commit/2186a14989749887d56189867602e39e6679f8b0))
42+
* **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))
43+
* **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))
44+
* **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))
45+
* __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))
46+
* 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))
47+
* boolean numeric short option ([#294](https://www.github.com/laggingreflex/yargs-parser/issues/294)) ([f600082](https://www.github.com/laggingreflex/yargs-parser/commit/f600082c959e092076caf420bbbc9d7a231e2418))
48+
* 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))
49+
* 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))
50+
* **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))
51+
* **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))
52+
* address bugs with "uknown-options-as-args" ([bc023e3](https://www.github.com/laggingreflex/yargs-parser/commit/bc023e3b13e20a118353f9507d1c999bf388a346))
53+
* 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))
54+
* 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))
55+
56+
57+
### Reverts
58+
59+
* revert 16.0.0 CHANGELOG entry ([920320a](https://www.github.com/laggingreflex/yargs-parser/commit/920320ad9861bbfd58eda39221ae211540fc1daf))
60+
61+
62+
### Build System
63+
64+
* 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))
65+
66+
67+
### Code Refactoring
68+
69+
* 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))
70+
* **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))
71+
572
## [20.1.0](https://www.github.com/yargs/yargs-parser/compare/v20.0.0...v20.1.0) (2020-09-20)
673

774

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "yargs-parser",
3-
"version": "20.1.0",
3+
"version": "16.1.0",
44
"description": "the mighty option parser used by yargs",
55
"main": "build/index.cjs",
66
"exports": {

0 commit comments

Comments
 (0)