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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

chore: release 16.1.0 #2

wants to merge 2 commits into from

Conversation

github-actions[bot]
Copy link

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

16.1.0 (2020-08-11)

⚠ BREAKING CHANGES

Features

  • add set-placeholder-key configuration (#123) (19386ee)
  • add strip-aliased and strip-dashed configuration options. (#172) (a3936aa)
  • add configuration option to "collect-unknown-options" (#181) (7909cc4)
  • add halt-at-non-option configuration option (#130) (a849fce)
  • adds support for ESM and Deno (#295) (195bc4a)
  • allow configuration of prefix for boolean negation (#94) (00bde7d)
  • also add camelCase array options (#125) (08c0117)
  • array.type can now be provided, supporting coercion (#132) (4b8cfce)
  • boolean arguments will not be collected into an implicit array (#236) (34c4e19)
  • default value is now used if no right-hand value provided for numbers/strings (#156) (5a7c46a)
  • expose camelCase and decamelize helpers (#296) (39154ce)
  • deps: update to latest camelcase/decamelize (#281) (8931ab0)
  • don't coerce number from string with leading '0' or '+' (#158) (18d0fd5)
  • introduce greedy-arrays config, for specifying whether arrays consume multiple positionals (#249) (60e880a)
  • introduce nargs-eats-options config option (#246) (d50822a)
  • introduce single-digit boolean aliases (#255) (9c60265)
  • make combining arrays a configurable option (#111) (c8bf536)
  • maybeCoerceNumber() now takes into account arrays (#187) (31c204b)
  • merge array from arguments with array from config (#83) (806ddd6)
  • NaN can now be provided as a value for nargs, indicating "at least" one value is expected for array (#251) (9db4be8)
  • narg arguments no longer consume flag arguments (#114) (60bb9b3)
  • options that have had their default value used are now tracked (#211) (a525234)
  • populate error if incompatible narg/count or array/count options are used (#191) (84a401f)
  • rework collect-unknown-options into unknown-options-as-args, providing more comprehensive functionality (ef771ca)
  • reworking how numbers are parsed (#104) (fba00eb)
  • support boolean which do not consume next argument. (#171) (0ae7fcb)

Bug Fixes

  • build: push tag created for deno (2186a14)
  • boolean numeric short option (#294) (f600082)
  • raise permission error for Deno if config load fails (#298) (1174e2b)
  • array, nargs: support -o=--value and --option=--value format (#262) (41d3f81)
  • deps: update dependency decamelize to v3 (#274) (4d98698)
  • setArg: options using camel-case and dot-notation populated twice (#268) (f7e15b9)
  • types: switch back to using Partial types (#293) (bdc80ba)
  • proto will now be replaced with proto in parse (#258) (63810ca)
  • address bugs with "uknown-options-as-args" (bc023e3)
  • address issue with array options with array default values (#206) (f5f9e5a)
  • allow null config values (#108) (d8b14f9)
  • array should take precedence over nargs, but enforce nargs (#243) (4cbc188)
  • better handling of quoted strings (#153) (2fb71b2)
  • boolean arrays with default values (#185) (7d42572)
  • boolean now behaves the same as other array types (#184) (17ca3bd)
  • convert values to strings when tokenizing (#167) (57b7883)
  • do not set boolean flags if not defined in argv (#119) (f6e6599)
  • eatNargs() for 'opt.narg === 0' and boolean typed options (#188) (c5a1db0)
  • ensure consistent parsing of dot-notation arguments (#102) (c9bd79c)
  • ensure empty string is added into argv._ (#140) (79cda98)
  • flatten-duplicate-arrays:false for more than 2 arrays (#128) (2bc395f)
  • handling of one char alias (#139) (ee56e31)
  • hyphenated flags combined with dot notation broke parsing (#131) (dc788da)
  • Ignore multiple spaces between arguments. (#100) (d137227)
  • implement @antoniom's fix for camel-case expansion (3087e1d)
  • make requiresArg work in conjunction with arrays (#136) (77ae1d4)
  • maybeCoerceNumber now takes precedence over coerce return value (#182) (2f26436)
  • nargs should allow duplicates when duplicate-arguments-array=false (#164) (47ccb0b)
  • nargs was consuming too many arguments (4fef206)
  • nargs was still aggressively consuming too many arguments (9b28aad)
  • normalized keys were not enumerable (#247) (57119f9)
  • only run coercion functions once, despite aliases. (#76) (#103) (507aaef)
  • scientific notation circumvented bounds check (#110) (3571f57)
  • should populate "_" when given config with "short-option-groups" false (#179) (6055974)
  • support keys that collide with object prototypes (#234) (1587b6d)
  • support negative numbers with decimal places (#208) (850bbda)
  • take into account aliases when appending arrays from config object (#199) (f8a2d3f)
  • tokenizer should ignore spaces at the beginning of the argString (#106) (f34ead9)
  • unknown options terminated with digits now handled by unknown-options-as-args (#238) (d36cdfa)
  • unknown-options-as-args: '--' is not an unknown option (#207) (3fee2d8)

Reverts

  • make requiresArg work in conjunction with arrays (#136) (f4a3063)
  • revert 16.0.0 CHANGELOG entry (920320a)

Miscellaneous Chores

Build System

  • drops Node 6. begin following Node.js LTS schedule (#278) (9014ed7)
  • moving to c8 for coverage and dropping Node 6 from build matrix (#209) (f3a9316)

Code Refactoring


This PR was generated with Release Please.

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.

0 participants