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