1 Revision history for Perl extension Class-MOP.
3 0.33 Sat. Aug. 19, 2006
5 - moved the metaclass cache out of here
6 and it is now in Class::MOP itself.
9 - moved all the metaclass cache stuff here
10 - fixed all tests for this
12 * Class::MOP::Attribute
13 - reference values (other than CODE refs)
14 are no longer allowed for defaults
15 - added tests for this
18 - fixed an issue with perl 5.8.1 and how it deals
19 with symbol tables. The namespace hash is now
20 always reloaded from the symbol table.
22 ~ lots of misc. documentation cleanup
24 0.32 Sat. Aug. 12, 2006
25 + added Class::MOP::Object so that the
26 metamodel is more complete (and closer
27 to what Perl 6 will probably be).
30 - refactored entire class, this is now
31 the primary gateway between the metaclass
32 and the Perl 5 symbol table
33 - added many tests for this
34 - this class is now a subclass of
36 - added some tests to reflect this
39 - refactored all symbol table access to
40 use Class::MOP::Package methods instead
43 - adding the $:version attribute in the bootstrap
44 so that Module has a version as an attribute
45 - see comment in Class::MOP for details
46 - added the $:authority attribute to this module
47 as well as an &identifier method, to bring us
48 ever closer to Perl 6 goodness
49 - I have added $AUTHORITY to all the modules
50 - added tests for this
52 * Class::MOP::Instance
53 - added &deinitialize_slot for removing slots
55 - added tests for this
57 * Class::MOP::Attribute
58 - added support for &deinitialize_slot for removing
59 slots from an instance
60 - added tests for this
62 0.31 Sat. July 15, 2006
65 - added &find_method_by_name to locate a method
66 anywhere within the class hierarchy
68 * Class::MOP::Attribute
69 - added &set_value and &get_value for getting
70 the value of the attribute for a particular
73 0.30 Wed. July 5, 2006
74 ---------------------------------------
75 This is the first version of Class::MOP
76 to introduce the immutable features which
77 will be used for optimizating the MOP.
78 This support should still be considered
79 experimental, but moving towards stability.
80 ---------------------------------------
82 * Created Class::MOP::Class::Immutable
84 * Created the Class::MOP::Package and
85 Class::MOP::Module classes to more
86 closely conform to Perl 6's meta-model
89 - now inherits from Class::MOP::Module
90 - several methods moved to ::Module and
91 ::Package and now inherited
92 - added tests for this
94 * Class::MOP::Instance
95 - added an is_inlinable method to allow other
96 classes to check before they attempt to optimize.
97 - added an inline_create_instance to inline
98 instance creation (of course)
101 - the Class::MOP::Class::*_package_variable
102 methods are all now methods of Class::MOP::Package
103 and called *_package_symbol instead. This is
104 because they are now more general purpose symbol
105 table manipulation methods.
107 0.29_02 Thurs. June 22, 2006
108 ++ DEVELOPER RELEASE ++
110 - small change in &create so that it behaves
111 properly when inherited
112 - small fix to &clone_instance
114 0.29_01 Fri. May 12, 2006
115 ++ DEVELOPER RELEASE ++
116 - This release works in combination with
117 Moose 0.09_01, it is a developer release
118 because it introduces a new instance
119 sub-protocol and has not yet been
123 - anon-classes are now properly garbage collected
124 - added tests for this
125 - improved method modifier wrapping
127 * Class::MOP::Instance
128 - added new instance protocol
129 - added tests for this
130 - changed all relevant modules and examples
132 - Class::MOP::Attribute
136 - you no longer need to specify the metaclass
137 itself, if it is not there, Class::MOP::Class
139 - updated tests for this
142 - added ArrayBasedStorage example to show
143 instance storage using ARRAY refs instead of
145 - added tests for this
146 - InsideOutClass is totally revised using the
147 new instance protocol
148 - added more tests for this
150 0.26 Mon. April 24, 2006
152 - added find_attribute_by_name method
153 - added tests and docs for this
154 - some small optimizations
156 * Class::MOP::Attribute
157 - some small optimizations
159 0.25 Thurs. April 20, 2006
161 - added create_anon_class for creating anonymous classes
162 - added tests for this
163 - added get_all_metaclasses, get_all_metaclass_names
164 and get_all_metaclass_instances method to allow
165 access to all the cached metaclass objects.
166 - attribute slot initialization is now the responsibility
167 of the attribute itself, and construct_instance now
168 delegates appropriately
170 * Class::MOP::Attribute
171 - attribute slot initialization is now the responsibility
172 of the attribute itself, so we added a method for it
173 called initialize_instance_slot
176 - adjusted all the examples to use the new attribute
177 initialize_instance_slot method
179 0.24 Tues. April 11, 2006
181 - cleaned up how the before/after/around method
182 modifiers get named with Sub::Name
184 0.23 Thurs. March 30, 2006
186 - fixed the way attribute defaults are handled
187 during instance construction (bug found by chansen)
189 * Class::MOP::Attribute
190 - read-only accessors ('reader') will now die if
191 passed more than one argument (attempting to write
193 - added tests for this
194 - adjusted all /example files to comply
196 0.22 Mon. March 20, 2006
198 - localized $@ in the *_package_variable functions
199 because otherwise, it does ugly things in Moose.
200 - added test case for this
202 0.21 Wed. March 15, 2006
204 - fixed issue where metaclasses are reaped from
205 our cache in global destruction, and so are not
206 available in DESTORY calls
208 0.20 Thurs. March 2, 2006
209 - removed the dependency for Clone since
210 we no longer to deep-cloning by default.
213 - added &package_name, &name and
214 &fully_qualified_name methods, some of
215 which were formerly private subs in
218 * Class::MOP::Method::Wrapped
219 - allows for a method to be wrapped with
220 before, after and around modifiers
221 - added tests and docs for this feature
224 - improved &get_package_symbol
225 - &version and &superclasses now use it
226 - methods are now blessed into Class::MOP::Method
228 - added methods to install CLOS-style method modifiers
229 - &add_before_method_modifier
230 - &add_after_method_modifier
231 - &add_around_method_modifier
232 - added tests and docs for these
233 - added &find_next_method_by_name which finds the
234 equivalent of SUPER::method_name
236 0.12 Thurs. Feb 23, 2006
237 - reduced the dependency on B, no need to always
241 - added docs to the C3 method dispatch order test
242 - fixed missing Algorithm::C3 dependency by making
243 the test skip if it is not installed
245 0.11 Mon Feb. 20, 2006
247 - added example of changing method dispatch order to C3
250 - changed how clone_instance behaves, it now only does a
251 shallow clone (see docs for more details)
252 - added docs and tests
254 0.10 Tues Feb. 14, 2006
255 ** This release was mostly about writing more tests and
256 cleaning out old and dusty code, the MOP should now
257 be considered "ready to use".
259 - adding more tests to get coverage up a little higher,
260 mostly testing errors and edge cases.
261 - test coverage is now at 99%
264 - no longer optionally exports to UNIVERSAL::meta or
265 creates a custom metaclass generator, use the
266 metaclass pragma instead.
269 - fixed a number of minor issues which came up in the
270 error/edge-case tests
272 * Class::MOP::Attribute
273 - fixed a number of minor issues which came up in the
274 error/edge-case tests
277 - fixing the AttributesWithHistory example, it was broken.
279 0.06 Thurs Feb. 9, 2006
281 - adding new metaclass pragma to make setting up the
282 metaclass a little more straightforward
285 - clean up bootstrapping to include more complete
286 attribute definitions for Class::MOP::Class and
287 Class::MOP::Attribute (accessors, readers, writers,
288 etc.) ... it is redundant, but is useful meta-info
292 - fixing minor meta-circularity issue with &meta, it
293 is now more useful for subclasses
294 - added &get_attribute_map as an accessor for the
295 hash of attribute meta objects
296 - &compute_all_applicable_attributes now just returns
297 the attribute meta-object, rather than the HASH ref
298 since all the same info can be gotten from the
299 attribute meta-object itself
300 - updated docs & tests to reflect
301 - added &clone_instance method which does a deep clone
302 of the instance structure created by &construct_instance
303 - added docs & tests for this
304 - added Clone as a dependency
305 - added &new_object and &clone_object convience methods to
306 return blessed new or cloned instances
307 - they handle Class::MOP::Class singletons correctly too
308 - added docs & tests for this
309 - cleaned up the &constuct_class_instance so that it behaves
310 more like &construct_instance (and managed the singletons too)
311 - added the &check_metaclass_compatibility method to make sure
312 that metaclasses are upward and downward compatible.
313 - added tests and docs for this
316 - adjusting code to use the &Class::MOP::Class::meta
318 - adjusting code to use the metaclass pragma
320 0.05 Sat Feb. 4, 2006
322 - added the &attribute_metaclass and &method_metaclass
323 attributes which contain a metaclass name to use for
324 attributes/methods respectively
327 - bootstrap additional attributes for Class::MOP::Class
330 - adjusted the example code and tests to use the new
331 &attribute_metaclass feature of Class::MOP::Class
335 0.04 Fri Feb. 3, 2006
337 - some documentation suggestions from #perl6
339 * Class::MOP::Attribute
340 - improved error messages
343 - added new examples:
344 - AttributesWithHistory
345 - ClassEncapsultedAttributes
347 0.03 Fri Feb. 3, 2006
348 - converted to Module::Build instead of EU::MM
350 * Class::MOP::Attribute
351 - refactored method generation code
352 - attributes are now associated with class directly
355 - refactored the InsideOut example to take advantage
356 of the Class::MOP::Attribute refactoring
357 - changed example files to .pod files and hide thier
358 package names from PAUSE (I don't want to own these
359 namespaces really, they are just examples)
361 0.02 Thurs Feb. 2, 2006
362 - moving examples from t/lib/* to examples/*
363 - adding POD documentation to the examples
365 0.01 Thurs Feb. 2, 2006