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