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