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