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