Rundown of notable changes between versions. More detailed rationale may be found by digging through the commit logs.
This project honours Semantic Versioning.
February 27th, 2019
Introduced several features to simplify control of option processing.
- Added: Ability to extract option-lists from strings
- Added: Setting to disable mixed-order option/argument lists
- Added: Setting to throw an error for unrecognised options
- Added: Support for terminating options using a double-dash
- Fixed: Options array being modified by reference
October 21st, 2018
Fixed an oversight with recently-added type definitions:
- Fixed: Breakage in TypeScript if optional parameters were omitted
- Fixed: Incomplete option typing for
noAliasPropagation
October 11th, 2018
Added type definitions for TypeScript.
August 24th, 2016
Housekeeping release to optimise module distribution and fix minor bugs.
- Fixed: Exceptions thrown when passing blank arguments
- Fixed: Main file shouldn't include hashbang or be executable
- Fixed: Unnecessary files included with NPM downloads
August 12th, 2016
Fixed several bugs with option-bundling, and added helpful new features.
- Added: Ability to parse options without defining them
- Added: Setting to disable bundling
- Added: Support for shell-style single-character notation
- Fixed: Arguments given to niladic option-bundles not added to argv
- Fixed: Multiple bundles misinterpreted as argv elements
- Fixed: Only one option could be read with --equals=sign assignment
December 9th, 2015
Fixed a careless bug where variadic options dropped everything after the
first value... other options included.
December 9th, 2015
Initial release.