added subname to subs
[gitmo/Moose.git] / Changes
CommitLineData
e522431d 1Revision history for Perl extension Moose
2
5204cd52 30.05
4 * Moose::Utils::TypeConstraints
5 - added Bool type and CollectionRef type
6 then made ArrayRef and HashRef into subtypes
7 of the CollectionRef
8
02a0fb52 90.04 Sun. April 16th, 2006
1331430a 10 * Moose::Role
11 - Roles can now consume other roles
12 - added tests for this
13 - Roles can specify required methods now with
14 the requires() keyword
15 - added tests for this
16
bdabd620 17 * Moose::Meta::Role
18 - ripped out much of it's guts ,.. much cleaner now
1331430a 19 - added required methods and correct handling of
fa1be058 20 them in apply() for both classes and roles
21 - added tests for this
1331430a 22 - no longer adds a does() method to consuming classes
23 it relys on the one in Moose::Object
24 - added roles attribute and some methods to support
25 roles consuming roles
8c9d74e7 26
27 * Moose::Meta::Attribute
28 - added support for triggers on attributes
29 - added tests for this
02a0fb52 30 - added support for does option on an attribute
31 - added tests for this
8c9d74e7 32
33 * Moose::Meta::Class
34 - added support for attribute triggers in the
35 object construction
36 - added tests for this
256903b6 37
38 * Moose
39 - Moose no longer creates a subtype for your class
40 if a subtype of the same name already exists, this
41 should DWIM in 99.9999% of all cases
42
43 * Moose::Util::TypeConstraints
44 - fixed bug where incorrect subtype conflicts were
45 being reported
8c9d74e7 46 - added test for this
47
48 * Moose::Object
49 - this class can now be extended with 'use base' if
50 you need it, it properly loads the metaclass class now
51 - added test for this
bdabd620 52
0677220d 530.03_02 Wed. April 12, 2006
05d9eaf6 54 * Moose
55 - you must now explictly use Moose::Util::TypeConstraints
56 it no longer gets exported for you automatically
57
58 * Moose::Object
59 - new() now accepts hash-refs as well as key/value lists
0677220d 60 - added does() method to check for Roles
61 - added tests for this
05d9eaf6 62
0677220d 63 * Moose::Meta::Class
64 - added roles attribute along with the add_role() and
65 does_role() methods
66 - added tests for this
67
68 * Moose::Meta::Role
69 - now adds a does() method to consuming classes
70 which tests the class's hierarchy for roles
71 - added tests for this
72
730.03_01 Mon. April 10, 2006
e9ec68d6 74 * Moose::Cookbook
76d37e5a 75 - added new Role recipe (no content yet, only code)
e9ec68d6 76
77 * Moose
78 - added 'with' keyword for Role support
79 - added test and docs for this
80 - fixed subtype quoting bug
81 - added test for this
82
83 * Moose::Role
84 - Roles for Moose
85 - added test and docs
76d37e5a 86
87 * Moose::Util::TypeConstraints
88 - added the message keyword to add custom
89 error messages to type constraints
e9ec68d6 90
91 * Moose::Meta::Role
92 - the meta role to support Moose::Role
93 - added tests and docs
94
95 * Moose::Meta::Class
96 - moved a number of things from Moose.pm
97 to here, they should have been here
98 in the first place
99
100 * Moose::Meta::Attribute
101 - moved the attribute option macros here
102 instead of putting them in Moose.pm
e185c027 103
76d37e5a 104 * Moose::Meta::TypeConstraint
105 - added the message attributes and the
106 validate method
107 - added tests and docs for this
108
0ac928d2 1090.03 Thurs. March 30, 2006
e9bb8a31 110 * Moose::Cookbook
111 - added the Moose::Cookbook with 5 recipes,
112 describing all the stuff Moose can do.
113
d7f17ebb 114 * Moose
115 - fixed an issue with &extends super class loading
116 it now captures errors and deals with inline
117 packages correctly (bug found by mst, solution
118 stolen from alias)
159da176 119 - added super/override & inner/augment features
120 - added tests and docs for these
d7f17ebb 121
122 * Moose::Object
123 - BUILDALL now takes a reference of the %params
124 that are passed to &new, and passes that to
125 each BUILD as well.
471c4f09 126
127 * Moose::Util::TypeConstraints
128 - Type constraints now survive runtime reloading
129 - added test for this
d7f17ebb 130
8339fae2 131 * Moose::Meta::Class
132 - fixed the way attribute defaults are handled
133 during instance construction (bug found by chansen)
134
d7f17ebb 135 * Moose::Meta::Attribute
136 - read-only attributes now actually enforce their
9deed647 137 read-only-ness (this corrected in Class::MOP as
138 well)
d7f17ebb 139
076c81ed 1400.02 Tues. March 21, 2006
fc5609d2 141 * Moose
b841b2a3 142 - many more tests, fixing some bugs and
143 edge cases
b841b2a3 144 - &extends now loads the base module with
145 UNIVERSAL::require
146 - added UNIVERSAL::require to the
147 dependencies list
6ba6d68c 148 ** API CHANGES **
b841b2a3 149 - each new Moose class will also create
150 and register a subtype of Object which
151 correspond to the new Moose class.
b841b2a3 152 - the 'isa' option in &has now only
153 accepts strings, and will DWIM in
154 almost all cases
155
156 * Moose::Util::TypeConstraints
157 - added type coercion features
158 - added tests for this
159 - added support for this in attributes
160 and instance construction
6ba6d68c 161 ** API CHANGES **
b841b2a3 162 - type construction no longer creates a
163 function, it registers the type instead.
164 - added several functions to get the
165 registered types
6ba6d68c 166
167 * Moose::Object
168 - BUILDALL and DEMOLISHALL were broken
169 because of a mis-named hash key, Whoops :)
b841b2a3 170
171 * Moose::Meta::Attribute
172 - adding support for coercion in the
173 autogenerated accessors
174
175 * Moose::Meta::Class
176 - adding support for coercion in the
6ba6d68c 177 instance construction
178
179 * Moose::Meta::TypeConstraint
180 * Moose::Meta::TypeCoercion
181 - type constraints and coercions are now
182 full fledges meta-objects
fc5609d2 183
e522431d 1840.01 Wed. March 15, 2006
185 - Moooooooooooooooooose!!!