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