## 3.0.0 (alpha) Features: * php 5.3 support dropped (solves #72) * moved to neutral namespace `GetOpt` * classname changed to `GetOpt` * second parameter for constructor got array of settings (use `GetOpt::SETTING_*` constants) * argument constants changed to string `:*Arg` * parse options after operands (gnu compatibility; solves #39) * added `GetOpt::MULTIPLE_ARGUMENT` for parameter aggregation (solves #57) * implemented `Command` for kinda routing in console applications (solves #41) * implemented `Operand` for named operands and validation (solves #27) * added strict modes for strict operand and parameter matches (default is true for options) (solves #14) * added `HelpInterface` for custom help implementations * refactored `GetOpt::getHelpText()` for better support of other features and customization * default help class uses templates Bugfixes: * `GetOpt::count()` returns the wrong value (solves #70) ## 2.4.3 (2017-07-02) Features: * move documentation to master branch * added badges to readme ## 2.4.2 (2017-07-01) Features: * don't show options when there are no options configured * allow arguments in quotes (allows single quote in double quote and vice versa) * get script name from argv[0] when parsing arguments from array or string * add method to set script name manually * support for php 7.1 ## 2.3.0 (2015-03-28) Features: * Optional argument descriptions (courtesy of @sabl0r) Bugfixes: * Passing a single hyphen as an option value works now (courtesy of @tistre) ## 2.2.0 (2014-09-13) Features: * Added method to customize the help message (courtesy of @mfn) * Option now has a static create method for call chaining in PHP 5.3 (courtesy of @kamermans) ## 2.1.0 (2014-02-28) Features: * Added setters for default values and validation to Option ## 2.0.0 (2014-01-30) Features: * Argument validation (courtesy of @jochenvdv) ## 2.0.0-RC.1 (2014-01-17) Changes: * Namespace is now Ulrichsg\GetOpt * Public API has been cleaned up, please refer to the documentation ## 1.4.1 (2013-12-13) Bugfixes: * Long options are required to be longer than 1 character * Passing duplicate option names to the constructor is forbidden by default ## 1.4.0 (2013-12-13) Features: * Options can be numeric (courtesy of @patinthehat) * Additional convenience methods for working with operands (ditto) ## 1.3.0 (2013-12-07) Features: * Default values for options * ArrayAccess, Countable and Traversable support * Can set program name to enhance help message (courtesy of @misterion) ## 1.2.0 (2013-11-14) Features: * Allow passing incomplete option arrays ## 1.1.0 (2013-06-19) Features: * Added help text printing functionality Bugfixes: * Fixed passing a mandatory argument to the last in a sequence of collapsed short options ## 1.0.1 (2012-05-20) Bugfixes: * Fixed bug where '0' could not be passed as an option value