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