Method-Signatures
view release on metacpan or search on metacpan
* can use `//=' as a shortcut for `when undef'
[github #45]
* can now provide `where' constraints in addition to
(or instead of) a type
[github #7]
* can now use `...' to disable further argument checking
[github #49]
* can now specify more than one alternative in type unions
[github #55]
* can now nest parameterized types
Incompatible Changes
* can no longer use both `\' and `:'
(didn't work anyway)
Optimizations
* better signature parsing using PPI
[github #11]
Docs
* documented all new features
* new ASCI-art breakdown of signature syntax
* minor tweaks and corrections
20120523 May 23 16:36:04 PDT 2012
Distribution Fixes
* Fixed META.json
20120517 Thu May 17 20:14:34 PDT 2012
Promoted to full release
20120514.0117_001 Mon May 14 01:17:38 PDT 2012
Distribution Fixes
* Added version number to Method::Signatures::Modifiers.
20111125 Fri Nov 25 01:15:50 PST 2011
Optimizations
* Type checks significantly faster. 40% faster with Mouse.
20% faster with Moose. [github #42]
Distribution Fixes
* Added Test::Exception as a build requirement [github #43]
* Added Moose as a recommended module (with version number)
20111020 Thu Oct 20 17:00:29 PDT 2011
Promoted to full release
20111017.2055_002 Mon Oct 17 20:55:09 PDT 2011
Bug Fix
* Move inject_if_block code back to MSM [github #40]
20110927.2305_001 Tue Sep 27 23:05:02 PDT 2011
Bug Fix
* Remove spurious error for modifiers in roles [github #36]
20110923.1726 Fri Sep 23 17:27:47 PDT 2011
Distribution Fixes
* 20110923 had a bad signature file because gpg is broken on my laptop.
Releasing without a signature. 1 aM n0t A hax0r!!!1!1!
20110923 Fri Sep 23 16:13:46 PDT 2011 [It Takes All Types]
Incompatible Changes
* Slurpy parameters (@foo and %bar) now must come at the end.
* Slurpy parameters cannot be named, they must be positional.
* Slurpy parameters are now optional by default. [github #21]
* The empty signature takes no arguments. [github #26]
* No signature implies the empty signature and takes no arguments.
[github #26]
New Features
* Now checking if there are too many arguments. [github #23]
* Run-time errors are now class methods, so subclasses can override them.
* Method::Signatures::Modifiers allows you to use Method::Signatures
with MooseX::Declare and apply method modifiers like before, after
and around. [Buddy Burden] [github #14]
* compile_at_BEGIN option controls if "method" and "func" are compiled
like normal statements or early like "sub". [github #8]
Bug Fixes
* Now depending on a version of Devel::Declare that works with
5.13 and up. [github #10]
* Now depending on a known good version of Mouse. [github #17]
* Improved error messages reporting from the right position in the
user's code. [Buddy Burden]
* Comments in the signature fixed. [Buddy Burden] [github #13]
* Passing in too many positional parameters now generates an error.
[github #23]
* Fixed a case where we'd eat compilation errors. [github #16]
* Optional parameters will no longer fail type checks if they're not
passed in. [github #12]
* Depending on a new version of Devel::Declare that works with perl
5.13 and up. [github #10]
* Fix some cases where a compile time error will show up as an error
inside PPI.
Docs
* Many grammar fixes and prose improvements [Noirin Plunkett] [github #25]
* Slurpy parameters are clearly documented
* The rules if a parameter is required or optional are more clear
* Clarify that func() has no invocant [github #32]
* Mention METHOD_SIGNATURES_DEBUG environment variable for debugging.
[github #32]
* Documented the "debug" option.
* Documented issues with 5.8 and compile_at_BEGIN. [github #8] [github #22]
Test Fixes
* Tests will no longer fail because 5.10.0 and down report
different errors on compilation failure. [github #18]
* Tests will no longer fail on 5.8. [github #22]
20110324.1600_001 Thu, 24 Mar 2011 16:00:38 +1100
Bug Fix
* Declare dependency on Any::Moose [github #9]
20110322.0027_001 Tue, 22 Mar 2011 00:27:00 +1100
( run in 0.830 second using v1.01-cache-2.11-cpan-df04353d9ac )