Version history for MooseX::Method::Signatures 0.16 Fri, 01 May 2009 08:03:44 +0200 * Bump prereq to Types::Structured to avoid warnings on new Moose versions. * Make sure the method keyword is "tight" enough, so "@methods = (method { }, method { });" works. * Implement non-scalar parameters. * Updated documentation. * Fix a couple of POD nits (Matt Kraai). 0.15 Mon, 13 Apr 2009 04:32:25 +0200 * Use MooseX::Meta::TypeConstraint::ForceCoercion instead of forcing coercion manually on validation to make reusing the method type constraints easier. 0.14 Wed, 08 Apr 2009 03:45:50 +0200 * Depend on MooseX::Types::Structured 0.11. 0.10 had a bug which caused validation to always fail. 0.13 Sat, 28 Mar 2009 13:04:36 +0000 * Fix bug with namespace::clean and MooseX::Types. (Ash Berlin) * Rename methods to remove __ANON__ from callstack. * Port to using 'from_namespace' from Parse::Method::Signatures 1.003003. * Ensure errors from type constraints are reporting from the right place. * Now warns if you try to refdefine a method. * Return values can now be enforced by using method foo ($x) returns (ArrayRef) { } This will be documented in the pod once we are happy with the exact behaviour. See t/return_value.t for examples for now. * Depend upon Parse::Method::Signatures 1.003004 for better error reporting * Fix a bug in methods with attributes on perl 5.8.7 * Fix bug in location of errors with older Mooses * Bump minium Moose dep to 0.63 0.12 Wed, 04 Mar 2009 03:05:19 +0100 * Implement and test scalar placeholder values. * Eval default value so reference and string defaults work as expected. * Make the testsuite less noisy. 0.11 Tue, 03 Mar 2009 03:27:00 +0100 * Use MooseX::Types introspection capabilities instead of blindly executing functions in other pakages. * Stop mentioning the deprecated MX::Method, as requested by its author. * Fix and test reporting of compile-time error message (Ash Berlin). * Small stylistic whitespace changes in the docs. * Test that optional params really are optional (Rhesa Rozendaal). * Added test for hashref default values (Rhesa Rozendaal). * Testing that eval works with semicolon insertion (Hakim Cassimally). 0.10 Sat, 28 Feb 2009 19:04:02 +0100 * Mention all contributors. * Update copyright notice for 2009. * Refer to Method::Signatures::Simple. * Move most of the actual functionality into the method metaclass. * Allow adding methods with signature validation without the Devel::Declare sugar. * Allow method names to be quoted strings with possible variable interpolations. 0.09 Mon, 23 Feb 2009 08:07:47 +0100 * Port to MX::Types::Structured. + Much more useful error messages, including backtraces. + Don't pass undef for parameters now actual value was provided for. * Require a Defined value, not a simple Value when no type constraints are given. * Add more tests. Improve existing tests. 0.08 Sun, 22 Feb 2009 02:15:40 +0100 * Don't depend on Readonly in the tests. * Allow parameters to be coerced using the coerce trait. 0.07 Sat, 21 Feb 2009 20:31:47 +0100 * Tests for anon methods. * Use B::Hooks::EndOfScope instead of Scope::Guard and %^H. * Add TODO test for using exported types in signatures. * Port from Perl6::Signature to Parse::Method::Signatures. * Port to Devel::Declare::MethodInstaller::Simple. * Support for MX::Types. * Use a custom method metaclass. * Doc patch to mention interaction with Moose::Role (Jonathan Scott Duff). * Add more tests for eval and various signatures (Kent Fredric). * TODO test for sane error messages with files and line numbers (Rhesa Rozendaal). * Don't confuse people with the lack of "use Moose" in SYSOPSIS (Ricardo SIGNES). * Add information for repo and bugtracker in META.yml (Yanick Champoux). * Explain interaction with Role's 'require' (Yanick Champoux). 0.06 Tue, 14 Oct 2008 05:43:35 +0200 * Use Moose meta methods instead of just coderefs. * Add a setup_for method to set up the method keyword for something different than the caller(). 0.05 Sun, 12 Oct 2008 03:49:03 +0200 * Depend on Devel::Declare 0.002000. * Make named arguments work as expected and add more tests. 0.04 Thu, 02 Oct 2008 01:07:00 +0200 * Depend on Perl6::Signature 0.03. This is the first version to implement Foo|Bar $x correctly. * Minor documentation improvement. 0.03 Sun, 28 Sep 2008 13:37:39 +0200 * Support attributes. * Fixed documentation typo. 0.02 Wed, 24 Sep 2008 08:47:17 +0200 * Properly specify prereqs. 0.01 Wed, 24 Sep 2008 08:39:22 +0200 * Initial release.