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