0_03_02
[gitmo/Moose.git] / Changes
CommitLineData
e522431d 1Revision history for Perl extension Moose
2
0677220d 30.03_02 Wed. April 12, 2006
05d9eaf6 4 * Moose
5 - you must now explictly use Moose::Util::TypeConstraints
6 it no longer gets exported for you automatically
7
8 * Moose::Object
9 - new() now accepts hash-refs as well as key/value lists
0677220d 10 - added does() method to check for Roles
11 - added tests for this
05d9eaf6 12
0677220d 13 * Moose::Meta::Class
14 - added roles attribute along with the add_role() and
15 does_role() methods
16 - added tests for this
17
18 * Moose::Meta::Role
19 - now adds a does() method to consuming classes
20 which tests the class's hierarchy for roles
21 - added tests for this
22
230.03_01 Mon. April 10, 2006
e9ec68d6 24 * Moose::Cookbook
76d37e5a 25 - added new Role recipe (no content yet, only code)
e9ec68d6 26
27 * Moose
28 - added 'with' keyword for Role support
29 - added test and docs for this
30 - fixed subtype quoting bug
31 - added test for this
32
33 * Moose::Role
34 - Roles for Moose
35 - added test and docs
76d37e5a 36
37 * Moose::Util::TypeConstraints
38 - added the message keyword to add custom
39 error messages to type constraints
e9ec68d6 40
41 * Moose::Meta::Role
42 - the meta role to support Moose::Role
43 - added tests and docs
44
45 * Moose::Meta::Class
46 - moved a number of things from Moose.pm
47 to here, they should have been here
48 in the first place
49
50 * Moose::Meta::Attribute
51 - moved the attribute option macros here
52 instead of putting them in Moose.pm
e185c027 53
76d37e5a 54 * Moose::Meta::TypeConstraint
55 - added the message attributes and the
56 validate method
57 - added tests and docs for this
58
0ac928d2 590.03 Thurs. March 30, 2006
e9bb8a31 60 * Moose::Cookbook
61 - added the Moose::Cookbook with 5 recipes,
62 describing all the stuff Moose can do.
63
d7f17ebb 64 * Moose
65 - fixed an issue with &extends super class loading
66 it now captures errors and deals with inline
67 packages correctly (bug found by mst, solution
68 stolen from alias)
159da176 69 - added super/override & inner/augment features
70 - added tests and docs for these
d7f17ebb 71
72 * Moose::Object
73 - BUILDALL now takes a reference of the %params
74 that are passed to &new, and passes that to
75 each BUILD as well.
471c4f09 76
77 * Moose::Util::TypeConstraints
78 - Type constraints now survive runtime reloading
79 - added test for this
d7f17ebb 80
8339fae2 81 * Moose::Meta::Class
82 - fixed the way attribute defaults are handled
83 during instance construction (bug found by chansen)
84
d7f17ebb 85 * Moose::Meta::Attribute
86 - read-only attributes now actually enforce their
9deed647 87 read-only-ness (this corrected in Class::MOP as
88 well)
d7f17ebb 89
076c81ed 900.02 Tues. March 21, 2006
fc5609d2 91 * Moose
b841b2a3 92 - many more tests, fixing some bugs and
93 edge cases
b841b2a3 94 - &extends now loads the base module with
95 UNIVERSAL::require
96 - added UNIVERSAL::require to the
97 dependencies list
6ba6d68c 98 ** API CHANGES **
b841b2a3 99 - each new Moose class will also create
100 and register a subtype of Object which
101 correspond to the new Moose class.
b841b2a3 102 - the 'isa' option in &has now only
103 accepts strings, and will DWIM in
104 almost all cases
105
106 * Moose::Util::TypeConstraints
107 - added type coercion features
108 - added tests for this
109 - added support for this in attributes
110 and instance construction
6ba6d68c 111 ** API CHANGES **
b841b2a3 112 - type construction no longer creates a
113 function, it registers the type instead.
114 - added several functions to get the
115 registered types
6ba6d68c 116
117 * Moose::Object
118 - BUILDALL and DEMOLISHALL were broken
119 because of a mis-named hash key, Whoops :)
b841b2a3 120
121 * Moose::Meta::Attribute
122 - adding support for coercion in the
123 autogenerated accessors
124
125 * Moose::Meta::Class
126 - adding support for coercion in the
6ba6d68c 127 instance construction
128
129 * Moose::Meta::TypeConstraint
130 * Moose::Meta::TypeCoercion
131 - type constraints and coercions are now
132 full fledges meta-objects
fc5609d2 133
e522431d 1340.01 Wed. March 15, 2006
135 - Moooooooooooooooooose!!!