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