if configfile is a coderef call it and write some tests for it
[gitmo/MooseX-Getopt.git] / ChangeLog
index 0ac67bd..7b0018b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 Revision history for Perl extension MooseX-Getopt
 
-0.05 
+0.21 Thu. Aug 27 2009
+  * MooseX::Getopt
+    - Enable and document the argv parameter to the constructor.
+    - Applied patches in RT43200 and RT43255
+    - Applied patch from RT#47766 to not die if SimpleConfig cannot find the
+      default config file name.
+
+0.20 Wed. July 9 2009
+       - fix MANIFEST.SKIP to avoid double-packaging
+
+0.19 Wed. July 8 2009
+  * MooseX::Getopt
+    - Fix Getopt config spec for --configfile (t0m)
+    - Add support for --usage/--help/--? (drew@drewtaylor.com)
+    - Fix new_with_options to accept a hashref (DOUGDUDE@cpan.org)
+
+  * Tests
+    - Fix warning from tests with new Moose (t0m)
+    - Fix tests on Win32 from RT#44909 (taro-nishino)
+
+0.18 Thu. April 9 2009
+  * MooseX::Getopt::Dashes
+    - New module, for converting undercores to dashes (ilmari)
+
+0.17 Wed. April 8 2009
+  * MooseX::Getopt
+    - work with latest Moose (hdp)
+
+       ~ unify module version numbers with dist version (hdp)
+
+0.16 Tue. February 17 2009
+       * t/
+               - run pod tests only if RELEASE_TESTING env var is set
+
+0.15 Sat. July 26 2008
+       * MooseX::Getopt::OptionTypeMap
+         - Accept type constraint objects in the type mapping, not just names
+
+0.14 Thurs. July 10, 2008
+       * MooseX::Getopt::OptionTypeMap
+         - Change 'Float' which doesn't exist to 'Num' which does (perigrin)
+        
+       * MooseX::Getopt
+         - removed the default handling with Getopt::Long::Descriptive
+           as it would override constructor parameters and that was 
+           bad. Besides, Moose will just DWIM on this anyway. (stevan)
+           - added test for it (stevan)
+
+    * t/
+      - fixed Getopt::Long::Descriptive specific tests to only run 
+        if Getopt::Long::Descriptive is there (stevan)
+
+0.13 Saturday, May 24, 2008
+    * MooseX::Getopt
+      - Commandline option shouldn't be required in the
+        case that the given "required" attribute has
+        been loaded from config (MooseX::ConfigFromFile)
+      - Support for MooseX::ConfigFromFile shouldn't require
+        that role be added at the same level as Getopt.
+      - fixed miscapitalization of NoGetopt in the docs
+      - added links to the traits in the docs
+      
+    ~ converted to Module::Install instead of 
+      Module::Build
+
+0.12 Fri. March 14, 2008
+    ~~ updated copyright dates ~~
+
+    - upped the Moose dependency to support
+      the custom metaclass traits
+    - added Getopt::Long::Descriptive as an
+      optional dependency
+
+    * MooseX::Getopt
+      MooseX::Getopt::Meta::Attribute
+      MooseX::Getopt::Meta::Attribute::Trait
+      MooseX::Getopt::Meta::Attribute::NoGetopt
+      MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
+      - added support for custom metaclass traits
+        - added tests for this
+
+0.11 Sun. Jan. 27, 2008
+    * MooseX::Getopt
+      - Commandline option shouldn't be required in the
+        case that the given "required" attribute has
+        a default or a builder method.
+
+0.10 Wed. Jan. 23, 2008
+    * MooseX::Getopt
+      - Support default configfile attribute when
+        used with MooseX::ConfigFromFile-based roles
+
+0.09 Tues. Jan. 22, 2008
+    * MooseX::Getopt
+      - Use Getopt::Long::Descriptive if it's available
+
+0.08 Tues. Dec. 8, 2007
+    * MooseX::Getopt
+      - Added support for configfile loading via
+        MooseX::ConfigFromFile-based roles with
+        the -configfile commandline option.
+
+0.07 Tues. Dec. 4, 2007
+    * MooseX::Getopt::Meta::Attribute::NoGetopt
+      - fixed miscapitalization of NoGetopt in the docs
+
+0.06 Fri. Nov. 23, 2007
+    * MooseX::Getopt
+      - refactored &new_with_option some so that
+        this will work better with other Getopt
+        modules (nuffin)
+
+    + MooseX::Getopt::Strict
+      - version of MooseX::Getopt which requires
+        you to specify which attributes you want
+        processed explicity
+        - added tests for this
+
+    + MooseX::Getopt::Meta::Attribute::NoGetopt
+      - a custom meta-attribute which can be
+        used to specify that an attribute should
+        not be processed
+        - added tests for this
+
+0.05 Tues. July 3, 2007
     * MooseX::Getopt::OptionTypeMap
-      - added some checks to make sure that the type 
-        constraints are found properly
+      - added some checks to make sure that the type
+        constraints are found properly and to give
+        better diagnostics
 
 0.04 Tues. June 26, 2007
     * MooseX::Getopt::OptionTypeMap
       - Added support for subtype constraint inference
-        from parent types 
+        from parent types
         - added tests and docs for this
     * MooseX::Getopt
       - Added extra_argv attribute
@@ -23,13 +148,13 @@ Revision history for Perl extension MooseX-Getopt
     ~ downgraded the Getopt version requirement
       to 2.35 as per RT #26844
     ~ adding blblack to the authors list
-      
-    * MooseX::Getopt      
-      - doc update to show simple way to of excluding 
-        an attribute, but not having accessors with 
+
+    * MooseX::Getopt
+      - doc update to show simple way to of excluding
+        an attribute, but not having accessors with
         underscores (thanks to Zaba on #moose for this)
     * MooseX::Getopt::Meta::Attribute
-      - tightening up the type constraint in the 
+      - tightening up the type constraint in the
         cmd_alias coercion to only accept strings
 
 0.02 Friday, April 6, 2007
@@ -40,7 +165,7 @@ Revision history for Perl extension MooseX-Getopt
     * MooseX::Getopt::Meta::Attribute
       - added the cmd_aliases attribute (thanks to blblack)
         - added tests and docs for this
-      - added support for Moose 0.19's custom 
+      - added support for Moose 0.19's custom
         attribute metaclass alias registry.
         - added tests and docs for this