1 Revision history for Perl extension Class-MOP.
5 - added new instance construction protocol
7 - changed all relevant modules and examples
9 - Class::MOP::Attribute
12 0.26 Mon. April 24, 2006
14 - added find_attribute_by_name method
15 - added tests and docs for this
16 - some small optimizations
18 * Class::MOP::Attribute
19 - some small optimizations
21 0.25 Thurs. April 20, 2006
23 - added create_anon_class for creating anonymous classes
24 - added tests for this
25 - added get_all_metaclasses, get_all_metaclass_names
26 and get_all_metaclass_instances method to allow
27 access to all the cached metaclass objects.
28 - attribute slot initialization is now the responsibility
29 of the attribute itself, and construct_instance now
30 delegates appropriately
32 * Class::MOP::Attribute
33 - attribute slot initialization is now the responsibility
34 of the attribute itself, so we added a method for it
35 called initialize_instance_slot
38 - adjusted all the examples to use the new attribute
39 initialize_instance_slot method
41 0.24 Tues. April 11, 2006
43 - cleaned up how the before/after/around method
44 modifiers get named with Sub::Name
46 0.23 Thurs. March 30, 2006
48 - fixed the way attribute defaults are handled
49 during instance construction (bug found by chansen)
51 * Class::MOP::Attribute
52 - read-only accessors ('reader') will now die if
53 passed more than one argument (attempting to write
55 - added tests for this
56 - adjusted all /example files to comply
58 0.22 Mon. March 20, 2006
60 - localized $@ in the *_package_variable functions
61 because otherwise, it does ugly things in Moose.
62 - added test case for this
64 0.21 Wed. March 15, 2006
66 - fixed issue where metaclasses are reaped from
67 our cache in global destruction, and so are not
68 available in DESTORY calls
70 0.20 Thurs. March 2, 2006
71 - removed the dependency for Clone since
72 we no longer to deep-cloning by default.
75 - added &package_name, &name and
76 &fully_qualified_name methods, some of
77 which were formerly private subs in
80 * Class::MOP::Method::Wrapped
81 - allows for a method to be wrapped with
82 before, after and around modifiers
83 - added tests and docs for this feature
86 - improved &get_package_variable
87 - &version and &superclasses now use it
88 - methods are now blessed into Class::MOP::Method
90 - added methods to install CLOS-style method modifiers
91 - &add_before_method_modifier
92 - &add_after_method_modifier
93 - &add_around_method_modifier
94 - added tests and docs for these
95 - added &find_next_method_by_name which finds the
96 equivalent of SUPER::method_name
98 0.12 Thurs. Feb 23, 2006
99 - reduced the dependency on B, no need to always
103 - added docs to the C3 method dispatch order test
104 - fixed missing Algorithm::C3 dependency by making
105 the test skip if it is not installed
107 0.11 Mon Feb. 20, 2006
109 - added example of changing method dispatch order to C3
112 - changed how clone_instance behaves, it now only does a
113 shallow clone (see docs for more details)
114 - added docs and tests
116 0.10 Tues Feb. 14, 2006
117 ** This release was mostly about writing more tests and
118 cleaning out old and dusty code, the MOP should now
119 be considered "ready to use".
121 - adding more tests to get coverage up a little higher,
122 mostly testing errors and edge cases.
123 - test coverage is now at 99%
126 - no longer optionally exports to UNIVERSAL::meta or
127 creates a custom metaclass generator, use the
128 metaclass pragma instead.
131 - fixed a number of minor issues which came up in the
132 error/edge-case tests
134 * Class::MOP::Attribute
135 - fixed a number of minor issues which came up in the
136 error/edge-case tests
139 - fixing the AttributesWithHistory example, it was broken.
141 0.06 Thurs Feb. 9, 2006
143 - adding new metaclass pragma to make setting up the
144 metaclass a little more straightforward
147 - clean up bootstrapping to include more complete
148 attribute definitions for Class::MOP::Class and
149 Class::MOP::Attribute (accessors, readers, writers,
150 etc.) ... it is redundant, but is useful meta-info
154 - fixing minor meta-circularity issue with &meta, it
155 is now more useful for subclasses
156 - added &get_attribute_map as an accessor for the
157 hash of attribute meta objects
158 - &compute_all_applicable_attributes now just returns
159 the attribute meta-object, rather than the HASH ref
160 since all the same info can be gotten from the
161 attribute meta-object itself
162 - updated docs & tests to reflect
163 - added &clone_instance method which does a deep clone
164 of the instance structure created by &construct_instance
165 - added docs & tests for this
166 - added Clone as a dependency
167 - added &new_object and &clone_object convience methods to
168 return blessed new or cloned instances
169 - they handle Class::MOP::Class singletons correctly too
170 - added docs & tests for this
171 - cleaned up the &constuct_class_instance so that it behaves
172 more like &construct_instance (and managed the singletons too)
173 - added the &check_metaclass_compatibility method to make sure
174 that metaclasses are upward and downward compatible.
175 - added tests and docs for this
178 - adjusting code to use the &Class::MOP::Class::meta
180 - adjusting code to use the metaclass pragma
182 0.05 Sat Feb. 4, 2006
184 - added the &attribute_metaclass and &method_metaclass
185 attributes which contain a metaclass name to use for
186 attributes/methods respectively
189 - bootstrap additional attributes for Class::MOP::Class
192 - adjusted the example code and tests to use the new
193 &attribute_metaclass feature of Class::MOP::Class
197 0.04 Fri Feb. 3, 2006
199 - some documentation suggestions from #perl6
201 * Class::MOP::Attribute
202 - improved error messages
205 - added new examples:
206 - AttributesWithHistory
207 - ClassEncapsultedAttributes
209 0.03 Fri Feb. 3, 2006
210 - converted to Module::Build instead of EU::MM
212 * Class::MOP::Attribute
213 - refactored method generation code
214 - attributes are now associated with class directly
217 - refactored the InsideOut example to take advantage
218 of the Class::MOP::Attribute refactoring
219 - changed example files to .pod files and hide thier
220 package names from PAUSE (I don't want to own these
221 namespaces really, they are just examples)
223 0.02 Thurs Feb. 2, 2006
224 - moving examples from t/lib/* to examples/*
225 - adding POD documentation to the examples
227 0.01 Thurs Feb. 2, 2006