Add changes for this branch
[gitmo/Class-MOP.git] / Changes
1 Revision history for Perl extension Class-MOP.
2
3 Next
4     * mop.c
5       - Applied an MS VC++ compilation fix from Taro Nishino. RT #48072
6
7     * Class::MOP
8       - The load_class function just returns true, since it's return value was
9         confusing (either a metaclass object or a class name). It either loads
10         a class or dies trying. In the future, this may change to not return
11         anything, since there's no point in checking its return
12         value. Addresses RT #45883. (Dave Rolsky)
13
14     * Class::MOP::Class::Trait::Immutable
15       - When throwing an error because of an immutable method, include that
16         method's name. Addresses RT #49680. (Shawn M Moore)
17
18     * Class::MOP::Package
19       - Fixed a bug where adding the same sub reference to multiple packages
20         failed to update the method map properly. RT #48985. Reported by Paul
21         Mooney. (Dave Rolsky)
22       - The get_method_map method is now private. The public version is
23         available as a deprecated method, but the values of the hash reference
24         may now be either Class::MOP::Method objects _or_ raw sub
25         references. (Dave Rolsky)
26
27 0.92_01 Thu, Sep 10, 2009
28     * Class::MOP::Package
29       - Backwards compatibility tweaks to XS for 5.8.1. (Goro Fuji)
30
31     * Class::MOP
32       - Make sure XS code handles magical scalars correctly. (Goro Fuji)
33
34     * Class::MOP::Class
35       - Documented the immutable_options method, which is useful if you need
36         to make a class mutable temporarily, and then nede to restore
37         immutability. (Dave Rolsky)
38
39     * Many modules
40       - Deprecated features have been moved to their own module,
41         Class::MOP::Deprecated, for easier deprecation management. (Goro Fuji)
42
43 0.92 Thu Aug 13, 2009
44     * Class::MOP::Class
45     * Class::MOP::Package
46       - Move get_method_map and its various scaffolding into Package. (hdp)
47
48     * Class::MOP::Method
49       - Allow Class::MOP::Method->wrap to take a Class::MOP::Method object as
50         the first argument, rather than just a coderef. (doy)
51
52     * Class::MOP::Attribute
53     * Class::MOP::Class
54       - Allow attribute names to be false (while still requiring them to be
55         defined). (rafl)
56
57 0.91 Wed Jul 29, 2009
58     * Class::MOP::Method::Wrapped
59       - Fixing variable usage issues with the patch from previous
60         version, not properly using lexicals in the for
61         loops. (stevan)
62
63 0.90 Tue Jul 21, 2009
64     Japan Perl Association has sponsored Goro Fuji to improve startup
65     performance of Class::MOP and Moose. These enhancements may break
66     backwards compatibility if you're doing (or using) complex
67     metaprogramming, so, as always, test your code!
68     http://blog.perlassociation.org/2009/07/jpa-sponsors-moose-class-mop-work.html
69
70     * Class::MOP::Class
71     * XS
72       - Anonymous classes were not completely destroyed when they went
73         out of scope, leading to a memory leak. RT #47480. (Goro
74         Fuji).
75
76     * Class::MOP::Class
77       - The get_method, has_method, and add_method methods no longer
78         use get_method_map. Method objects are instantiated
79         lazily. This significantly improves Class::MOP's load
80         time. (Goro Fuji)
81
82     * All classes
83       - Inline fewer metaclass-level constructors since the ones we
84         have are perfectly fine. This reduces the number of string
85         evals. (Goro Fuji)
86
87     * Class::MOP::Method::Wrapped
88       - If a method modifier set $_, this caused the modifier to blow
89         up, because of some weird internals. (Jeremy Stashewsky)
90
91 0.89 Fri Jul 3, 2009
92     * Class::MOP::Class
93     * Class::MOP::Class::Immutable::Trait
94       - Made the Trait act like a role with a bunch of "around"
95         modifiers, rather than sticking it in the inheritance
96         hierarchy. This fixes various problems that caused with
97         metaclass compatibility, which broke Fey::ORM.
98
99     * Class::MOP::Method
100       - Allow a blessed code reference as the method body. Fixes a
101         problem interaction with MooseX::Types. (ash)
102
103     * Class::MOP::Instance
104       - add inline version of rebless_instance_structure. (doy)
105       - change inline_slot_access to use single quotes (gphat)
106
107 0.88 Tue, Jun 23, 2009
108     * Class::MOP::Class
109       - Moved the __INSTANCE__ parameter to _construct_instance from
110         Moose to here. (doy)
111       - Fixed some issues involving metaclasses of metaclasses and
112         immutability. (doy)
113
114 0.87 Sun, Jun 21, 2009
115     * Various
116       - Made sure to always local-ize $@ and $SIG{__DIE__} before
117         calling an eval. Fixes RT #45973.
118
119     * Class::MOP::Class
120       - Synced docs about immutability with the current reality (which
121         changed back in 0.82_01)
122       - Removed the immutable_transformer method, which had been
123         returning undef since 0.82_01 anyway.
124
125     * Tests
126       - Got rid of tests which needed Moose and improved testing of
127         constructor/destructor inlining warnings. Fixes RT #47119.
128
129 0.86 Tue, Jun 16, 2009
130     * Class::MOP::Class
131       - If you redefined a subroutine at runtime and then wrapped it
132         with a method modifier, the modifier could in some cases wrap
133         the original version of the subroutine. Fixes RT #46957.
134
135     * Class::MOP::Class
136       - make_immutable issues a warning instead of overriding an
137         existing DESTROY method (Dylan William Hardison). Fixes RT
138         #46854.
139
140 0.85 Sat, Jun 6, 2009
141     * Class::MOP::Attribute
142       - Allow default values to be Class::MOP::Methods.  (Florian
143         Ragwitz)
144       - Test the above. (Rhesa Rozendaal)
145       - Tweak original commit so the intent matches the accepted
146         behavior (Nicholas Perez)
147
148     * Class::MOP
149       - Localize $SIG{__DIE__} inside _try_load_one_class (Sartak)
150
151     * Class::MOP::Class
152       - Add direct_subclasses method (Sartak)
153         - Tests for subclasses and direct_subclasses (Sartak)
154       - subname is no longer used unconditionally in add_method, but
155         only if the code reference's name is '__ANON__' (nothingmuch)
156       - Add a hook for _superclasses_updated (Sartak)
157
158     * Class::MOP::Method
159       - Remove long, old warning about possibly outdated modules
160         (Sartak)
161
162 0.84 Tue, May 12, 2009
163     * Makefile.PL
164       - Depend on Text::Exception 0.27 to avoid failing tests ond old
165         versions (rafl)
166
167     * Class::MOP
168       - Made is_class_loaded a little stricter. It was reporting that
169         a class was loaded if it merely had an @ISA variable in its
170         stash. Now it checks that the @ISA var has elements in it.
171       - Deprecate in_global_destruction and subname re-exporting
172         (perigrin & Sartak)
173
174     * Class::MOP::Class
175       - Explicitly use Devel::GlobalDestruction and Sub::Name
176         (perigrin)
177
178     * Class::MOP::Package
179       - Disable prototype mismatch warnings for add_package_symbol.
180         (Florian Ragwitz)
181     * Tests
182       - Add test for finding methods from $meta->name->meta before immutable,
183         (t0m)
184
185 0.83 Mon, April 27, 2009
186     * Class::MOP::Class
187       - Fix segfault when calling get_method_map on a metaclass for an empty
188         package (doy)
189
190 0.82_02 Fri, April 24, 2009
191     * Class::MOP::Method::Inlined
192       - Don't inline if the expected method is not defined at all (happens with
193         e.g. Moose::Object::_new is the expected method due to an overridden
194         name)
195     * Tests
196       - Some tests were trying to load Class::MOP::Immutable, which
197         was removed in 0.82_01.
198
199 0.82_01 Thu, April 23, 2009
200     * Class::MOP::Immutable (and others)
201       - Refactor the immutability system to use a pre-defined class
202         for the immutable metaclass of Class::MOP::Class::Immutable::$class
203       - Rather than generating methods into this class every time, use
204         a Trait (basic mixin) to supply the cached methods
205       - Remove the hack that returns the mutable metaclass for
206         metacircularity in order to provide consistent meta-metaclasses
207         for the Moose compatibility handling code
208         (mst broke it, nothingmuch fixed it)
209
210 0.82 Mon, April 20, 2009
211     * Various
212       - The deprecation wrappers for some renamed methods were not
213         passing arguments to the new method. (nothingmuch)
214
215     * Class::MOP::Immutable
216       - Warn during immutablization if the local class provides its own
217         constructor, to parallel the warning in Moose when a superclass
218         provides its own constructor (doy)
219
220 0.81 Tue, April 7, 2009
221     * Class::MOP
222     * Class::MOP::Class
223     * Class::MOP::Instance
224     * Class::MOP::Attribute
225     * Class::MOP::Method::Accessor
226     * Class::MOP::Method::Constructor
227       - Include stack traces in the deprecation warnings introduced in
228         0.80_01. (Florian Ragwitz)
229
230     * MOP.xs
231       - Avoid c compiler warnings by declaring some unused function
232         arguments. (Florian Ragwitz)
233
234 0.80_01 Sun, April 5, 2009
235     * Makefile.PL
236       - Make sure to preserve any compiler flags already defined in
237         Config.pm. Patch by Vincent Pit. RT #44739.
238
239     * Many methods have been renamed with a leading underscore, and a
240       few have been deprecated entirely. The methods with a leading
241       underscore are consider "internals only". People writing
242       subclasses or extensions to Class::MOP should feel free to
243       override them, but they are not for "public" use.
244
245       - Class::MOP::Class
246         - construct_class_instance => _construct_class_instance (use new_object)
247         - construct_instance => _construct_instance (use new_object)
248         - check_metaclass_compatibility => _check_metaclass_compatibility
249         - create_meta_instance => _create_meta_instance (use get_meta_instance)
250         - clone_instance => _clone_instance (use clone_object)
251         - compute_all_applicable_methods is deprecated, use get_all_methods
252         - compute_all_applicable_attributes is deprecated, use get_all_attributes
253
254       - Class::MOP::Instance
255         - bless_instance_structure is deprecated and will be removed
256           in a future release
257
258       - Class::MOP::Module
259         - create has been renamed to _instantiate_module. This method
260           does not construct an object, it evals some code that
261           creates the relevant package in Perl's symbol table.
262
263       - Class::MOP::Method::Accessor
264         - initialize_body => _initialize_body (this is always called
265           when an object is constructed)
266         - /(generate_.*_method(?:_inline)?)/ => '_' . $1
267
268       - Class::MOP::Method::Constructor
269         - initialize_body => _initialize_body (this is always called
270           when an object is constructed)
271         - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
272         - attributes => _attributes
273         - meta_instance => _meta_instance
274
275 0.80 Wed, April 1, 2009
276     * Class::MOP::*
277       - Call user_class->meta in fewer places, with the eventual goal
278         of allowing the user to rename or exclude ->meta
279         altogether. Instead uses Class::MOP::class_of. (Sartak)
280
281     * Class::MOP
282       - New class_of function that should be used to retrieve a
283         metaclass. This is unlike get_metaclass_by_name in that it
284         accepts instances, not just class names. (Sartak)
285
286     * Class::MOP
287       - load_first_existing_class didn't actually load the first
288         existing class; instead, it loaded the first existing and
289         compiling class.  It now throws an error if a class exists (in
290         @INC) but fails to compile.  (hdp)
291
292     * Class::MOP
293     * Class::MOP::Class
294       - we had some semi-buggy code that purported to provide a
295         HAS_ISAREV based on whether mro had get_isarev (due to an
296         oversight, it always returned 1). Since mro and MRO::Compat
297         have always had get_isarev, HAS_ISAREV was pointless. This
298         insight simplified the subclasses method by deleting the
299         pure-perl fallback. HAS_ISAREV is now deprecated. (Sartak)
300
301 0.79 Fri, March 29, 2009
302     * No changes from 0.78_02.
303
304 0.78_02 Thu, March 26, 2009
305     * Class::MOP::Class
306     * Class::MOP::Immutable
307       - A big backwards-incompatible refactoring of the Immutable API,
308         and the make_immutable/make_mutable pieces of the Class
309         API. The core __PACKAGE__->meta->make_immutable API remains
310         the same, however, so this should only affect the most
311         guts-digging code.
312
313     * XS code
314       - The XS code used a macro, XSPROTO, that's only in 5.10.x. This
315         has been fixed to be backwards compatible with 5.8.x.
316
317     * Class::MOP::Class
318       - Add a hook for rebless_instance_away (Sartak)
319       - Use blessed instead of ref to get an instance's class name
320         in rebless_instance. (Sartak)
321
322 0.78_01 Wed, March 18, 2009
323     * Class::MOP::*
324       - Revised and reorganized all of the API documentation. All
325         classes now have (more or less) complete API documentation.
326
327     * Class::MOP::Class
328     * Class::MOP::Instance
329       - Reblessing into a package that supports overloading wasn't
330         properly adding overload magic to the object due to a bug
331         in (at least) 5.8.8. We now use $_[1] directly which seems
332         to set the magic properly. (Sartak)
333
334     * Class::MOP::Attribute
335       - The process_accessors method is now private. A public alias
336         exists (and will stick around for a few releases), but it
337         warns that calling the public method is deprecated.
338
339     * Class::MOP::Method::Generated
340       - Removed the new and _new methods, since this is an abstract
341         base class, and all existing subclasses implement their own
342         constructors.
343
344     * MOP.xs
345       - Stop is_class_loaded from thinking a class is loaded if it
346         only has an empty GV (Florian Ragwitz).
347         - Add a test for this (Yappo).
348       - Refactor get_all_package_symbols to allow short-circuiting
349         (Florian Ragwitz).
350         - Use this in is_class_loaded (Florian Ragwitz).
351       - Stop segfaulting when trying to get the name from a sub that's
352         still being compiled (Florian Ragwitz).
353         - Add tests for this (Florian Ragwitz).
354       - Prefix all public symbols with "mop_" (Florian Ragwitz).
355       - Clean up and simplify prehashing of hash keys (Florian Ragwitz).
356       - Simplify creating simple xs reader methods (Florian Ragwitz).
357       - Make everything compile with c++ compilers (Florian Ragwitz).
358       - Upgrade ppport.h from 3.14 to 3.17 (Florian Ragwitz).
359
360     * Tests
361       - Remove optional test plans for tests depending on Sub::Name as
362         we have a hard dependency on Sub::Name anyway (Florian Ragwitz).
363
364     * Makefile.PL
365       - Rebuild all c code if mop.h has changed (Florian Ragwitz)
366
367 0.78 Mon, February 23, 2009
368     * No changes from 0.77_01
369
370 0.77_01 Sun, February 22, 2009
371     * Everything
372       - This package now requires its XS components. Not using
373         Sub::Name lead to different behavior and bugginess in the pure
374         Perl version of the code. A Moose test would fail when run
375         against the pure Perl version of this code.
376
377     * Class::MOP::Instance
378       - The inline_* methods now quote attribute names themselves, and
379         don't expect to receive a quoted value.
380
381
382 0.77 Sat, February 14, 2009
383     * MOP.xs
384       - Avoid assertion errors on debugging perls in is_class_loaded
385         (Florian Ragwitz)
386
387     * Class::MOP
388       - Fixed various corner cases where is_class_loaded incorrectly
389         returned true for a class that wasn't really loaded. (Dave
390         Rolsky)
391
392     * Class::MOP::Class
393       - Add get_all_method_names (Sartak)
394       - Add a wrapped_method_metaclass attribute (Florian Ragwitz)
395
396     * Class::MOP::Package
397       - Disable deprecated get_all_package_symbols in list
398         context. (Florian Ragwitz)
399
400     * Makefile.PL
401       - Make sure we generate a BSD-compatible Makefile (Florian
402         Ragwitz)
403
404     * Class::MOP::Class
405       - The misspelled "check_metaclass_compatability" method we've
406         kept around for backwards compat_i_bility will be removed in a
407         near future release. You've been warned.
408
409 0.76 Thu, January 22, 2009
410     * Class::MOP::Method::Generated
411       - Added new private methods to support code generation, which
412         are being used by Moose and can be used by MooseX
413         authors. (mst)
414       - Generated methods are now generated with a #line directive
415         reflecting the source of the generated method. (nothingmuch)
416
417     * Class::MOP::Class
418       - Clarified documentation of methods that return
419         Class::MOP::Method objects. (doy)
420
421     * Class::MOP
422       - Clarified documentation of the metaclass cache methods. (Sartak)
423
424     * Tests
425       - Add test showing how the xs Class::MOP::is_class_loaded can
426         be made to operate differently to the pure perl version (t0m)
427
428 0.75 Wed, December 31, 2008
429     * Class::MOP::Class
430       - A class that was made immutable and then mutable could end up
431         sharing an immutable transformer object
432         (Class::MOP::Immutable) with other classes, leading to all
433         sorts of odd bugs. Reported by t0m. (Dave Rolsky)
434
435 0.74 Tue, December 25, 2008
436     * MOP.xs
437       - Add an xs implementation of Class::MOP::is_class_loaded (closes
438         RT#41862). Based on a patch by Goro Fuji. (Florian Ragwitz)
439       - Changed internals to make prehashing of hash keys easier and less
440         error-prone. (Florian Ragwitz)
441     * Class::MOP::Class
442       - Fix documentation to show that around modifiers happen on both
443         sides of the modified method. (Dave Rolsky)
444
445 0.73 Tue, December 16, 2008
446     * MOP.xs
447       - Don't use Perl_mro_meta_init. It's not part of the public perl
448         api. Fixes failures to build on Win32 (RT #41750).  (Florian
449         Ragwitz)
450     * t/082_get_code_info.t
451       - Add $^P &= ~0x200; (per Ovid's suggestion) in order to not
452         munger anonymous subs when under -d and so making the tests
453         succeed in that case.
454
455 0.72 Mon, December 8, 2008
456     * Class::MOP::Package
457       - Pass options to _new, so subclass' attributes can be
458         initialized (Sartak)
459     * Class::MOP::Method
460       - In the docs, indicate that package_name and name are required
461         when calling ->wrap (Stefan O'Rear)
462
463 0.71_02 Fri, December 5, 2008
464     * Class::MOP::Immutable
465       - Added a new attribute, inlined_constructor, which is true if
466         the constructor was inlined.
467     * Class::MOP::Package
468       - Make get_all_package_symbols return a hash ref in scalar
469         context and deprecate calling it in list context with a
470         warning. (Florian Ragwitz)
471     * MOP.xs
472       - Various improvements and refactoring, making things more robust and
473         easier to maintain. (Florian Ragwitz)
474
475 0.71_01 Wed, December 3, 2008
476     * Class::MOP::Method
477       - Add an "execute" method to invoke the body so
478         we can avoid using the coderef overload (Sartak)
479     * Class::MOP::Immutable
480       - When we memoize methods, get their results lazily
481         to remove some compile-time cost (Sartak)
482       - Small speedup from eliminating several method
483         calls (Sartak)
484     * Class::MOP::Class
485       - Some small internal tweaks to try to reduce the number of
486         times we call get_method_map when bootstrapping the MOP. This
487         might make loading Class::MOP (and Moose) a little
488         faster. (Dave Rolsky)
489       - Implemented an optional XS version of get_method_map. Mostly
490         taken from a patch by Goro Fuji (rt.cpan.org #41080), with
491         help form Florian Ragwitz. (Dave Rolsky)
492       - Make the behaviour of of get_all_package_symbols (and
493         therefore get_method_map) consistent for stub methods. Report
494         and test by Goro Fuji (rt.cpan.org #41255). (Florian Ragwitz)
495
496 0.71 Wed November 26, 2008
497     * Class::MOP::Class
498     * Class::MOP::Module
499       - Actual package creation has moved upward from
500         Class to Module so that Moose roles can share
501         the code (Sartak)
502
503 0.70_01 Mon, November 19, 2008
504     * Class::MOP
505       - Fixes for failures with blead (Florian Ragwitz)
506       - Silenced compiler warnings (Florian Ragwitz)
507
508 0.70 Fri, November 14, 2008
509     * Class::MOP
510       - Fixed an odd corner case where the XS version of
511         get_all_package_symbols could cause a segfault. This only
512         happened with inlined constants in Perl 5.10.0 (Florian
513         Ragwitz)
514
515 0.69 Fri, November 7, 2008
516     * Class::MOP::Method::Wrapped
517       - Added introspection methods for method modifiers (Dave Rolsky)
518
519
520 0.68 Fri October 24, 2008
521     * Class::MOP
522       - Make load_class require by file name instead of module name.
523         This stops confusing error messages when loading '__PACKAGE__'.
524         (Florian Ragwitz)
525       - Add load_one_class_of function to enable you to load one of a
526         list of classes, rather than having to call load_class multiple
527         times in an eval. (t0m)
528
529 0.67 Tue October 14, 2008
530     * Class::MOP::Class
531       - Call a method on the class after setting the superclass list
532         so that we can get Perl to detect cycles before MRO::Compat
533         spirals into an infinite loop (sartak)
534         - Reported by Schwern, [rt.cpan.org #39001]
535       - In create(), pass unused options on to initialize()
536         - added test for this
537
538 0.66 Sat September 20, 2008
539     !! This release has an incompatible change regarding !!
540        introspection of a class's method with Class::MOP::Class !!
541
542     * Tests and XS
543       - We (us maintainers) now run all tests with XS and then without
544         XS, which should help us catch skew between the XS/pure Perl
545         code. (Dave Rolsky)
546
547     * Class::MOP::Class
548       ! The alias_method method has been deprecated. It now simply
549         calls add_method instead. There is no distinction between
550         aliased methods and "real" methods.
551
552         This means that methods added via alias_method now show up as
553         part of the class's method list/map. This is a backwards
554         incompatible change, but seems unlikely to break any
555         code. Famous last words. (Dave Rolsky)
556
557     * Class::MOP::Class
558       - Fixed the spelling of "compatibility", but we still have a
559         "check_metaclass_compatability" method for backwards
560         compatibility.
561
562 0.65 Mon September 1, 2008
563     For those not following the series of dev releases, the changes
564     from 0.64 from 0.65 can mostly be summed up as a lot performance
565     improvements by nothingmuch, including new optional XS versions of
566     some methods. Also, Class::MOP now works _without_ any XS modules,
567     for sad systems without a compiler.
568
569     * Class::MOP::Method
570       - Added name and package_name XS accessors, and make sure all
571         the XS and Perl versions work the same way. (Dave Rolsky)
572
573     * MOP.xs
574       - The XS versions of various methods just returned undef when
575         called class methods, rather than dying like the pure Perl
576         versions. (Dave Rolsky)
577
578 0.64_07 Fri August 29, 2008
579     * Class::MOP
580       - Silenced warnings that managed to break Moose tests when XS
581         was loaded. (Dave Rolsky)
582       - Some XS versions of methods were ignored because of typos in
583         MOP.xs. (Dave Rolsky)
584
585 0.64_06 Mon August 25, 2008
586     * Class::MOP (MOP.xs)
587       - Another MS VC++ fix, cannot declare a variable in the middle
588         of a scope (Taro Nishino).
589
590 0.64_05 Sun August 24, 2008
591     * Class::MOP
592       - None of the dev releases actually loaded the XS properly, but
593         we silently fell back to the pure Perl version of the
594         code. (Dave Rolsky)
595
596     * Class::MOP (MOP.xs)
597       - Replaced some code that used functions not available on Visual
598         C++ with some Perl XS API bits (Dave Rolsky).
599
600 0.64_04 Sat August 23, 2008
601     * Class::MOP::Class
602       - Workaround a bug in 5.8.1's goto sub (nothingmuch)
603
604     * pod.t and pod_coveraget.t
605       - These are no longer shipped with the tarball because of bogus
606         failures from CPAN testers. (Dave Rolsky)
607
608 0.64_03 Thu August 21, 2008
609     * Class::MOP::Package
610       - Some (legit) code was misparsed by earlier 5.8.x
611         releases. (nothingmuch)
612
613     * Class::MOP
614       - Fix a constant in void context warning (nothingmuch)
615
616 0.64_02 Thu August 21, 2008
617     * Makefile.PL and Class::MOP
618       - Explicitly require Perl 5.8.0+ (Dave Rolsky)
619
620     * Makefile.PL
621       - Add missing prereqs that got lost in the switch away from
622         Module::Install.
623
624     * Class::MOP::Instance
625       - New method - get_all_attributes (nothingmuch)
626
627 0.64_01 Wed August 20, 2008
628     * Makefile.PL
629       - We now check to see if you have a compiler. If you don't, the
630         module installs without some XS bits, but will work the same
631         as with XS. This should make it easier to install on platforms
632         without a compiler (like Windows). (Dave Rolsky)
633
634     * many modules
635       - Perl 6 style attribute naming replaced with sane style ('methods', not
636         '%!methods'). These changes should not impact any existing API uses.
637         (nothingmuch).
638
639     * many modules
640       - Quite a number of optimizations based on profiling, including
641         allowing constructors to take hash references instead of
642         hashes, duplicating some frequently used code in XS, and
643         making constructors immutable. These changes should not impact
644         any existing API uses. (nothingmuch)
645
646     * Many modules
647       - Constructors now respect the meta attributes of their subclasses,
648         facilitating MOP extensibility. More related changes will happen in the
649         next several releases. (nothingmuch)
650
651     * Class::MOP::Class
652       - New method - get_all_methods, replaces the deprecated
653         compute_all_applicable_methods. get_all_attributes provided for
654         consistency (nothingmuch)
655       - New method - wrap_method was refactored out of get_method_map
656         (nothingmuch)
657       - New API for meta instance invalidation - invalidate_meta_instance,
658         invalidate_meta_instances, add_dependent_meta_instance,
659         remove_dependent_meta_instance, called automatically when attribute
660         definitions change and allows notification of dependent subclasses.
661         (nothingmuch)
662
663 0.64 Sun August 3, 2008
664     * Class::MOP::Immutable
665       - fixing subtle edge case in immutable when you
666         call ->meta (stevan)
667       - clean up option processing (nothingmuch)
668
669     * Class::MOP::Instance
670       - inlined initialize slot didn't match
671         non-inlined (nothingmuch)
672
673 0.63 Mon July 7, 2008
674     * Class::MOP
675       - load_class will initialize a metaclass even if
676         the class is already loaded (sartak)
677       - load_class now returns the metaclass instance
678         instead of just 1 (sartak)
679
680     * elsewhere
681       - better error messages (sartak and Dave Rolsky)
682
683 0.62 Wed June 18, 2008
684     - in is_class_loaded, recognize scalar references (as opposed to globs) in
685       the symbol table as methods (these are optimized constant subs)
686
687 0.61 Fri. June 13, 2008
688     - Okay, lets give this another try and see if PAUSE
689       recognizes it correct this time.
690
691 0.60 Thurs. Jun 12, 2008
692     - Fixed a version number issue by bumping all modules
693       to 0.60.
694
695 0.59 Thurs. Jun 12, 2008
696     !! Several fixes resulting in yet another 25-30% speedup !!
697
698     * Class::MOP::Class
699       - now stores the instance of the instance
700         metaclass to avoid needless recomputation
701         and deletes it when the cache is blown
702       - introduce methods to query Class::MOP::Class for
703         the options used to make it immutable as well as
704         the proper immutable transformer. (groditi)
705
706     * Class::MOP::Package
707       - {add, has, get, remove}_package_symbol all
708         now accept a HASH ref argument as well as the
709         string. All internal usages now use the HASH
710         ref version.
711
712     * Class::MOP
713       - MOP.xs does sanity checks on the coderef
714         to avoid a segfault
715       - is_class_loaded check now uses code that
716         was improved in Moose's ClassName type
717         check (Sartak)
718       - nonsensical (undef, empty, reference) class
719         names now throw a more direct error in
720         load_class (Sartak)
721         - tests for this and other aspects of
722           load_class (Sartak)
723
724     * Class::MOP
725       Class::MOP::Class
726       Class::MOP::Method
727       Class::MOP::Method::Wrapped
728       Class::MOP::Attribute
729       - switched usage of reftype to ref because
730         it is much faster
731
732 0.58 Thurs. May 29, 2008
733     (late night release engineering)--
734
735     - fixing the version is META.yml, no functional
736       changes in this release
737
738 0.57 Wed. May 28, 2008
739     !! Several speedups resulting in 20-25% speedups !!
740     || (thanks to konobi, groditi, mst & CataMoose) !!
741
742     * Class::MOP::Class
743       - made get_method_map use list_all_package_symbols
744         instead of manually grabbing each symbol
745       - streamlining &initialize somewhat, since it gets
746         called so much
747
748     * Class::MOP::Package
749       - made {get, has}_package_symbol not call
750         &namespace so much
751       - inlining a few calls to &name with
752         direct HASH access key access
753       - added get_all_package_symbols to fetch
754         a HASH of items based on a type filter
755         similar to list_all_package_symbols
756         - added tests for this
757
758     * Class::MOP::Method
759       Class::MOP::Method::Constructor
760       Class::MOP::Method::Generated
761       Class::MOP::Method::Accessor
762       - added more descriptive error message to help
763         keep people from wasting time tracking an error
764         that is easily fixed by upgrading.
765
766     * Class::MOP::Immutable
767       - Don't inline a destructor unless the user actually
768         needs one
769         - added tests for this
770
771 0.56 Saturday, May 24, 2008
772     * Class::MOP
773       - we now get the &check_package_cache_flag
774         function from MRO::Compat
775       - All XS based functionality now has a
776         Pure Perl alternative
777         - the CLASS_MOP_NO_XS environment variable
778           can now be used to force non-XS versions
779           to always be used
780
781     * Class::MOP::Attribute
782       - add has_read_method and has_write_method
783       - get_{read,write}_method_ref now wraps the
784         anon-sub ref in the method metaclass when
785         possible
786         - added tests for this
787
788     * Class::MOP::Immutable
789       - added the ability to "wrap" methods when
790         making the class immutable
791
792     * Class::MOP::Class
793       - now handling the edge case of ->meta->identifier
794         dying by wrapping add_package_symbol to specifically
795         allow for it to work.
796         - added tests for this
797
798     * Class::MOP::Attribute
799       Class::MOP::Class
800       Class::MOP::Immutable
801       - any time a method meta object is constructed
802         we make sure to pass the correct package and
803         method name information
804
805     * Class::MOP::Method
806       Class::MOP::Method::Wrapped
807       Class::MOP::Method::Generated
808       Class::MOP::Method::Accessor
809       Class::MOP::Method::Consructor
810       - the &wrap constructor method now requires that a
811         'package_name' and 'name' attribute are passed. This
812         is to help support the no-XS version, and will
813         throw an error if these are not supplied.
814       - all these classes are now bootstrapped properly
815         and now store the package_name and name attributes
816         correctly as well
817
818     ~ Build.PL has been removed since the
819       Module::Install support has been removed
820
821 0.55 Mon. April 28, 2008
822     - All classes now have proper C3 MRO support
823       - added MRO::Compat as a dependency to allow
824         for the C3 MRO support to Just Work in all
825         perl versions
826
827     * Class::MOP::Class
828       - rebless_instance now returns the instance
829         it has just blessed, this is mostly to
830         facilitate chaining
831       - set the attr correctly in rebless_instance
832         when it has no init_arg
833       - tweaked &linear_isa and &class_precedence_list
834         to support c3 classes.
835
836 0.54 Fri. March, 14, 2008
837     * Class::MOP
838       metaclass.pm
839       - making sure that load_class never gets
840         passed a value from @_ or $_ to squash
841         Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
842
843     * Class::MOP::Class
844       - make_{immutable,mutable} now return 1
845         (cause Sartak asked)
846       - improved error handling in ->create method
847       - rebless_instance now takes extra params which
848         will be used to populate values
849         - added tests for this
850
851     * Class::MOP::Object
852       - localizing the Data::Dumper configurations so
853         that it does not pollute others (RT #33509)
854
855     * Class::MOP::Class
856       Class::MOP::Package
857       Class::MOP::Module
858       Class::MOP::Method
859       Class::MOP::Attribute
860       - these classes no longer define their own ->meta,
861         but instead just inherit from Class::MOP::Object
862
863     * Class::MOP::Instance
864       Class::MOP::Immutable
865       - these classes now inherit from Class::MOP::Object
866
867     * t/
868       - fixed the filename length on several
869         test files so we install on VMS better
870         (RT #32295)
871       - fixed incorrect use of catdir when it
872         should be catfile (RT #32385)
873
874 0.53 Thurs. Feb. 14, 1008
875     ~~ several doc. fixes and updates ~~
876
877     * Class::MOP::Class
878       Class::MOP::Method::Constructor
879       Class::MOP::Attribute
880         - making init_arg accept an undefined value
881           to indicate that no constructor args can
882           be passed (thanks to nothingmuch)
883           - added tests for this
884         - added attribute initializer attribute (rjbs)
885
886     * Class::MOP.
887         - making this use the new init_arg => undef
888           feature instead of the silly hack from
889           before (thanks to nothingmuch)
890
891 0.52 Tues. Jan. 22, 2008
892     * Class::MOP::Class
893       - fixed bug in rebless_instance
894         (discovered by ash)
895
896     * Class::MOP::Method::Constructor
897       - removed assumptions about the existence of
898         a &meta method
899
900 0.51 Mon. Jan. 14, 2008
901     ~~~ some misc. doc. fixes ~~~
902     ~~ updated copyright dates ~~
903
904     * Class::MOP
905       - now sets the IS_RUNNING_ON_5_10
906         constant so that we can take advantage
907         of some of the nice bits of 5.10
908
909     * Class::MOP::Class
910       - uses the IS_RUNNING_ON_5_10 flag to
911         optimize the &linearized_isa method
912         and avoid the hack/check for circular
913         inheritence in &class_precedence_list
914       - added rebless_instance method (Sartak)
915         - added tests for this
916
917     * Class::MOP::Immutable
918       - the immutable class now keeps track of
919         the transformer which immutablized it
920
921     * Class::MOP::Instance
922       - added rebless_instance_structure method (Sartak)
923         - added tests for this
924
925 0.50 Fri. Dec. 21, 2007
926     * Class::MOP::Class
927       - fixed bug in immutable to make sure that
928         transformation arguments are saved
929         correctly (mst)
930         - added tests for this
931
932     * Class::MOP::Immutable
933       - fixed a bug (see above)
934
935     * Class::MOP::Attribute
936       - some doc updates
937
938 0.49 Fri. Dec. 14, 2007
939     !! Class::MOP now loads 2 x faster  !!
940     !! with XS speedups (thanks konobi) !!
941
942     * Class::MOP
943       - removed the dependency on B
944       - added two XS functions (thanks konobi)
945         - get_code_info($code) which replaces all
946           the B fiddling we were doing with
947           faster/leaner XS level fiddling
948         - check_package_cache_flag($pkg_name) which
949           returns the PL_sub_generation variable to
950           be used to help manage method caching.
951
952           NOTE:
953           In 5.10 or greater this will actually
954           use the mro::get_pkg_gen instead to give
955           even more accurate caching information.
956           blblack++ for that stuff :)
957
958     * Class::MOP::Class
959       - added the &subclasses method (thanks rlb)
960       - added the update_package_cache_flag and
961         reset_package_cache_flag which help keep
962         track of when we need to re-fetch the
963         method map.
964       - Several small improvements to take advantage
965         of the new method map caching features
966
967 0.48 Mon. Nov. 26, 2007
968     * Class::MOP::Attribute
969       - fixed get_read/write_method to handle the
970         HASH ref case, which makes the
971         get_read/write_method_ref handle it too.
972         - added more tests for this
973
974 0.47 Sat. Nov. 24, 2007
975     * Class::MOP::Attribute
976       - fixed misspelling in get_write_method_ref
977         - added more tests for this
978
979 0.46 Fri. Nov. 23, 2007
980     * Class::MOP::Class
981       - added the linearized_isa method instead of constantly
982         pruning duplicate classes (this will be even more
983         useful in the 5.10-compat version coming soon)
984
985     * Class::MOP::Attribute
986       - added the get_read_method_ref and get_write_method_ref
987         methods which allow you to retrieve a CODE ref which
988         can always be used to read or write an attribute.
989
990 0.45 Thurs. Nov. 13, 2007
991     * Class::MOP::Attribute
992       - Fix error message on confess (groditi)
993
994 0.44 Thurs. Nov. 13, 2007
995     - Apparently I didn't make dist correctly (groditi)
996
997 0.43 Thurs. Nov. 13, 2007
998     * Class::MOP
999       - Add support for the 'builder' attribute (groditi)
1000
1001     * Class::MOP::Class
1002       - optimise metaclass-already-exists check in
1003         construct_class_instance (groditi)
1004       - duplicate check into initialize to save a
1005         call through (groditi)
1006
1007     * Class::MOP::Attribute
1008       - Add support for the 'builder' attribute (groditi)
1009       - Make predicates check for the existence of a value, not whether
1010         it is defined (groditi)
1011
1012     * Class::MOP::Instance
1013       - Make predicates check for the existence of a value, not whether
1014         it is defined (groditi)
1015
1016     * Class::MOP::Method::Accessor
1017       - made this a subclass of Class::MOP::Method::Generated
1018         - removed the relevant attributes
1019
1020     * Class::MOP::Method::Constructor
1021       - fixed the cached values we had to be more sane
1022       - made this a subclass of Class::MOP::Method::Generated
1023       - fixed generated constructor so it properly handles
1024         subclasses now.
1025         - added tests for this
1026       - added the option to allow for both inlined and
1027         non-inlined constructors.
1028       - Update inlined methods for builder and predicate changes (groditi)
1029
1030     * Class::MOP::Method::Generated
1031       - added this class as an abstract base for the
1032         Class::MOP::Method::{Constructor,Accessor} classes
1033         - added tests for this
1034
1035     *t/
1036       - Alter tests (005, 014 020, 021) for new builder addition (groditi)
1037       - Tests for new predicate behavior (and corrections to old tests) (groditi)
1038
1039     *examples/
1040       - Update ArrayRef based class example to work with predicate changes
1041
1042 0.42 Mon. July 16, 2007
1043     !!! Horray for mst, he fixed it !!!
1044
1045     * Class::MOP::Package
1046       - alter symbol table handling to deal with 5.8.x and 5.9.x
1047
1048     * t/
1049       - Get rid of the crappy workaround from 0.40/41
1050
1051 0.41 Sun. July 15, 2007
1052     * t/
1053         Arghh!!! My TODO test didn't work, so I handle
1054         it manually now so that people can use this
1055         with 5.9.5/bleadperl without issue.
1056
1057 0.40 Tues, July 3, 2007
1058     * t/
1059       ~ marked a test in 003_methods.t as TODO
1060         for perl 5.9.5 (this test is irrelvant to
1061         the module functioning on 5.9.5 for the most
1062         part anyway)
1063
1064 0.39 Mon. June 18, 2007
1065     * Class::MOP::Immutable
1066       - added make_metaclass_mutable + docs (groditi)
1067       - removed unused variable
1068       - added create_immutable_transformer
1069         necessary for sane overloading of immutable behavior
1070          - tests for this (groditi)
1071
1072     * Class::MOP::Class
1073       - Immutability can now be undone,
1074         added make_mutable + tests + docs (groditi)
1075       - Massive changes to the way Immutable is done
1076         for details see comments next to make_immutable
1077         This fixes a bug where custom metaclasses broke
1078         when made immutable. We are now keeping one immutable
1079         metaclass instance per metaclass instead of just one
1080         to prevent isa hierarchy corruption. Memory use will go
1081         up, but I suspect it will be neglible.
1082          - New tests added for this behavior.  (groditi)
1083
1084 0.38 Thurs. May 31, 2007
1085     ~~ More documentation updates ~~
1086
1087     * Class::MOP::Package
1088       - we now deal with stub methods properly
1089         - added tests for this
1090       - fixed some tests failing on 5.9.5 (thanks blblack)
1091
1092     * Class::MOP::Attribute
1093       - added get_read_method and get_write_method
1094         thanks to groditi for this code, tests
1095         and docs.
1096         - added tests and POD for this
1097
1098     * Class::MOP::Class
1099       - fixed RT issue #27329, clone object now
1100         handles undef values correctly.
1101         - added tests for this
1102       - Corrected anon-class handling so that they
1103         will not get reaped when instances still
1104         exist which need to reference them. This is
1105         the correct behavior, hopefully this is an
1106         obscure enough feature that there are not too
1107         many work arounds out in the wild.
1108         - added tests for this by groditi
1109         - updated docs to explain this
1110
1111     * metaclass
1112       - load custom metaclasses automatically (thanks groditi)
1113         - added tests for this behavior
1114
1115 0.37 Sat. March 10, 2007
1116     ~~ Many, many documentation updates ~~
1117
1118     * Class::MOP
1119       - added &load_class and &is_class_loaded
1120         - added tests and docs for these
1121
1122     * Class::MOP::Attribute
1123       - default now checks the instance with defined to
1124         avoid setting off bool-overloads (found by Carl Franks)
1125
1126 0.37_002
1127     * /t
1128       - bad name in a test, causing meaningless failuress.
1129         No other changes.
1130
1131 0.37_001
1132
1133     ~~ GLOBAL CHANGES ~~
1134     - All attribute names are now consistent and follow Perl 6
1135       style (prefixed with the sigil, and ! as the twigil for
1136       private attrs). This should not affect any code, unless
1137       you broke encapsulation, in which case, it is your problem
1138       anyway.
1139
1140     !! Class::MOP::Class::Immutable has been removed
1141
1142     * Class::MOP::Method::Constructor
1143       - this has been moved out of Class::MOP::Class::Immutable
1144         and is a proper subclass of Class::MOP::Method now.
1145
1146     * Class::MOP::Class
1147       - this module now uses Class::MOP::Immutable for the
1148         immutable transformation instead of
1149         Class::MOP::Class::Immutable.
1150
1151     + Class::MOP::Immutable
1152       - this module now controls the transformation from a mutable
1153         to an immutable version of the class. Docs for this will
1154         be coming eventually.
1155
1156
1157 0.36 Sun. Nov. 5, 2006
1158     * Class::MOP::Class
1159       - added a few 'no warnings' lines to keep annoying
1160         (and meaningless) warnings from chirping during
1161         global destruction.
1162
1163     * Class::MOP
1164       - some more bootstrapping is now done on the new
1165         classes
1166
1167     * Class::MOP::Class::Immutable
1168       *** API CHANGE ***
1169       - constructor generation is now handled by
1170         the Class::MOP::Method::Constructor class
1171
1172     * Class::MOP::Method::Constructor
1173       - created this to handle constructor generation
1174         in Class::MOP::Class::Immutable
1175
1176     * Class::MOP::Attribute
1177       *** API CHANGE ***
1178       - attributes now delegate to the
1179         Class::MOP::Method::Accessor to generate
1180         accessors
1181
1182     * Class::MOP::Method::Accessor
1183       - all accessor generation functions from
1184         Class::MOP::Attribute have been moved here
1185
1186 0.35 Sat. Sept. 30, 2006
1187
1188     * scripts/class_browser.pl
1189       - initial prototype of a class browser, more
1190         on this to come. Comments and patches are
1191         very much welcome.
1192
1193     * Class::MOP
1194       - All Class::MOP::* accessors are no longer
1195         re-generated in the bootstrap, instead
1196         they are aliased from the originals
1197         - fixed tests to reflect
1198       - added Class::MOP::Method (and its subclasses)
1199         to the bootstrap
1200         - adjusted tests for this
1201       - added the Class::MOP::Instance attributes
1202         to the bootstrap
1203
1204     * Class::MOP::Method
1205       *** API CHANGE ***
1206       - methods are no longer blessed CODE refs
1207         but are actual objects which can be CODE-ified
1208         - adjusted tests to compensate
1209         - adjusted docs for this
1210
1211     * Class::MOP::Class
1212       - changed how methods are dealt with to
1213         encapsulate most of the work into the
1214         &get_method_map method
1215       - made several adjustments for the change
1216         in Class::MOP::Method
1217       - &add_attribute now checks if you are adding
1218         a duplicate name, and properly removes the
1219         old one before installing the new one
1220         - added tests for this
1221         - adjusted docs for this
1222
1223     * Class::MOP::Class::Immutable
1224       - added caching of &get_method_map
1225       - fixed issue with &get_package_symbol
1226       - cleaned up the methods that die (patch by David Wheeler)
1227
1228     * Class::MOP::Package
1229       - added filtering capabilities to
1230         &list_all_package_symbols
1231
1232 0.34 Sat. Aug. 26, 2006
1233     * Class::MOP::Class
1234       - added the %:methods attribute, which like
1235         the $:version and such just actually goes
1236         to the symbol table to get it's stuff.
1237         However, it makes the MOP more complete.
1238      ** API CHANGE **
1239       - The &create method now requires that all
1240         but the package name now is passed in as
1241         named parameters. See docs for more info.
1242         - updated docs and tests for this
1243
1244     * Class::MOP::Object
1245       - added &dump method to easily Data::Dumper
1246         an object
1247
1248     * Class::MOP
1249       - cleaned up the initialization of attributes
1250         which do not store things in the instance
1251       - added the %:methods attribute definition to
1252         the bootstrap
1253
1254     ~ lots of misc. test cleanup
1255
1256 0.33 Sat. Aug. 19, 2006
1257     * Class::MOP::Class
1258       - moved the metaclass cache out of here
1259         and it is now in Class::MOP itself.
1260
1261     * Class::MOP
1262       - moved all the metaclass cache stuff here
1263         - fixed all tests for this
1264
1265     * Class::MOP::Attribute
1266       - reference values (other than CODE refs)
1267         are no longer allowed for defaults
1268         - added tests for this
1269
1270     * Class::MOP::Package
1271       - fixed an issue with perl 5.8.1 and how it deals
1272         with symbol tables. The namespace hash is now
1273         always reloaded from the symbol table.
1274
1275     ~ lots of misc. documentation cleanup
1276
1277 0.32 Sat. Aug. 12, 2006
1278     + added Class::MOP::Object so that the
1279       metamodel is more complete (and closer
1280       to what Perl 6 will probably be).
1281
1282     * Class::MOP::Package
1283       - refactored entire class, this is now
1284         the primary gateway between the metaclass
1285         and the Perl 5 symbol table
1286         - added many tests for this
1287       - this class is now a subclass of
1288         Class::MOP::Object
1289         - added some tests to reflect this
1290
1291     * Class::MOP::Class
1292       - refactored all symbol table access to
1293         use Class::MOP::Package methods instead
1294
1295     * Class::MOP::Module
1296       - adding the $:version attribute in the bootstrap
1297         so that Module has a version as an attribute
1298         - see comment in Class::MOP for details
1299       - added the $:authority attribute to this module
1300         as well as an &identifier method, to bring us
1301         ever closer to Perl 6 goodness
1302         - I have added $AUTHORITY to all the modules
1303         - added tests for this
1304
1305     * Class::MOP::Instance
1306       - added &deinitialize_slot for removing slots
1307         from an instance
1308         - added tests for this
1309
1310     * Class::MOP::Attribute
1311       - added support for &deinitialize_slot for removing
1312         slots from an instance
1313         - added tests for this
1314
1315 0.31 Sat. July 15, 2006
1316
1317     * Class::MOP::Class
1318       - added &find_method_by_name to locate a method
1319         anywhere within the class hierarchy
1320
1321     * Class::MOP::Attribute
1322       - added &set_value and &get_value for getting
1323         the value of the attribute for a particular
1324         instance.
1325
1326 0.30 Wed. July 5, 2006
1327     ---------------------------------------
1328     This is the first version of Class::MOP
1329     to introduce the immutable features which
1330     will be used for optimizating the MOP.
1331     This support should still be considered
1332     experimental, but moving towards stability.
1333     ---------------------------------------
1334
1335     * Created Class::MOP::Class::Immutable
1336
1337     * Created the Class::MOP::Package and
1338       Class::MOP::Module classes to more
1339       closely conform to Perl 6's meta-model
1340
1341     * Class::MOP::Class
1342       - now inherits from Class::MOP::Module
1343       - several methods moved to ::Module and
1344         ::Package and now inherited
1345         - added tests for this
1346
1347     * Class::MOP::Instance
1348       - added an is_inlinable method to allow other
1349         classes to check before they attempt to optimize.
1350       - added an inline_create_instance to inline
1351         instance creation (of course)
1352
1353     ** API CHANGE **
1354       - the Class::MOP::Class::*_package_variable
1355         methods are all now methods of Class::MOP::Package
1356         and called *_package_symbol instead. This is
1357         because they are now more general purpose symbol
1358         table manipulation methods.
1359
1360 0.29_02 Thurs. June 22, 2006
1361     ++ DEVELOPER RELEASE ++
1362     * Class::MOP::Class
1363       - small change in &create so that it behaves
1364         properly when inherited
1365       - small fix to &clone_instance
1366
1367 0.29_01 Fri. May 12, 2006
1368     ++ DEVELOPER RELEASE ++
1369       - This release works in combination with
1370         Moose 0.09_01, it is a developer release
1371         because it introduces a new instance
1372         sub-protocol and has not yet been
1373         optimized.
1374
1375     * Class::MOP::Class
1376       - anon-classes are now properly garbage collected
1377         - added tests for this
1378       - improved method modifier wrapping
1379
1380     * Class::MOP::Instance
1381       - added new instance protocol
1382         - added tests for this
1383       - changed all relevant modules and examples
1384         - Class::MOP::Class
1385         - Class::MOP::Attribute
1386         - examples/*
1387
1388     * metaclass
1389       - you no longer need to specify the metaclass
1390         itself, if it is not there, Class::MOP::Class
1391         is just assumed
1392         - updated tests for this
1393
1394     * examples/
1395       - added ArrayBasedStorage example to show
1396         instance storage using ARRAY refs instead of
1397         HASH refs.
1398         - added tests for this
1399       - InsideOutClass is totally revised using the
1400         new instance protocol
1401         - added more tests for this
1402
1403 0.26 Mon. April 24, 2006
1404     * Class::MOP::Class
1405       - added find_attribute_by_name method
1406         - added tests and docs for this
1407       - some small optimizations
1408
1409     * Class::MOP::Attribute
1410       - some small optimizations
1411
1412 0.25 Thurs. April 20, 2006
1413     * Class::MOP::Class
1414       - added create_anon_class for creating anonymous classes
1415         - added tests for this
1416       - added get_all_metaclasses, get_all_metaclass_names
1417         and get_all_metaclass_instances method to allow
1418         access to all the cached metaclass objects.
1419       - attribute slot initialization is now the responsibility
1420         of the attribute itself, and construct_instance now
1421         delegates appropriately
1422
1423     * Class::MOP::Attribute
1424       - attribute slot initialization is now the responsibility
1425         of the attribute itself, so we added a method for it
1426         called initialize_instance_slot
1427
1428     * examples/
1429       - adjusted all the examples to use the new attribute
1430         initialize_instance_slot method
1431
1432 0.24 Tues. April 11, 2006
1433     * Class::MOP::Class
1434       - cleaned up how the before/after/around method
1435         modifiers get named with Sub::Name
1436
1437 0.23 Thurs. March 30, 2006
1438         * Class::MOP::Class
1439           - fixed the way attribute defaults are handled
1440             during instance construction (bug found by chansen)
1441
1442         * Class::MOP::Attribute
1443           - read-only accessors ('reader') will now die if
1444             passed more than one argument (attempting to write
1445             to them basically)
1446               - added tests for this
1447               - adjusted all /example files to comply
1448
1449 0.22 Mon. March 20, 2006
1450     * Class::MOP::Class
1451       - localized $@ in the *_package_variable functions
1452         because otherwise, it does ugly things in Moose.
1453           - added test case for this
1454
1455 0.21 Wed. March 15, 2006
1456     * Class::MOP::Class
1457       - fixed issue where metaclasses are reaped from
1458         our cache in global destruction, and so are not
1459         available in DESTORY calls
1460
1461 0.20 Thurs. March 2, 2006
1462     - removed the dependency for Clone since
1463       we no longer to deep-cloning by default.
1464
1465     * Class::MOP::Method
1466       - added &package_name, &name and
1467         &fully_qualified_name methods, some of
1468         which were formerly private subs in
1469         Class::MOP::Class
1470
1471     * Class::MOP::Method::Wrapped
1472       - allows for a method to be wrapped with
1473         before, after and around modifiers
1474           - added tests and docs for this feature
1475
1476     * Class::MOP::Class
1477       - improved &get_package_symbol
1478           - &version and &superclasses now use it
1479       - methods are now blessed into Class::MOP::Method
1480         whenever possible
1481       - added methods to install CLOS-style method modifiers
1482          - &add_before_method_modifier
1483          - &add_after_method_modifier
1484          - &add_around_method_modifier
1485              - added tests and docs for these
1486       - added &find_next_method_by_name which finds the
1487         equivalent of SUPER::method_name
1488
1489 0.12 Thurs. Feb 23, 2006
1490     - reduced the dependency on B, no need to always
1491       have the latest
1492
1493     * examples/
1494       - added docs to the C3 method dispatch order test
1495       - fixed missing Algorithm::C3 dependency by making
1496         the test skip if it is not installed
1497
1498 0.11 Mon Feb. 20, 2006
1499     * examples/
1500       - added example of changing method dispatch order to C3
1501
1502     * Class::MOP::Class
1503       - changed how clone_instance behaves, it now only does a
1504         shallow clone (see docs for more details)
1505         - added docs and tests
1506
1507 0.10 Tues Feb. 14, 2006
1508     ** This release was mostly about writing more tests and
1509        cleaning out old and dusty code, the MOP should now
1510        be considered "ready to use".
1511
1512     - adding more tests to get coverage up a little higher,
1513       mostly testing errors and edge cases.
1514       - test coverage is now at 99%
1515
1516     * Class::MOP
1517       - no longer optionally exports to UNIVERSAL::meta or
1518         creates a custom metaclass generator, use the
1519         metaclass pragma instead.
1520
1521     * Class::MOP::Class
1522       - fixed a number of minor issues which came up in the
1523         error/edge-case tests
1524
1525     * Class::MOP::Attribute
1526       - fixed a number of minor issues which came up in the
1527         error/edge-case tests
1528
1529     * examples/
1530       - fixing the AttributesWithHistory example, it was broken.
1531
1532 0.06 Thurs Feb. 9, 2006
1533     * metaclass
1534       - adding new metaclass pragma to make setting up the
1535         metaclass a little more straightforward
1536
1537     * Class::MOP
1538       - clean up bootstrapping to include more complete
1539         attribute definitions for Class::MOP::Class and
1540         Class::MOP::Attribute (accessors, readers, writers,
1541         etc.) ... it is redundant, but is useful meta-info
1542         to have around.
1543
1544     * Class::MOP::Class
1545       - fixing minor meta-circularity issue with &meta, it
1546         is now more useful for subclasses
1547       - added &get_attribute_map as an accessor for the
1548         hash of attribute meta objects
1549       - &compute_all_applicable_attributes now just returns
1550         the attribute meta-object, rather than the HASH ref
1551         since all the same info can be gotten from the
1552         attribute meta-object itself
1553           - updated docs & tests to reflect
1554       - added &clone_instance method which does a deep clone
1555         of the instance structure created by &construct_instance
1556           - added docs & tests for this
1557           - added Clone as a dependency
1558       - added &new_object and &clone_object convience methods to
1559         return blessed new or cloned instances
1560           - they handle Class::MOP::Class singletons correctly too
1561           - added docs & tests for this
1562       - cleaned up the &constuct_class_instance so that it behaves
1563         more like &construct_instance (and managed the singletons too)
1564       - added the &check_metaclass_compatibility method to make sure
1565         that metaclasses are upward and downward compatible.
1566           - added tests and docs for this
1567
1568     * examples/
1569       - adjusting code to use the &Class::MOP::Class::meta
1570         fix detailed above
1571       - adjusting code to use the metaclass pragma
1572
1573 0.05 Sat Feb. 4, 2006
1574     * Class::MOP::Class
1575       - added the &attribute_metaclass and &method_metaclass
1576         attributes which contain a metaclass name to use for
1577         attributes/methods respectively
1578
1579     * Class::MOP
1580       - bootstrap additional attributes for Class::MOP::Class
1581
1582     * examples/
1583       - adjusted the example code and tests to use the new
1584         &attribute_metaclass feature of Class::MOP::Class
1585       - added new example:
1586         - LazyClass
1587
1588 0.04 Fri Feb. 3, 2006
1589     * Class::MOP::Class
1590       - some documentation suggestions from #perl6
1591
1592     * Class::MOP::Attribute
1593       - improved error messages
1594
1595     * examples/
1596       - added new examples:
1597         - AttributesWithHistory
1598         - ClassEncapsultedAttributes
1599
1600 0.03 Fri Feb. 3, 2006
1601     - converted to Module::Build instead of EU::MM
1602
1603     * Class::MOP::Attribute
1604       - refactored method generation code
1605       - attributes are now associated with class directly
1606
1607     * examples/
1608       - refactored the InsideOut example to take advantage
1609         of the Class::MOP::Attribute refactoring
1610       - changed example files to .pod files and hide thier
1611         package names from PAUSE (I don't want to own these
1612         namespaces really, they are just examples)
1613
1614 0.02 Thurs Feb. 2, 2006
1615     - moving examples from t/lib/* to examples/*
1616         - adding POD documentation to the examples
1617
1618 0.01 Thurs Feb. 2, 2006
1619     - Initial release