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