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