Skip to content

Releases: Alhadis/GetOptions

v1.2.0

27 Feb 06:19
v1.2.0
Compare
Choose a tag to compare

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

v1.1.3

21 Oct 10:47
v1.1.3
Compare
Choose a tag to compare

Fixed an oversight with recently-added type definitions:

  • Fixed: Breakage in TypeScript if optional parameters were omitted
  • Fixed: Incomplete option typing for noAliasPropagation

v1.1.2

10 Oct 17:44
v1.1.2
Compare
Choose a tag to compare

Added type definitions for TypeScript.

v1.1.1

23 Aug 14:29
v1.1.1
Compare
Choose a tag to compare

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

v1.1.0

12 Aug 13:36
v1.1.0
Compare
Choose a tag to compare

This release fixes bugs with option-bundles, and adds helpful features.

v1.0.1

11 Aug 15:18
v1.0.1
Compare
Choose a tag to compare

This patch addresses a bug where variadic options ignored their argument lists, dropping everything from the result except the first value:

program --files 1 2 3 --name string

Expected: { files: ["1", "2", "3"], name: "string" }
Actual:   { files: ["1"] }

Needless to say, this was a pretty stupid bug.

v1.0.0

11 Aug 15:17
v1.0.0
Compare
Choose a tag to compare

The first "finished version" of the module.

Shock quotes used because no piece of code is ever truly finished.