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