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