microoptimize Class::MOP::Class::initialize since it's called so often
[gitmo/Class-MOP.git] / Changes
1 Revision history for Perl extension Class-MOP.
2
3 0.65
4     * Makefile.PL
5       - We now check to see if you have a compiler. If you don't, the
6         module installs without some XS bits, but will work the same
7         as with XS. This should make it easier to install on platforms
8         without a compiler (like Windows). (Dave Rolsky)
9
10 0.64 Sun August 3, 2008
11     * Class::MOP::Immutable
12       - fixing subtle edge case in immutable when you
13         call ->meta (stevan)
14       - clean up option processing (nothingmuch)
15
16     * Class::MOP::Instance
17       - inlined initialize slot didn't match
18         non-inlined (nothingmuch)
19
20 0.63 Mon July 7, 2008
21     * Class::MOP
22       - load_class will initialize a metaclass even if
23         the class is already loaded (sartak)
24       - load_class now returns the metaclass instance
25         instead of just 1 (sartak)
26
27     * elsewhere
28       - better error messages (sartak and Dave Rolsky)
29
30 0.62 Wed June 18, 2008
31     - in is_class_loaded, recognize scalar references (as opposed to globs) in
32       the symbol table as methods (these are optimized constant subs)
33
34 0.61 Fri. June 13, 2008
35     - Okay, lets give this another try and see if PAUSE 
36       recognizes it correct this time.
37
38 0.60 Thurs. Jun 12, 2008
39     - Fixed a version number issue by bumping all modules
40       to 0.60.
41
42 0.59 Thurs. Jun 12, 2008
43     !! Several fixes resulting in yet another 25-30% speedup !!
44
45     * Class::MOP::Class
46       - now stores the instance of the instance 
47         metaclass to avoid needless recomputation
48         and deletes it when the cache is blown
49       - introduce methods to query Class::MOP::Class for 
50         the options used to make it immutable as well as
51         the proper immutable transformer. (groditi)        
52
53     * Class::MOP::Package
54       - {add, has, get, remove}_package_symbol all 
55         now accept a HASH ref argument as well as the
56         string. All internal usages now use the HASH
57         ref version.
58
59     * Class::MOP
60       - MOP.xs does sanity checks on the coderef 
61         to avoid a segfault
62       - is_class_loaded check now uses code that
63         was improved in Moose's ClassName type
64         check (Sartak)
65       - nonsensical (undef, empty, reference) class
66         names now throw a more direct error in
67         load_class (Sartak)
68         - tests for this and other aspects of
69           load_class (Sartak)
70     
71     * Class::MOP
72       Class::MOP::Class      
73       Class::MOP::Method
74       Class::MOP::Method::Wrapped
75       Class::MOP::Attribute
76       - switched usage of reftype to ref because 
77         it is much faster
78
79 0.58 Thurs. May 29, 2008
80     (late night release engineering)--
81     
82     - fixing the version is META.yml, no functional 
83       changes in this release
84
85 0.57 Wed. May 28, 2008
86     !! Several speedups resulting in 20-25% speedups !!
87     || (thanks to konobi, groditi, mst & CataMoose) !!
88
89     * Class::MOP::Class
90       - made get_method_map use list_all_package_symbols
91         instead of manually grabbing each symbol
92       - streamlining &initialize somewhat, since it gets
93         called so much
94         
95     * Class::MOP::Package
96       - made {get, has}_package_symbol not call 
97         &namespace so much 
98       - inlining a few calls to &name with 
99         direct HASH access key access
100       - added get_all_package_symbols to fetch 
101         a HASH of items based on a type filter
102         similar to list_all_package_symbols
103         - added tests for this
104
105     * Class::MOP::Method
106       Class::MOP::Method::Constructor
107       Class::MOP::Method::Generated
108       Class::MOP::Method::Accessor
109       - added more descriptive error message to help 
110         keep people from wasting time tracking an error
111         that is easily fixed by upgrading.
112
113     * Class::MOP::Immutable
114       - Don't inline a destructor unless the user actually
115         needs one
116         - added tests for this
117
118 0.56 Saturday, May 24, 2008
119     * Class::MOP
120       - we now get the &check_package_cache_flag
121         function from MRO::Compat
122       - All XS based functionality now has a 
123         Pure Perl alternative
124         - the CLASS_MOP_NO_XS environment variable
125           can now be used to force non-XS versions
126           to always be used
127
128     * Class::MOP::Attribute
129       - add has_read_method and has_write_method
130       - get_{read,write}_method_ref now wraps the
131         anon-sub ref in the method metaclass when
132         possible
133         - added tests for this
134
135     * Class::MOP::Immutable
136       - added the ability to "wrap" methods when
137         making the class immutable
138
139     * Class::MOP::Class
140       - now handling the edge case of ->meta->identifier
141         dying by wrapping add_package_symbol to specifically
142         allow for it to work.
143         - added tests for this
144
145     * Class::MOP::Attribute
146       Class::MOP::Class
147       Class::MOP::Immutable
148       - any time a method meta object is constructed
149         we make sure to pass the correct package and
150         method name information
151
152     * Class::MOP::Method
153       Class::MOP::Method::Wrapped
154       Class::MOP::Method::Generated
155       Class::MOP::Method::Accessor
156       Class::MOP::Method::Consructor
157       - the &wrap constructor method now requires that a 
158         'package_name' and 'name' attribute are passed. This 
159         is to help support the no-XS version, and will 
160         throw an error if these are not supplied.      
161       - all these classes are now bootstrapped properly
162         and now store the package_name and name attributes
163         correctly as well        
164
165     ~ Build.PL has been removed since the 
166       Module::Install support has been removed
167
168 0.55 Mon. April 28, 2008
169     - All classes now have proper C3 MRO support
170       - added MRO::Compat as a dependency to allow
171         for the C3 MRO support to Just Work in all
172         perl versions
173
174     * Class::MOP::Class
175       - rebless_instance now returns the instance
176         it has just blessed, this is mostly to
177         facilitate chaining
178       - set the attr correctly in rebless_instance
179         when it has no init_arg
180       - tweaked &linear_isa and &class_precedence_list
181         to support c3 classes.
182
183 0.54 Fri. March, 14, 2008
184     * Class::MOP
185       metaclass.pm
186       - making sure that load_class never gets
187         passed a value from @_ or $_ to squash
188         Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
189
190     * Class::MOP::Class
191       - make_{immutable,mutable} now return 1
192         (cause Sartak asked)
193       - improved error handling in ->create method
194       - rebless_instance now takes extra params which
195         will be used to populate values
196         - added tests for this
197
198     * Class::MOP::Object
199       - localizing the Data::Dumper configurations so
200         that it does not pollute others (RT #33509)
201
202     * Class::MOP::Class
203       Class::MOP::Package
204       Class::MOP::Module
205       Class::MOP::Method
206       Class::MOP::Attribute
207       - these classes no longer define their own ->meta,
208         but instead just inherit from Class::MOP::Object
209
210     * Class::MOP::Instance
211       Class::MOP::Immutable
212       - these classes now inherit from Class::MOP::Object
213
214     * t/
215       - fixed the filename length on several
216         test files so we install on VMS better
217         (RT #32295)
218       - fixed incorrect use of catdir when it
219         should be catfile (RT #32385)
220
221 0.53 Thurs. Feb. 14, 1008
222     ~~ several doc. fixes and updates ~~
223
224     * Class::MOP::Class
225       Class::MOP::Method::Constructor
226       Class::MOP::Attribute
227         - making init_arg accept an undefined value
228           to indicate that no constructor args can
229           be passed (thanks to nothingmuch)
230           - added tests for this
231         - added attribute initializer attribute (rjbs)
232
233     * Class::MOP.
234         - making this use the new init_arg => undef
235           feature instead of the silly hack from
236           before (thanks to nothingmuch)
237
238 0.52 Tues. Jan. 22, 2008
239     * Class::MOP::Class
240       - fixed bug in rebless_instance
241         (discovered by ash)
242
243     * Class::MOP::Method::Constructor
244       - removed assumptions about the existence of
245         a &meta method
246
247 0.51 Mon. Jan. 14, 2008
248     ~~~ some misc. doc. fixes ~~~
249     ~~ updated copyright dates ~~
250
251     * Class::MOP
252       - now sets the IS_RUNNING_ON_5_10
253         constant so that we can take advantage
254         of some of the nice bits of 5.10
255
256     * Class::MOP::Class
257       - uses the IS_RUNNING_ON_5_10 flag to
258         optimize the &linearized_isa method
259         and avoid the hack/check for circular
260         inheritence in &class_precedence_list
261       - added rebless_instance method (Sartak)
262         - added tests for this
263
264     * Class::MOP::Immutable
265       - the immutable class now keeps track of
266         the transformer which immutablized it
267
268     * Class::MOP::Instance
269       - added rebless_instance_structure method (Sartak)
270         - added tests for this
271
272 0.50 Fri. Dec. 21, 2007
273     * Class::MOP::Class
274       - fixed bug in immutable to make sure that
275         transformation arguments are saved
276         correctly (mst)
277         - added tests for this
278
279     * Class::MOP::Immutable
280       - fixed a bug (see above)
281
282     * Class::MOP::Attribute
283       - some doc updates
284
285 0.49 Fri. Dec. 14, 2007
286     !! Class::MOP now loads 2 x faster  !!
287     !! with XS speedups (thanks konobi) !!
288
289     * Class::MOP
290       - removed the dependency on B
291       - added two XS functions (thanks konobi)
292         - get_code_info($code) which replaces all
293           the B fiddling we were doing with
294           faster/leaner XS level fiddling
295         - check_package_cache_flag($pkg_name) which
296           returns the PL_sub_generation variable to
297           be used to help manage method caching.
298
299           NOTE:
300           In 5.10 or greater this will actually
301           use the mro::get_pkg_gen instead to give
302           even more accurate caching information.
303           blblack++ for that stuff :)
304
305     * Class::MOP::Class
306       - added the &subclasses method (thanks rlb)
307       - added the update_package_cache_flag and
308         reset_package_cache_flag which help keep
309         track of when we need to re-fetch the
310         method map.
311       - Several small improvements to take advantage
312         of the new method map caching features
313
314 0.48 Mon. Nov. 26, 2007
315     * Class::MOP::Attribute
316       - fixed get_read/write_method to handle the
317         HASH ref case, which makes the
318         get_read/write_method_ref handle it too.
319         - added more tests for this
320
321 0.47 Sat. Nov. 24, 2007
322     * Class::MOP::Attribute
323       - fixed misspelling in get_write_method_ref
324         - added more tests for this
325
326 0.46 Fri. Nov. 23, 2007
327     * Class::MOP::Class
328       - added the linearized_isa method instead of constantly
329         pruning duplicate classes (this will be even more
330         useful in the 5.10-compat version coming soon)
331
332     * Class::MOP::Attribute
333       - added the get_read_method_ref and get_write_method_ref
334         methods which allow you to retrieve a CODE ref which
335         can always be used to read or write an attribute.
336
337 0.45 Thurs. Nov. 13, 2007
338     * Class::MOP::Attribute
339       - Fix error message on confess (groditi)
340
341 0.44 Thurs. Nov. 13, 2007
342     - Apparently I didn't make dist correctly (groditi)
343
344 0.43 Thurs. Nov. 13, 2007
345     * Class::MOP
346       - Add support for the 'builder' attribute (groditi)
347
348     * Class::MOP::Class
349       - optimise metaclass-already-exists check in
350         construct_class_instance (groditi)
351       - duplicate check into initialize to save a
352         call through (groditi)
353
354     * Class::MOP::Attribute
355       - Add support for the 'builder' attribute (groditi)
356       - Make predicates check for the existence of a value, not whether
357         it is defined (groditi)
358
359     * Class::MOP::Instance
360       - Make predicates check for the existence of a value, not whether
361         it is defined (groditi)
362
363     * Class::MOP::Method::Accessor
364       - made this a subclass of Class::MOP::Method::Generated
365         - removed the relevant attributes
366
367     * Class::MOP::Method::Constructor
368       - fixed the cached values we had to be more sane
369       - made this a subclass of Class::MOP::Method::Generated
370       - fixed generated constructor so it properly handles
371         subclasses now.
372         - added tests for this
373       - added the option to allow for both inlined and
374         non-inlined constructors.
375       - Update inlined methods for builder and predicate changes (groditi)
376
377     * Class::MOP::Method::Generated
378       - added this class as an abstract base for the
379         Class::MOP::Method::{Constructor,Accessor} classes
380         - added tests for this
381
382     *t/
383       - Alter tests (005, 014 020, 021) for new builder addition (groditi)
384       - Tests for new predicate behavior (and corrections to old tests) (groditi)
385
386     *examples/
387       - Update ArrayRef based class example to work with predicate changes
388
389 0.42 Mon. July 16, 2007
390     !!! Horray for mst, he fixed it !!!
391
392     * Class::MOP::Package
393       - alter symbol table handling to deal with 5.8.x and 5.9.x
394
395     * t/
396       - Get rid of the crappy workaround from 0.40/41
397
398 0.41 Sun. July 15, 2007
399     * t/
400         Arghh!!! My TODO test didn't work, so I handle
401         it manually now so that people can use this
402         with 5.9.5/bleadperl without issue.
403
404 0.40 Tues, July 3, 2007
405     * t/
406       ~ marked a test in 003_methods.t as TODO
407         for perl 5.9.5 (this test is irrelvant to
408         the module functioning on 5.9.5 for the most
409         part anyway)
410
411 0.39 Mon. June 18, 2007
412     * Class::MOP::Immutable
413       - added make_metaclass_mutable + docs (groditi)
414       - removed unused variable
415       - added create_immutable_transformer
416         necessary for sane overloading of immutable behavior
417          - tests for this (groditi)
418
419     * Class::MOP::Class
420       - Immutability can now be undone,
421         added make_mutable + tests + docs (groditi)
422       - Massive changes to the way Immutable is done
423         for details see comments next to make_immutable
424         This fixes a bug where custom metaclasses broke
425         when made immutable. We are now keeping one immutable
426         metaclass instance per metaclass instead of just one
427         to prevent isa hierarchy corruption. Memory use will go
428         up, but I suspect it will be neglible.
429          - New tests added for this behavior.  (groditi)
430
431 0.38 Thurs. May 31, 2007
432     ~~ More documentation updates ~~
433
434     * Class::MOP::Package
435       - we now deal with stub methods properly
436         - added tests for this
437       - fixed some tests failing on 5.9.5 (thanks blblack)
438
439     * Class::MOP::Attribute
440       - added get_read_method and get_write_method
441         thanks to groditi for this code, tests
442         and docs.
443         - added tests and POD for this
444
445     * Class::MOP::Class
446       - fixed RT issue #27329, clone object now
447         handles undef values correctly.
448         - added tests for this
449       - Corrected anon-class handling so that they
450         will not get reaped when instances still
451         exist which need to reference them. This is
452         the correct behavior, hopefully this is an
453         obscure enough feature that there are not too
454         many work arounds out in the wild.
455         - added tests for this by groditi
456         - updated docs to explain this
457
458     * metaclass
459       - load custom metaclasses automatically (thanks groditi)
460         - added tests for this behavior
461
462 0.37 Sat. March 10, 2007
463     ~~ Many, many documentation updates ~~
464
465     * Class::MOP
466       - added &load_class and &is_class_loaded
467         - added tests and docs for these
468
469     * Class::MOP::Attribute
470       - default now checks the instance with defined to
471         avoid setting off bool-overloads (found by Carl Franks)
472
473 0.37_002
474     * /t
475       - bad name in a test, causing meaningless failuress.
476         No other changes.
477
478 0.37_001
479
480     ~~ GLOBAL CHANGES ~~
481     - All attribute names are now consistent and follow Perl 6
482       style (prefixed with the sigil, and ! as the twigil for
483       private attrs). This should not affect any code, unless
484       you broke encapsulation, in which case, it is your problem
485       anyway.
486
487     !! Class::MOP::Class::Immutable has been removed
488
489     * Class::MOP::Method::Constructor
490       - this has been moved out of Class::MOP::Class::Immutable
491         and is a proper subclass of Class::MOP::Method now.
492
493     * Class::MOP::Class
494       - this module now uses Class::MOP::Immutable for the
495         immutable transformation instead of
496         Class::MOP::Class::Immutable.
497
498     + Class::MOP::Immutable
499       - this module now controls the transformation from a mutable
500         to an immutable version of the class. Docs for this will
501         be coming eventually.
502
503
504 0.36 Sun. Nov. 5, 2006
505     * Class::MOP::Class
506       - added a few 'no warnings' lines to keep annoying
507         (and meaningless) warnings from chirping during
508         global destruction.
509
510     * Class::MOP
511       - some more bootstrapping is now done on the new
512         classes
513
514     * Class::MOP::Class::Immutable
515       *** API CHANGE ***
516       - constructor generation is now handled by
517         the Class::MOP::Method::Constructor class
518
519     * Class::MOP::Method::Constructor
520       - created this to handle constructor generation
521         in Class::MOP::Class::Immutable
522
523     * Class::MOP::Attribute
524       *** API CHANGE ***
525       - attributes now delegate to the
526         Class::MOP::Method::Accessor to generate
527         accessors
528
529     * Class::MOP::Method::Accessor
530       - all accessor generation functions from
531         Class::MOP::Attribute have been moved here
532
533 0.35 Sat. Sept. 30, 2006
534
535     * scripts/class_browser.pl
536       - initial prototype of a class browser, more
537         on this to come. Comments and patches are
538         very much welcome.
539
540     * Class::MOP
541       - All Class::MOP::* accessors are no longer
542         re-generated in the bootstrap, instead
543         they are aliased from the originals
544         - fixed tests to reflect
545       - added Class::MOP::Method (and its subclasses)
546         to the bootstrap
547         - adjusted tests for this
548       - added the Class::MOP::Instance attributes
549         to the bootstrap
550
551     * Class::MOP::Method
552       *** API CHANGE ***
553       - methods are no longer blessed CODE refs
554         but are actual objects which can be CODE-ified
555         - adjusted tests to compensate
556         - adjusted docs for this
557
558     * Class::MOP::Class
559       - changed how methods are dealt with to
560         encapsulate most of the work into the
561         &get_method_map method
562       - made several adjustments for the change
563         in Class::MOP::Method
564       - &add_attribute now checks if you are adding
565         a duplicate name, and properly removes the
566         old one before installing the new one
567         - added tests for this
568         - adjusted docs for this
569
570     * Class::MOP::Class::Immutable
571       - added caching of &get_method_map
572       - fixed issue with &get_package_symbol
573       - cleaned up the methods that die (patch by David Wheeler)
574
575     * Class::MOP::Package
576       - added filtering capabilities to
577         &list_all_package_symbols
578
579 0.34 Sat. Aug. 26, 2006
580     * Class::MOP::Class
581       - added the %:methods attribute, which like
582         the $:version and such just actually goes
583         to the symbol table to get it's stuff.
584         However, it makes the MOP more complete.
585      ** API CHANGE **
586       - The &create method now requires that all
587         but the package name now is passed in as
588         named parameters. See docs for more info.
589         - updated docs and tests for this
590
591     * Class::MOP::Object
592       - added &dump method to easily Data::Dumper
593         an object
594
595     * Class::MOP
596       - cleaned up the initialization of attributes
597         which do not store things in the instance
598       - added the %:methods attribute definition to
599         the bootstrap
600
601     ~ lots of misc. test cleanup
602
603 0.33 Sat. Aug. 19, 2006
604     * Class::MOP::Class
605       - moved the metaclass cache out of here
606         and it is now in Class::MOP itself.
607
608     * Class::MOP
609       - moved all the metaclass cache stuff here
610         - fixed all tests for this
611
612     * Class::MOP::Attribute
613       - reference values (other than CODE refs)
614         are no longer allowed for defaults
615         - added tests for this
616
617     * Class::MOP::Package
618       - fixed an issue with perl 5.8.1 and how it deals
619         with symbol tables. The namespace hash is now
620         always reloaded from the symbol table.
621
622     ~ lots of misc. documentation cleanup
623
624 0.32 Sat. Aug. 12, 2006
625     + added Class::MOP::Object so that the
626       metamodel is more complete (and closer
627       to what Perl 6 will probably be).
628
629     * Class::MOP::Package
630       - refactored entire class, this is now
631         the primary gateway between the metaclass
632         and the Perl 5 symbol table
633         - added many tests for this
634       - this class is now a subclass of
635         Class::MOP::Object
636         - added some tests to reflect this
637
638     * Class::MOP::Class
639       - refactored all symbol table access to
640         use Class::MOP::Package methods instead
641
642     * Class::MOP::Module
643       - adding the $:version attribute in the bootstrap
644         so that Module has a version as an attribute
645         - see comment in Class::MOP for details
646       - added the $:authority attribute to this module
647         as well as an &identifier method, to bring us
648         ever closer to Perl 6 goodness
649         - I have added $AUTHORITY to all the modules
650         - added tests for this
651
652     * Class::MOP::Instance
653       - added &deinitialize_slot for removing slots
654         from an instance
655         - added tests for this
656
657     * Class::MOP::Attribute
658       - added support for &deinitialize_slot for removing
659         slots from an instance
660         - added tests for this
661
662 0.31 Sat. July 15, 2006
663
664     * Class::MOP::Class
665       - added &find_method_by_name to locate a method
666         anywhere within the class hierarchy
667
668     * Class::MOP::Attribute
669       - added &set_value and &get_value for getting
670         the value of the attribute for a particular
671         instance.
672
673 0.30 Wed. July 5, 2006
674     ---------------------------------------
675     This is the first version of Class::MOP
676     to introduce the immutable features which
677     will be used for optimizating the MOP.
678     This support should still be considered
679     experimental, but moving towards stability.
680     ---------------------------------------
681
682     * Created Class::MOP::Class::Immutable
683
684     * Created the Class::MOP::Package and
685       Class::MOP::Module classes to more
686       closely conform to Perl 6's meta-model
687
688     * Class::MOP::Class
689       - now inherits from Class::MOP::Module
690       - several methods moved to ::Module and
691         ::Package and now inherited
692         - added tests for this
693
694     * Class::MOP::Instance
695       - added an is_inlinable method to allow other
696         classes to check before they attempt to optimize.
697       - added an inline_create_instance to inline
698         instance creation (of course)
699
700     ** API CHANGE **
701       - the Class::MOP::Class::*_package_variable
702         methods are all now methods of Class::MOP::Package
703         and called *_package_symbol instead. This is
704         because they are now more general purpose symbol
705         table manipulation methods.
706
707 0.29_02 Thurs. June 22, 2006
708     ++ DEVELOPER RELEASE ++
709     * Class::MOP::Class
710       - small change in &create so that it behaves
711         properly when inherited
712       - small fix to &clone_instance
713
714 0.29_01 Fri. May 12, 2006
715     ++ DEVELOPER RELEASE ++
716       - This release works in combination with
717         Moose 0.09_01, it is a developer release
718         because it introduces a new instance
719         sub-protocol and has not yet been
720         optimized.
721
722     * Class::MOP::Class
723       - anon-classes are now properly garbage collected
724         - added tests for this
725       - improved method modifier wrapping
726
727     * Class::MOP::Instance
728       - added new instance protocol
729         - added tests for this
730       - changed all relevant modules and examples
731         - Class::MOP::Class
732         - Class::MOP::Attribute
733         - examples/*
734
735     * metaclass
736       - you no longer need to specify the metaclass
737         itself, if it is not there, Class::MOP::Class
738         is just assumed
739         - updated tests for this
740
741     * examples/
742       - added ArrayBasedStorage example to show
743         instance storage using ARRAY refs instead of
744         HASH refs.
745         - added tests for this
746       - InsideOutClass is totally revised using the
747         new instance protocol
748         - added more tests for this
749
750 0.26 Mon. April 24, 2006
751     * Class::MOP::Class
752       - added find_attribute_by_name method
753         - added tests and docs for this
754       - some small optimizations
755
756     * Class::MOP::Attribute
757       - some small optimizations
758
759 0.25 Thurs. April 20, 2006
760     * Class::MOP::Class
761       - added create_anon_class for creating anonymous classes
762         - added tests for this
763       - added get_all_metaclasses, get_all_metaclass_names
764         and get_all_metaclass_instances method to allow
765         access to all the cached metaclass objects.
766       - attribute slot initialization is now the responsibility
767         of the attribute itself, and construct_instance now
768         delegates appropriately
769
770     * Class::MOP::Attribute
771       - attribute slot initialization is now the responsibility
772         of the attribute itself, so we added a method for it
773         called initialize_instance_slot
774
775     * examples/
776       - adjusted all the examples to use the new attribute
777         initialize_instance_slot method
778
779 0.24 Tues. April 11, 2006
780     * Class::MOP::Class
781       - cleaned up how the before/after/around method
782         modifiers get named with Sub::Name
783
784 0.23 Thurs. March 30, 2006
785         * Class::MOP::Class
786           - fixed the way attribute defaults are handled
787             during instance construction (bug found by chansen)
788
789         * Class::MOP::Attribute
790           - read-only accessors ('reader') will now die if
791             passed more than one argument (attempting to write
792             to them basically)
793               - added tests for this
794               - adjusted all /example files to comply
795
796 0.22 Mon. March 20, 2006
797     * Class::MOP::Class
798       - localized $@ in the *_package_variable functions
799         because otherwise, it does ugly things in Moose.
800           - added test case for this
801
802 0.21 Wed. March 15, 2006
803     * Class::MOP::Class
804       - fixed issue where metaclasses are reaped from
805         our cache in global destruction, and so are not
806         available in DESTORY calls
807
808 0.20 Thurs. March 2, 2006
809     - removed the dependency for Clone since
810       we no longer to deep-cloning by default.
811
812     * Class::MOP::Method
813       - added &package_name, &name and
814         &fully_qualified_name methods, some of
815         which were formerly private subs in
816         Class::MOP::Class
817
818     * Class::MOP::Method::Wrapped
819       - allows for a method to be wrapped with
820         before, after and around modifiers
821           - added tests and docs for this feature
822
823     * Class::MOP::Class
824       - improved &get_package_symbol
825           - &version and &superclasses now use it
826       - methods are now blessed into Class::MOP::Method
827         whenever possible
828       - added methods to install CLOS-style method modifiers
829          - &add_before_method_modifier
830          - &add_after_method_modifier
831          - &add_around_method_modifier
832              - added tests and docs for these
833       - added &find_next_method_by_name which finds the
834         equivalent of SUPER::method_name
835
836 0.12 Thurs. Feb 23, 2006
837     - reduced the dependency on B, no need to always
838       have the latest
839
840     * examples/
841       - added docs to the C3 method dispatch order test
842       - fixed missing Algorithm::C3 dependency by making
843         the test skip if it is not installed
844
845 0.11 Mon Feb. 20, 2006
846     * examples/
847       - added example of changing method dispatch order to C3
848
849     * Class::MOP::Class
850       - changed how clone_instance behaves, it now only does a
851         shallow clone (see docs for more details)
852         - added docs and tests
853
854 0.10 Tues Feb. 14, 2006
855     ** This release was mostly about writing more tests and
856        cleaning out old and dusty code, the MOP should now
857        be considered "ready to use".
858
859     - adding more tests to get coverage up a little higher,
860       mostly testing errors and edge cases.
861       - test coverage is now at 99%
862
863     * Class::MOP
864       - no longer optionally exports to UNIVERSAL::meta or
865         creates a custom metaclass generator, use the
866         metaclass pragma instead.
867
868     * Class::MOP::Class
869       - fixed a number of minor issues which came up in the
870         error/edge-case tests
871
872     * Class::MOP::Attribute
873       - fixed a number of minor issues which came up in the
874         error/edge-case tests
875
876     * examples/
877       - fixing the AttributesWithHistory example, it was broken.
878
879 0.06 Thurs Feb. 9, 2006
880     * metaclass
881       - adding new metaclass pragma to make setting up the
882         metaclass a little more straightforward
883
884     * Class::MOP
885       - clean up bootstrapping to include more complete
886         attribute definitions for Class::MOP::Class and
887         Class::MOP::Attribute (accessors, readers, writers,
888         etc.) ... it is redundant, but is useful meta-info
889         to have around.
890
891     * Class::MOP::Class
892       - fixing minor meta-circularity issue with &meta, it
893         is now more useful for subclasses
894       - added &get_attribute_map as an accessor for the
895         hash of attribute meta objects
896       - &compute_all_applicable_attributes now just returns
897         the attribute meta-object, rather than the HASH ref
898         since all the same info can be gotten from the
899         attribute meta-object itself
900           - updated docs & tests to reflect
901       - added &clone_instance method which does a deep clone
902         of the instance structure created by &construct_instance
903           - added docs & tests for this
904           - added Clone as a dependency
905       - added &new_object and &clone_object convience methods to
906         return blessed new or cloned instances
907           - they handle Class::MOP::Class singletons correctly too
908           - added docs & tests for this
909       - cleaned up the &constuct_class_instance so that it behaves
910         more like &construct_instance (and managed the singletons too)
911       - added the &check_metaclass_compatibility method to make sure
912         that metaclasses are upward and downward compatible.
913           - added tests and docs for this
914
915     * examples/
916       - adjusting code to use the &Class::MOP::Class::meta
917         fix detailed above
918       - adjusting code to use the metaclass pragma
919
920 0.05 Sat Feb. 4, 2006
921     * Class::MOP::Class
922       - added the &attribute_metaclass and &method_metaclass
923         attributes which contain a metaclass name to use for
924         attributes/methods respectively
925
926     * Class::MOP
927       - bootstrap additional attributes for Class::MOP::Class
928
929     * examples/
930       - adjusted the example code and tests to use the new
931         &attribute_metaclass feature of Class::MOP::Class
932       - added new example:
933         - LazyClass
934
935 0.04 Fri Feb. 3, 2006
936     * Class::MOP::Class
937       - some documentation suggestions from #perl6
938
939     * Class::MOP::Attribute
940       - improved error messages
941
942     * examples/
943       - added new examples:
944         - AttributesWithHistory
945         - ClassEncapsultedAttributes
946
947 0.03 Fri Feb. 3, 2006
948     - converted to Module::Build instead of EU::MM
949
950     * Class::MOP::Attribute
951       - refactored method generation code
952       - attributes are now associated with class directly
953
954     * examples/
955       - refactored the InsideOut example to take advantage
956         of the Class::MOP::Attribute refactoring
957       - changed example files to .pod files and hide thier
958         package names from PAUSE (I don't want to own these
959         namespaces really, they are just examples)
960
961 0.02 Thurs Feb. 2, 2006
962     - moving examples from t/lib/* to examples/*
963         - adding POD documentation to the examples
964
965 0.01 Thurs Feb. 2, 2006
966     - Initial release