1 Revision history for Perl extension Class-MOP.
4 ~~ More documentation updates ~~
7 - we now deal with stub methods properly
9 - fixed some tests failing on 5.9.5
11 * Class::MOP::Attribute
12 - added get_read_method and get_write_method
13 thanks to groditi for this code, tests
15 - added tests and POD for this
18 - fixed RT issue #27329, clone object now
19 handles undef values correctly.
20 - added tests for this
22 0.37 Sat. March 10, 2007
23 ~~ Many, many documentation updates ~~
26 - added &load_class and &is_class_loaded
27 - added tests and docs for these
29 * Class::MOP::Attribute
30 - default now checks the instance with defined to
31 avoid setting off bool-overloads (found by Carl Franks)
35 - bad name in a test, causing meaningless failuress.
41 - All attribute names are now consistent and follow Perl 6
42 style (prefixed with the sigil, and ! as the twigil for
43 private attrs). This should not affect any code, unless
44 you broke encapsulation, in which case, it is your problem
47 !! Class::MOP::Class::Immutable has been removed
49 * Class::MOP::Method::Constructor
50 - this has been moved out of Class::MOP::Class::Immutable
51 and is a proper subclass of Class::MOP::Method now.
54 - this module now uses Class::MOP::Immutable for the
55 immutable transformation instead of
56 Class::MOP::Class::Immutable.
58 + Class::MOP::Immutable
59 - this module now controls the transformation from a mutable
60 to an immutable version of the class. Docs for this will
64 0.36 Sun. Nov. 5, 2006
66 - added a few 'no warnings' lines to keep annoying
67 (and meaningless) warnings from chirping during
71 - some more bootstrapping is now done on the new
74 * Class::MOP::Class::Immutable
76 - constructor generation is now handled by
77 the Class::MOP::Method::Constructor class
79 * Class::MOP::Method::Constructor
80 - created this to handle constructor generation
81 in Class::MOP::Class::Immutable
83 * Class::MOP::Attribute
85 - attributes now delegate to the
86 Class::MOP::Method::Accessor to generate
89 * Class::MOP::Method::Accessor
90 - all accessor generation functions from
91 Class::MOP::Attribute have been moved here
93 0.35 Sat. Sept. 30, 2006
95 * scripts/class_browser.pl
96 - initial prototype of a class browser, more
97 on this to come. Comments and patches are
101 - All Class::MOP::* accessors are no longer
102 re-generated in the bootstrap, instead
103 they are aliased from the originals
104 - fixed tests to reflect
105 - added Class::MOP::Method (and its subclasses)
107 - adjusted tests for this
108 - added the Class::MOP::Instance attributes
113 - methods are no longer blessed CODE refs
114 but are actual objects which can be CODE-ified
115 - adjusted tests to compensate
116 - adjusted docs for this
119 - changed how methods are dealt with to
120 encapsulate most of the work into the
121 &get_method_map method
122 - made several adjustments for the change
123 in Class::MOP::Method
124 - &add_attribute now checks if you are adding
125 a duplicate name, and properly removes the
126 old one before installing the new one
127 - added tests for this
128 - adjusted docs for this
130 * Class::MOP::Class::Immutable
131 - added caching of &get_method_map
132 - fixed issue with &get_package_symbol
133 - cleaned up the methods that die (patch by David Wheeler)
135 * Class::MOP::Package
136 - added filtering capabilities to
137 &list_all_package_symbols
139 0.34 Sat. Aug. 26, 2006
141 - added the %:methods attribute, which like
142 the $:version and such just actually goes
143 to the symbol table to get it's stuff.
144 However, it makes the MOP more complete.
146 - The &create method now requires that all
147 but the package name now is passed in as
148 named parameters. See docs for more info.
149 - updated docs and tests for this
152 - added &dump method to easily Data::Dumper
156 - cleaned up the initialization of attributes
157 which do not store things in the instance
158 - added the %:methods attribute definition to
161 ~ lots of misc. test cleanup
163 0.33 Sat. Aug. 19, 2006
165 - moved the metaclass cache out of here
166 and it is now in Class::MOP itself.
169 - moved all the metaclass cache stuff here
170 - fixed all tests for this
172 * Class::MOP::Attribute
173 - reference values (other than CODE refs)
174 are no longer allowed for defaults
175 - added tests for this
177 * Class::MOP::Package
178 - fixed an issue with perl 5.8.1 and how it deals
179 with symbol tables. The namespace hash is now
180 always reloaded from the symbol table.
182 ~ lots of misc. documentation cleanup
184 0.32 Sat. Aug. 12, 2006
185 + added Class::MOP::Object so that the
186 metamodel is more complete (and closer
187 to what Perl 6 will probably be).
189 * Class::MOP::Package
190 - refactored entire class, this is now
191 the primary gateway between the metaclass
192 and the Perl 5 symbol table
193 - added many tests for this
194 - this class is now a subclass of
196 - added some tests to reflect this
199 - refactored all symbol table access to
200 use Class::MOP::Package methods instead
203 - adding the $:version attribute in the bootstrap
204 so that Module has a version as an attribute
205 - see comment in Class::MOP for details
206 - added the $:authority attribute to this module
207 as well as an &identifier method, to bring us
208 ever closer to Perl 6 goodness
209 - I have added $AUTHORITY to all the modules
210 - added tests for this
212 * Class::MOP::Instance
213 - added &deinitialize_slot for removing slots
215 - added tests for this
217 * Class::MOP::Attribute
218 - added support for &deinitialize_slot for removing
219 slots from an instance
220 - added tests for this
222 0.31 Sat. July 15, 2006
225 - added &find_method_by_name to locate a method
226 anywhere within the class hierarchy
228 * Class::MOP::Attribute
229 - added &set_value and &get_value for getting
230 the value of the attribute for a particular
233 0.30 Wed. July 5, 2006
234 ---------------------------------------
235 This is the first version of Class::MOP
236 to introduce the immutable features which
237 will be used for optimizating the MOP.
238 This support should still be considered
239 experimental, but moving towards stability.
240 ---------------------------------------
242 * Created Class::MOP::Class::Immutable
244 * Created the Class::MOP::Package and
245 Class::MOP::Module classes to more
246 closely conform to Perl 6's meta-model
249 - now inherits from Class::MOP::Module
250 - several methods moved to ::Module and
251 ::Package and now inherited
252 - added tests for this
254 * Class::MOP::Instance
255 - added an is_inlinable method to allow other
256 classes to check before they attempt to optimize.
257 - added an inline_create_instance to inline
258 instance creation (of course)
261 - the Class::MOP::Class::*_package_variable
262 methods are all now methods of Class::MOP::Package
263 and called *_package_symbol instead. This is
264 because they are now more general purpose symbol
265 table manipulation methods.
267 0.29_02 Thurs. June 22, 2006
268 ++ DEVELOPER RELEASE ++
270 - small change in &create so that it behaves
271 properly when inherited
272 - small fix to &clone_instance
274 0.29_01 Fri. May 12, 2006
275 ++ DEVELOPER RELEASE ++
276 - This release works in combination with
277 Moose 0.09_01, it is a developer release
278 because it introduces a new instance
279 sub-protocol and has not yet been
283 - anon-classes are now properly garbage collected
284 - added tests for this
285 - improved method modifier wrapping
287 * Class::MOP::Instance
288 - added new instance protocol
289 - added tests for this
290 - changed all relevant modules and examples
292 - Class::MOP::Attribute
296 - you no longer need to specify the metaclass
297 itself, if it is not there, Class::MOP::Class
299 - updated tests for this
302 - added ArrayBasedStorage example to show
303 instance storage using ARRAY refs instead of
305 - added tests for this
306 - InsideOutClass is totally revised using the
307 new instance protocol
308 - added more tests for this
310 0.26 Mon. April 24, 2006
312 - added find_attribute_by_name method
313 - added tests and docs for this
314 - some small optimizations
316 * Class::MOP::Attribute
317 - some small optimizations
319 0.25 Thurs. April 20, 2006
321 - added create_anon_class for creating anonymous classes
322 - added tests for this
323 - added get_all_metaclasses, get_all_metaclass_names
324 and get_all_metaclass_instances method to allow
325 access to all the cached metaclass objects.
326 - attribute slot initialization is now the responsibility
327 of the attribute itself, and construct_instance now
328 delegates appropriately
330 * Class::MOP::Attribute
331 - attribute slot initialization is now the responsibility
332 of the attribute itself, so we added a method for it
333 called initialize_instance_slot
336 - adjusted all the examples to use the new attribute
337 initialize_instance_slot method
339 0.24 Tues. April 11, 2006
341 - cleaned up how the before/after/around method
342 modifiers get named with Sub::Name
344 0.23 Thurs. March 30, 2006
346 - fixed the way attribute defaults are handled
347 during instance construction (bug found by chansen)
349 * Class::MOP::Attribute
350 - read-only accessors ('reader') will now die if
351 passed more than one argument (attempting to write
353 - added tests for this
354 - adjusted all /example files to comply
356 0.22 Mon. March 20, 2006
358 - localized $@ in the *_package_variable functions
359 because otherwise, it does ugly things in Moose.
360 - added test case for this
362 0.21 Wed. March 15, 2006
364 - fixed issue where metaclasses are reaped from
365 our cache in global destruction, and so are not
366 available in DESTORY calls
368 0.20 Thurs. March 2, 2006
369 - removed the dependency for Clone since
370 we no longer to deep-cloning by default.
373 - added &package_name, &name and
374 &fully_qualified_name methods, some of
375 which were formerly private subs in
378 * Class::MOP::Method::Wrapped
379 - allows for a method to be wrapped with
380 before, after and around modifiers
381 - added tests and docs for this feature
384 - improved &get_package_symbol
385 - &version and &superclasses now use it
386 - methods are now blessed into Class::MOP::Method
388 - added methods to install CLOS-style method modifiers
389 - &add_before_method_modifier
390 - &add_after_method_modifier
391 - &add_around_method_modifier
392 - added tests and docs for these
393 - added &find_next_method_by_name which finds the
394 equivalent of SUPER::method_name
396 0.12 Thurs. Feb 23, 2006
397 - reduced the dependency on B, no need to always
401 - added docs to the C3 method dispatch order test
402 - fixed missing Algorithm::C3 dependency by making
403 the test skip if it is not installed
405 0.11 Mon Feb. 20, 2006
407 - added example of changing method dispatch order to C3
410 - changed how clone_instance behaves, it now only does a
411 shallow clone (see docs for more details)
412 - added docs and tests
414 0.10 Tues Feb. 14, 2006
415 ** This release was mostly about writing more tests and
416 cleaning out old and dusty code, the MOP should now
417 be considered "ready to use".
419 - adding more tests to get coverage up a little higher,
420 mostly testing errors and edge cases.
421 - test coverage is now at 99%
424 - no longer optionally exports to UNIVERSAL::meta or
425 creates a custom metaclass generator, use the
426 metaclass pragma instead.
429 - fixed a number of minor issues which came up in the
430 error/edge-case tests
432 * Class::MOP::Attribute
433 - fixed a number of minor issues which came up in the
434 error/edge-case tests
437 - fixing the AttributesWithHistory example, it was broken.
439 0.06 Thurs Feb. 9, 2006
441 - adding new metaclass pragma to make setting up the
442 metaclass a little more straightforward
445 - clean up bootstrapping to include more complete
446 attribute definitions for Class::MOP::Class and
447 Class::MOP::Attribute (accessors, readers, writers,
448 etc.) ... it is redundant, but is useful meta-info
452 - fixing minor meta-circularity issue with &meta, it
453 is now more useful for subclasses
454 - added &get_attribute_map as an accessor for the
455 hash of attribute meta objects
456 - &compute_all_applicable_attributes now just returns
457 the attribute meta-object, rather than the HASH ref
458 since all the same info can be gotten from the
459 attribute meta-object itself
460 - updated docs & tests to reflect
461 - added &clone_instance method which does a deep clone
462 of the instance structure created by &construct_instance
463 - added docs & tests for this
464 - added Clone as a dependency
465 - added &new_object and &clone_object convience methods to
466 return blessed new or cloned instances
467 - they handle Class::MOP::Class singletons correctly too
468 - added docs & tests for this
469 - cleaned up the &constuct_class_instance so that it behaves
470 more like &construct_instance (and managed the singletons too)
471 - added the &check_metaclass_compatibility method to make sure
472 that metaclasses are upward and downward compatible.
473 - added tests and docs for this
476 - adjusting code to use the &Class::MOP::Class::meta
478 - adjusting code to use the metaclass pragma
480 0.05 Sat Feb. 4, 2006
482 - added the &attribute_metaclass and &method_metaclass
483 attributes which contain a metaclass name to use for
484 attributes/methods respectively
487 - bootstrap additional attributes for Class::MOP::Class
490 - adjusted the example code and tests to use the new
491 &attribute_metaclass feature of Class::MOP::Class
495 0.04 Fri Feb. 3, 2006
497 - some documentation suggestions from #perl6
499 * Class::MOP::Attribute
500 - improved error messages
503 - added new examples:
504 - AttributesWithHistory
505 - ClassEncapsultedAttributes
507 0.03 Fri Feb. 3, 2006
508 - converted to Module::Build instead of EU::MM
510 * Class::MOP::Attribute
511 - refactored method generation code
512 - attributes are now associated with class directly
515 - refactored the InsideOut example to take advantage
516 of the Class::MOP::Attribute refactoring
517 - changed example files to .pod files and hide thier
518 package names from PAUSE (I don't want to own these
519 namespaces really, they are just examples)
521 0.02 Thurs Feb. 2, 2006
522 - moving examples from t/lib/* to examples/*
523 - adding POD documentation to the examples
525 0.01 Thurs Feb. 2, 2006