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