Permalink
Newer
Older
100644 194 lines (160 sloc) 7.97 KB
1
Version history for MooseX::Method::Signatures
Mar 24, 2009
2
3
0.31 Thu, 01 Jun 2010 13:47:34 -0300
4
* Add support for "does" as a trait declarator
5
* Compatibilize MXMS::Meta::Method signature with Class::MOP::Method
6
so other traits can apply customizations to the actual body of the
7
method.
8
Feb 4, 2010
9
0.30 Thu, 04 Feb 2010 02:41:36 +0100
10
* Make Any instead of Defined the default type constraint.
11
* Add tests for coercing optional named parameters (Cory Watson).
12
+ Make those tests pass by depending on
13
MooseX::Types::Structured 0.20.
14
* Make sure Text::Balanced doesn't screw up our data.
15
Oct 15, 2009
16
0.29 Thu, 15 Oct 2009 23:27:08 +0200
17
* Fix regression introduced in 0.28.
Oct 15, 2009
18
Validation for methods without named arguments wasn't strict enough
19
anymore. Passing too many arguments hasn't been rejected. Thanks
20
Justin Hunter for finding this.
21
Oct 9, 2009
22
0.28 Fri, 09 Oct 2009 01:28:02 +0200
23
* Fix default values for named arguments.
24
Sep 22, 2009
25
0.27 Tue, 22 Sep 2009 14:30:23 +0200
26
* Depend on MooseX::LazyRequire 0.04 to avoid fail on version 0.03, which has
27
been broken by recent Moose versions (Closes RT#49903) (Maik Hentsche).
28
Sep 13, 2009
29
0.26 Tue, 08 Sep 2009 19:14:01 +0100
30
* Rebuilt dist to include missing files
31
Sep 7, 2009
32
0.25 Mon, 07 Sep 2009 22:003:03 +0100
33
* Remove scary ALPHA disclaimer from POD
34
* Depend on Test::More 0.88 for done_testing
35
Aug 31, 2009
36
0.24 Mon, 31 Aug 2009 19:04:14 +0200
37
* Rename the meta method's clone method to reify. clone already had a special
38
meaning for methods in role applications to classes.
39
Aug 27, 2009
40
0.23 Thu, 27 Aug 2009 22:22:40 +0200
41
* Bump Moose dependency to 0.89. This avoids test failures on some older
42
Moose versions.
43
Aug 27, 2009
44
0.22 Thu, 27 Aug 2009 15:29:25 +0200
45
* Provide sane closure behaviour for anonymous methods.
46
* Add tests for the above (Sebastian Willert).
47
* Depend on MooseX::Types 0.19, as 0.18 made us blow up spectacularly.
48
Aug 18, 2009
49
0.21 Tue, 18 Aug 2009 08:45:48 +0200
50
* Add tests for using aliased.pm for type aliases (Steffen Schwigon).
51
* Depend on the latest PMS to get type alias resolving.
52
Aug 17, 2009
53
0.20 Mon, 17 Aug 2009 12:11:32 +0200
54
* Make the meta method's parsed_signature public.
55
* Use MooseX::LazyRequire's new interface and depend on 0.03.
56
Aug 14, 2009
57
0.19 Fri, 14 Aug 2009 11:23:42 +0200
58
* Move method redefinition warnings to the method application hook so it's
59
easy to override.
60
Aug 14, 2009
61
0.18 Fri, 14 Aug 2009 02:24:41 +0200
62
* Depend on Devel::Declare 0.005011. This avoids "->method" and "method =>"
63
being misinterpreted sometimes.
64
Aug 13, 2009
65
0.17 Thu, 13 Aug 2009 08:37:31 +0200
Aug 13, 2009
66
* Implement method traits (Cory Watson).
67
* Properly test list placeholders.
68
* Document the right syntax for return value type constraints.
69
* Use namespace::autoclean instead of namespace::clean.
70
* Let the signature default to (@) if none is given.
71
* Don't require the package attribute when a pre-built context is passed
72
in.
73
* Depend on a recent Parse::Method::Signatures to make sure we will work
74
with new PPIs and have the right MooseX::Traits version.
75
* Fix doc typo (arcanez).
76
* Split out context from self so that we may pass in an arbitrary context
77
(nperez).
78
* Enable passing a context and also a coderef to use to apply the method
79
once constructed (for deferred method modifier application in MXD)
80
(nperez).
81
* Enable MXMS to work with multiple different declarators and prototype
82
injections (nperez).
83
* Change from using Devel::Declare::MethodInstaller::Simple to
84
::Context::Simple since strip_attrs was moved down there (nperez).
85
May 1, 2009
86
0.16 Fri, 01 May 2009 08:03:44 +0200
87
* Bump prereq to Types::Structured to avoid warnings on new Moose versions.
88
* Make sure the method keyword is "tight" enough, so
89
"@methods = (method { }, method { });" works.
90
* Implement non-scalar parameters.
91
* Updated documentation.
92
* Fix a couple of POD nits (Matt Kraai).
93
Apr 13, 2009
94
0.15 Mon, 13 Apr 2009 04:32:25 +0200
95
* Use MooseX::Meta::TypeConstraint::ForceCoercion instead of forcing coercion
96
manually on validation to make reusing the method type constraints easier.
97
Apr 8, 2009
98
0.14 Wed, 08 Apr 2009 03:45:50 +0200
99
* Depend on MooseX::Types::Structured 0.11. 0.10 had a bug which caused
100
validation to always fail.
101
Mar 28, 2009
102
0.13 Sat, 28 Mar 2009 13:04:36 +0000
103
* Fix bug with namespace::clean and MooseX::Types. (Ash Berlin)
104
* Rename methods to remove __ANON__ from callstack.
105
* Port to using 'from_namespace' from Parse::Method::Signatures 1.003003.
106
* Ensure errors from type constraints are reporting from the right place.
107
* Now warns if you try to refdefine a method.
108
* Return values can now be enforced by using
109
110
method foo ($x) returns (ArrayRef) { }
111
112
This will be documented in the pod once we are happy with the exact
113
behaviour. See t/return_value.t for examples for now.
114
* Depend upon Parse::Method::Signatures 1.003004 for better error reporting
Mar 28, 2009
115
* Fix a bug in methods with attributes on perl 5.8.7
116
* Fix bug in location of errors with older Mooses
117
* Bump minium Moose dep to 0.63
Mar 4, 2009
119
0.12 Wed, 04 Mar 2009 03:05:19 +0100
120
* Implement and test scalar placeholder values.
121
* Eval default value so reference and string defaults work as expected.
122
* Make the testsuite less noisy.
123
Mar 3, 2009
124
0.11 Tue, 03 Mar 2009 03:27:00 +0100
125
* Use MooseX::Types introspection capabilities instead of blindly executing
126
functions in other pakages.
127
* Stop mentioning the deprecated MX::Method, as requested by its author.
128
* Fix and test reporting of compile-time error message (Ash Berlin).
129
* Small stylistic whitespace changes in the docs.
130
* Test that optional params really are optional (Rhesa Rozendaal).
131
* Added test for hashref default values (Rhesa Rozendaal).
132
* Testing that eval works with semicolon insertion (Hakim Cassimally).
133
Feb 28, 2009
134
0.10 Sat, 28 Feb 2009 19:04:02 +0100
135
* Mention all contributors.
136
* Update copyright notice for 2009.
137
* Refer to Method::Signatures::Simple.
138
* Move most of the actual functionality into the method metaclass.
139
* Allow adding methods with signature validation without the
140
Devel::Declare sugar.
141
* Allow method names to be quoted strings with possible variable
142
interpolations.
143
Feb 23, 2009
144
0.09 Mon, 23 Feb 2009 08:07:47 +0100
145
* Port to MX::Types::Structured.
146
+ Much more useful error messages, including backtraces.
147
+ Don't pass undef for parameters now actual value was provided for.
148
* Require a Defined value, not a simple Value when no type constraints are
149
given.
150
* Add more tests. Improve existing tests.
151
Feb 22, 2009
152
0.08 Sun, 22 Feb 2009 02:15:40 +0100
153
* Don't depend on Readonly in the tests.
154
* Allow parameters to be coerced using the coerce trait.
155
Feb 21, 2009
156
0.07 Sat, 21 Feb 2009 20:31:47 +0100
157
* Tests for anon methods.
158
* Use B::Hooks::EndOfScope instead of Scope::Guard and %^H.
159
* Add TODO test for using exported types in signatures.
160
* Port from Perl6::Signature to Parse::Method::Signatures.
161
* Port to Devel::Declare::MethodInstaller::Simple.
162
* Support for MX::Types.
163
* Use a custom method metaclass.
164
* Doc patch to mention interaction with Moose::Role (Jonathan Scott Duff).
165
* Add more tests for eval and various signatures (Kent Fredric).
166
* TODO test for sane error messages with files and line numbers (Rhesa Rozendaal).
167
* Don't confuse people with the lack of "use Moose" in SYSOPSIS (Ricardo SIGNES).
168
* Add information for repo and bugtracker in META.yml (Yanick Champoux).
169
* Explain interaction with Role's 'require' (Yanick Champoux).
170
Oct 14, 2008
171
0.06 Tue, 14 Oct 2008 05:43:35 +0200
172
* Use Moose meta methods instead of just coderefs.
173
* Add a setup_for method to set up the method keyword for something different
174
than the caller().
175
Oct 12, 2008
176
0.05 Sun, 12 Oct 2008 03:49:03 +0200
177
* Depend on Devel::Declare 0.002000.
178
* Make named arguments work as expected and add more tests.
179
Oct 1, 2008
180
0.04 Thu, 02 Oct 2008 01:07:00 +0200
181
* Depend on Perl6::Signature 0.03.
182
This is the first version to implement Foo|Bar $x correctly.
183
* Minor documentation improvement.
184
Sep 28, 2008
185
0.03 Sun, 28 Sep 2008 13:37:39 +0200
186
* Support attributes.
187
* Fixed documentation typo.
188
Sep 24, 2008
189
0.02 Wed, 24 Sep 2008 08:47:17 +0200
190
* Properly specify prereqs.
191
Sep 24, 2008
192
0.01 Wed, 24 Sep 2008 08:39:22 +0200
193
* Initial release.