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