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