Rebuild all c code if mop.h changed.
[gitmo/Class-MOP.git] / Changes
1 Revision history for Perl extension Class-MOP.
2
3 0.79
4     * Class::MOP::Class
5     * Class::MOP::Instance
6       - Reblessing into a package that supports overloading wasn't
7         properly adding overload magic to the object due to a bug
8         in (at least) 5.8.8. We now use $_[1] directly which seems
9         to set the magic properly. (Sartak)
10
11     * MOP.xs
12       - Stop is_class_loaded from thinking a class is loaded if it
13         only has an empty GV (Florian Ragwitz).
14         - Add a test for this (Yappo).
15       - Refactor get_all_package_symbols to allow short-circuiting
16         (Florian Ragwitz).
17         - Use this in is_class_loaded (Florian Ragwitz).
18       - Stop segfaulting when trying to get the name from a sub that's
19         still being compiled (Florian Ragwitz).
20         - Add tests for this (Florian Ragwitz).
21       - Prefix all public symbols with "mop_" (Florian Ragwitz).
22
23     * Tests
24       - Remove optional test plans for tests depending on Sub::Name as
25         we have a hard dependency on Sub::Name anyway (Florian Ragwitz).
26
27 0.78 Mon, February 23, 2009
28     * No changes from 0.77_01
29
30 0.77_01 Sun, February 22, 2009
31     * Everything
32       - This package now requires its XS components. Not using
33         Sub::Name lead to different behavior and bugginess in the pure
34         Perl version of the code. A Moose test would fail when run
35         against the pure Perl version of this code.
36
37     * Class::MOP::Instance
38       - The inline_* methods now quote attribute names themselves, and
39         don't expect to receive a quoted value.
40
41
42 0.77 Sat, February 14, 2009
43     * MOP.xs
44       - Avoid assertion errors on debugging perls in is_class_loaded
45         (Florian Ragwitz)
46
47     * Class::MOP
48       - Fixed various corner cases where is_class_loaded incorrectly
49         returned true for a class that wasn't really loaded. (Dave
50         Rolsky)
51
52     * Class::MOP::Class
53       - Add get_all_method_names (Sartak)
54       - Add a wrapped_method_metaclass attribute (Florian Ragwitz)
55
56     * Class::MOP::Package
57       - Disable deprecated get_all_package_symbols in list
58         context. (Florian Ragwitz)
59
60     * Makefile.PL
61       - Make sure we generate a BSD-compatible Makefile (Florian
62         Ragwitz)
63
64     * Class::MOP::Class
65       - The misspelled "check_metaclass_compatability" method we've
66         kept around for backwards compat_i_bility will be removed in a
67         near future release. You've been warned.
68
69 0.76 Thu, January 22, 2009
70     * Class::MOP::Method::Generated
71       - Added new private methods to support code generation, which
72         are being used by Moose and can be used by MooseX
73         authors. (mst)
74       - Generated methods are now generated with a #line directive
75         reflecting the source of the generated method. (nothingmuch)
76
77     * Class::MOP::Class
78       - Clarified documentation of methods that return
79         Class::MOP::Method objects. (doy)
80
81     * Class::MOP
82       - Clarified documentation of the metaclass cache methods. (Sartak)
83
84     * Tests
85       - Add test showing how the xs Class::MOP::is_class_loaded can
86         be made to operate differently to the pure perl version (t0m)
87
88 0.75 Wed, December 31, 2008
89     * Class::MOP::Class
90       - A class that was made immutable and then mutable could end up
91         sharing an immutable transformer object
92         (Class::MOP::Immutable) with other classes, leading to all
93         sorts of odd bugs. Reported by t0m. (Dave Rolsky)
94
95 0.74 Tue, December 25, 2008
96     * MOP.xs
97       - Add an xs implementation of Class::MOP::is_class_loaded (closes
98         RT#41862). Based on a patch by Goro Fuji. (Florian Ragwitz)
99       - Changed internals to make prehashing of hash keys easier and less
100         error-prone. (Florian Ragwitz)
101     * Class::MOP::Class
102       - Fix documentation to show that around modifiers happen on both
103         sides of the modified method. (Dave Rolsky)
104
105 0.73 Tue, December 16, 2008
106     * MOP.xs
107       - Don't use Perl_mro_meta_init. It's not part of the public perl
108         api. Fixes failures to build on Win32 (RT #41750).  (Florian
109         Ragwitz)
110     * t/082_get_code_info.t
111       - Add $^P &= ~0x200; (per Ovid's suggestion) in order to not
112         munger anonymous subs when under -d and so making the tests
113         succeed in that case.
114
115 0.72 Mon, December 8, 2008
116     * Class::MOP::Package
117       - Pass options to _new, so subclass' attributes can be
118         initialized (Sartak)
119     * Class::MOP::Method
120       - In the docs, indicate that package_name and name are required
121         when calling ->wrap (Stefan O'Rear)
122
123 0.71_02 Fri, December 5, 2008
124     * Class::MOP::Immutable
125       - Added a new attribute, inlined_constructor, which is true if
126         the constructor was inlined.
127     * Class::MOP::Package
128       - Make get_all_package_symbols return a hash ref in scalar
129         context and deprecate calling it in list context with a
130         warning. (Florian Ragwitz)
131     * MOP.xs
132       - Various improvements and refactoring, making things more robust and
133         easier to maintain. (Florian Ragwitz)
134
135 0.71_01 Wed, December 3, 2008
136     * Class::MOP::Method
137       - Add an "execute" method to invoke the body so
138         we can avoid using the coderef overload (Sartak)
139     * Class::MOP::Immutable
140       - When we memoize methods, get their results lazily
141         to remove some compile-time cost (Sartak)
142       - Small speedup from eliminating several method
143         calls (Sartak)
144     * Class::MOP::Class
145       - Some small internal tweaks to try to reduce the number of
146         times we call get_method_map when bootstrapping the MOP. This
147         might make loading Class::MOP (and Moose) a little
148         faster. (Dave Rolsky)
149       - Implemented an optional XS version of get_method_map. Mostly
150         taken from a patch by Goro Fuji (rt.cpan.org #41080), with
151         help form Florian Ragwitz. (Dave Rolsky)
152       - Make the behaviour of of get_all_package_symbols (and
153         therefore get_method_map) consistent for stub methods. Report
154         and test by Goro Fuji (rt.cpan.org #41255). (Florian Ragwitz)
155
156 0.71 Wed November 26, 2008
157     * Class::MOP::Class
158     * Class::MOP::Module
159       - Actual package creation has moved upward from
160         Class to Module so that Moose roles can share
161         the code (Sartak)
162
163 0.70_01 Mon, November 19, 2008
164     * Class::MOP
165       - Fixes for failures with blead (Florian Ragwitz)
166       - Silenced compiler warnings (Florian Ragwitz)
167
168 0.70 Fri, November 14, 2008
169     * Class::MOP
170       - Fixed an odd corner case where the XS version of
171         get_all_package_symbols could cause a segfault. This only
172         happened with inlined constants in Perl 5.10.0 (Florian
173         Ragwitz)
174
175 0.69 Fri, November 7, 2008
176     * Class::MOP::Method::Wrapped
177       - Added introspection methods for method modifiers (Dave Rolsky)
178
179
180 0.68 Fri October 24, 2008
181     * Class::MOP
182       - Make load_class require by file name instead of module name.
183         This stops confusing error messages when loading '__PACKAGE__'.
184         (Florian Ragwitz)
185       - Add load_one_class_of function to enable you to load one of a
186         list of classes, rather than having to call load_class multiple
187         times in an eval. (t0m)
188
189 0.67 Tue October 14, 2008
190     * Class::MOP::Class
191       - Call a method on the class after setting the superclass list
192         so that we can get Perl to detect cycles before MRO::Compat
193         spirals into an infinite loop (sartak)
194         - Reported by Schwern, [rt.cpan.org #39001]
195       - In create(), pass unused options on to initialize()
196         - added test for this
197
198 0.66 Sat September 20, 2008
199     !! This release has an incompatible change regarding !!
200        introspection of a class's method with Class::MOP::Class !!
201
202     * Tests and XS
203       - We (us maintainers) now run all tests with XS and then without
204         XS, which should help us catch skew between the XS/pure Perl
205         code. (Dave Rolsky)
206
207     * Class::MOP::Class
208       ! The alias_method method has been deprecated. It now simply
209         calls add_method instead. There is no distinction between
210         aliased methods and "real" methods.
211
212         This means that methods added via alias_method now show up as
213         part of the class's method list/map. This is a backwards
214         incompatible change, but seems unlikely to break any
215         code. Famous last words. (Dave Rolsky)
216
217     * Class::MOP::Class
218       - Fixed the spelling of "compatibility", but we still have a
219         "check_metaclass_compatability" method for backwards
220         compatibility.
221
222 0.65 Mon September 1, 2008
223     For those not following the series of dev releases, the changes
224     from 0.64 from 0.65 can mostly be summed up as a lot performance
225     improvements by nothingmuch, including new optional XS versions of
226     some methods. Also, Class::MOP now works _without_ any XS modules,
227     for sad systems without a compiler.
228
229     * Class::MOP::Method
230       - Added name and package_name XS accessors, and make sure all
231         the XS and Perl versions work the same way. (Dave Rolsky)
232
233     * MOP.xs
234       - The XS versions of various methods just returned undef when
235         called class methods, rather than dying like the pure Perl
236         versions. (Dave Rolsky)
237
238 0.64_07 Fri August 29, 2008
239     * Class::MOP
240       - Silenced warnings that managed to break Moose tests when XS
241         was loaded. (Dave Rolsky)
242       - Some XS versions of methods were ignored because of typos in
243         MOP.xs. (Dave Rolsky)
244
245 0.64_06 Mon August 25, 2008
246     * Class::MOP (MOP.xs)
247       - Another MS VC++ fix, cannot declare a variable in the middle
248         of a scope (Taro Nishino).
249
250 0.64_05 Sun August 24, 2008
251     * Class::MOP
252       - None of the dev releases actually loaded the XS properly, but
253         we silently fell back to the pure Perl version of the
254         code. (Dave Rolsky)
255
256     * Class::MOP (MOP.xs)
257       - Replaced some code that used functions not available on Visual
258         C++ with some Perl XS API bits (Dave Rolsky).
259
260 0.64_04 Sat August 23, 2008
261     * Class::MOP::Class
262       - Workaround a bug in 5.8.1's goto sub (nothingmuch)
263
264     * pod.t and pod_coveraget.t
265       - These are no longer shipped with the tarball because of bogus
266         failures from CPAN testers. (Dave Rolsky)
267
268 0.64_03 Thu August 21, 2008
269     * Class::MOP::Package
270       - Some (legit) code was misparsed by earlier 5.8.x
271         releases. (nothingmuch)
272
273     * Class::MOP
274       - Fix a constant in void context warning (nothingmuch)
275
276 0.64_02 Thu August 21, 2008
277     * Makefile.PL and Class::MOP
278       - Explicitly require Perl 5.8.0+ (Dave Rolsky)
279
280     * Makefile.PL
281       - Add missing prereqs that got lost in the switch away from
282         Module::Install.
283
284     * Class::MOP::Instance
285       - New method - get_all_attributes (nothingmuch)
286
287 0.64_01 Wed August 20, 2008
288     * Makefile.PL
289       - We now check to see if you have a compiler. If you don't, the
290         module installs without some XS bits, but will work the same
291         as with XS. This should make it easier to install on platforms
292         without a compiler (like Windows). (Dave Rolsky)
293
294     * many modules
295       - Perl 6 style attribute naming replaced with sane style ('methods', not
296         '%!methods'). These changes should not impact any existing API uses.
297         (nothingmuch).
298
299     * many modules
300       - Quite a number of optimizations based on profiling, including
301         allowing constructors to take hash references instead of
302         hashes, duplicating some frequently used code in XS, and
303         making constructors immutable. These changes should not impact
304         any existing API uses. (nothingmuch)
305
306     * Many modules
307       - Constructors now respect the meta attributes of their subclasses,
308         facilitating MOP extensibility. More related changes will happen in the
309         next several releases. (nothingmuch)
310
311     * Class::MOP::Class
312       - New method - get_all_methods, replaces the deprecated
313         compute_all_applicable_methods. get_all_attributes provided for
314         consistency (nothingmuch)
315       - New method - wrap_method was refactored out of get_method_map
316         (nothingmuch)
317       - New API for meta instance invalidation - invalidate_meta_instance,
318         invalidate_meta_instances, add_dependent_meta_instance,
319         remove_dependent_meta_instance, called automatically when attribute
320         definitions change and allows notification of dependent subclasses.
321         (nothingmuch)
322
323 0.64 Sun August 3, 2008
324     * Class::MOP::Immutable
325       - fixing subtle edge case in immutable when you
326         call ->meta (stevan)
327       - clean up option processing (nothingmuch)
328
329     * Class::MOP::Instance
330       - inlined initialize slot didn't match
331         non-inlined (nothingmuch)
332
333 0.63 Mon July 7, 2008
334     * Class::MOP
335       - load_class will initialize a metaclass even if
336         the class is already loaded (sartak)
337       - load_class now returns the metaclass instance
338         instead of just 1 (sartak)
339
340     * elsewhere
341       - better error messages (sartak and Dave Rolsky)
342
343 0.62 Wed June 18, 2008
344     - in is_class_loaded, recognize scalar references (as opposed to globs) in
345       the symbol table as methods (these are optimized constant subs)
346
347 0.61 Fri. June 13, 2008
348     - Okay, lets give this another try and see if PAUSE 
349       recognizes it correct this time.
350
351 0.60 Thurs. Jun 12, 2008
352     - Fixed a version number issue by bumping all modules
353       to 0.60.
354
355 0.59 Thurs. Jun 12, 2008
356     !! Several fixes resulting in yet another 25-30% speedup !!
357
358     * Class::MOP::Class
359       - now stores the instance of the instance 
360         metaclass to avoid needless recomputation
361         and deletes it when the cache is blown
362       - introduce methods to query Class::MOP::Class for 
363         the options used to make it immutable as well as
364         the proper immutable transformer. (groditi)        
365
366     * Class::MOP::Package
367       - {add, has, get, remove}_package_symbol all 
368         now accept a HASH ref argument as well as the
369         string. All internal usages now use the HASH
370         ref version.
371
372     * Class::MOP
373       - MOP.xs does sanity checks on the coderef 
374         to avoid a segfault
375       - is_class_loaded check now uses code that
376         was improved in Moose's ClassName type
377         check (Sartak)
378       - nonsensical (undef, empty, reference) class
379         names now throw a more direct error in
380         load_class (Sartak)
381         - tests for this and other aspects of
382           load_class (Sartak)
383     
384     * Class::MOP
385       Class::MOP::Class      
386       Class::MOP::Method
387       Class::MOP::Method::Wrapped
388       Class::MOP::Attribute
389       - switched usage of reftype to ref because 
390         it is much faster
391
392 0.58 Thurs. May 29, 2008
393     (late night release engineering)--
394     
395     - fixing the version is META.yml, no functional 
396       changes in this release
397
398 0.57 Wed. May 28, 2008
399     !! Several speedups resulting in 20-25% speedups !!
400     || (thanks to konobi, groditi, mst & CataMoose) !!
401
402     * Class::MOP::Class
403       - made get_method_map use list_all_package_symbols
404         instead of manually grabbing each symbol
405       - streamlining &initialize somewhat, since it gets
406         called so much
407         
408     * Class::MOP::Package
409       - made {get, has}_package_symbol not call 
410         &namespace so much 
411       - inlining a few calls to &name with 
412         direct HASH access key access
413       - added get_all_package_symbols to fetch 
414         a HASH of items based on a type filter
415         similar to list_all_package_symbols
416         - added tests for this
417
418     * Class::MOP::Method
419       Class::MOP::Method::Constructor
420       Class::MOP::Method::Generated
421       Class::MOP::Method::Accessor
422       - added more descriptive error message to help 
423         keep people from wasting time tracking an error
424         that is easily fixed by upgrading.
425
426     * Class::MOP::Immutable
427       - Don't inline a destructor unless the user actually
428         needs one
429         - added tests for this
430
431 0.56 Saturday, May 24, 2008
432     * Class::MOP
433       - we now get the &check_package_cache_flag
434         function from MRO::Compat
435       - All XS based functionality now has a 
436         Pure Perl alternative
437         - the CLASS_MOP_NO_XS environment variable
438           can now be used to force non-XS versions
439           to always be used
440
441     * Class::MOP::Attribute
442       - add has_read_method and has_write_method
443       - get_{read,write}_method_ref now wraps the
444         anon-sub ref in the method metaclass when
445         possible
446         - added tests for this
447
448     * Class::MOP::Immutable
449       - added the ability to "wrap" methods when
450         making the class immutable
451
452     * Class::MOP::Class
453       - now handling the edge case of ->meta->identifier
454         dying by wrapping add_package_symbol to specifically
455         allow for it to work.
456         - added tests for this
457
458     * Class::MOP::Attribute
459       Class::MOP::Class
460       Class::MOP::Immutable
461       - any time a method meta object is constructed
462         we make sure to pass the correct package and
463         method name information
464
465     * Class::MOP::Method
466       Class::MOP::Method::Wrapped
467       Class::MOP::Method::Generated
468       Class::MOP::Method::Accessor
469       Class::MOP::Method::Consructor
470       - the &wrap constructor method now requires that a 
471         'package_name' and 'name' attribute are passed. This 
472         is to help support the no-XS version, and will 
473         throw an error if these are not supplied.      
474       - all these classes are now bootstrapped properly
475         and now store the package_name and name attributes
476         correctly as well        
477
478     ~ Build.PL has been removed since the 
479       Module::Install support has been removed
480
481 0.55 Mon. April 28, 2008
482     - All classes now have proper C3 MRO support
483       - added MRO::Compat as a dependency to allow
484         for the C3 MRO support to Just Work in all
485         perl versions
486
487     * Class::MOP::Class
488       - rebless_instance now returns the instance
489         it has just blessed, this is mostly to
490         facilitate chaining
491       - set the attr correctly in rebless_instance
492         when it has no init_arg
493       - tweaked &linear_isa and &class_precedence_list
494         to support c3 classes.
495
496 0.54 Fri. March, 14, 2008
497     * Class::MOP
498       metaclass.pm
499       - making sure that load_class never gets
500         passed a value from @_ or $_ to squash
501         Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
502
503     * Class::MOP::Class
504       - make_{immutable,mutable} now return 1
505         (cause Sartak asked)
506       - improved error handling in ->create method
507       - rebless_instance now takes extra params which
508         will be used to populate values
509         - added tests for this
510
511     * Class::MOP::Object
512       - localizing the Data::Dumper configurations so
513         that it does not pollute others (RT #33509)
514
515     * Class::MOP::Class
516       Class::MOP::Package
517       Class::MOP::Module
518       Class::MOP::Method
519       Class::MOP::Attribute
520       - these classes no longer define their own ->meta,
521         but instead just inherit from Class::MOP::Object
522
523     * Class::MOP::Instance
524       Class::MOP::Immutable
525       - these classes now inherit from Class::MOP::Object
526
527     * t/
528       - fixed the filename length on several
529         test files so we install on VMS better
530         (RT #32295)
531       - fixed incorrect use of catdir when it
532         should be catfile (RT #32385)
533
534 0.53 Thurs. Feb. 14, 1008
535     ~~ several doc. fixes and updates ~~
536
537     * Class::MOP::Class
538       Class::MOP::Method::Constructor
539       Class::MOP::Attribute
540         - making init_arg accept an undefined value
541           to indicate that no constructor args can
542           be passed (thanks to nothingmuch)
543           - added tests for this
544         - added attribute initializer attribute (rjbs)
545
546     * Class::MOP.
547         - making this use the new init_arg => undef
548           feature instead of the silly hack from
549           before (thanks to nothingmuch)
550
551 0.52 Tues. Jan. 22, 2008
552     * Class::MOP::Class
553       - fixed bug in rebless_instance
554         (discovered by ash)
555
556     * Class::MOP::Method::Constructor
557       - removed assumptions about the existence of
558         a &meta method
559
560 0.51 Mon. Jan. 14, 2008
561     ~~~ some misc. doc. fixes ~~~
562     ~~ updated copyright dates ~~
563
564     * Class::MOP
565       - now sets the IS_RUNNING_ON_5_10
566         constant so that we can take advantage
567         of some of the nice bits of 5.10
568
569     * Class::MOP::Class
570       - uses the IS_RUNNING_ON_5_10 flag to
571         optimize the &linearized_isa method
572         and avoid the hack/check for circular
573         inheritence in &class_precedence_list
574       - added rebless_instance method (Sartak)
575         - added tests for this
576
577     * Class::MOP::Immutable
578       - the immutable class now keeps track of
579         the transformer which immutablized it
580
581     * Class::MOP::Instance
582       - added rebless_instance_structure method (Sartak)
583         - added tests for this
584
585 0.50 Fri. Dec. 21, 2007
586     * Class::MOP::Class
587       - fixed bug in immutable to make sure that
588         transformation arguments are saved
589         correctly (mst)
590         - added tests for this
591
592     * Class::MOP::Immutable
593       - fixed a bug (see above)
594
595     * Class::MOP::Attribute
596       - some doc updates
597
598 0.49 Fri. Dec. 14, 2007
599     !! Class::MOP now loads 2 x faster  !!
600     !! with XS speedups (thanks konobi) !!
601
602     * Class::MOP
603       - removed the dependency on B
604       - added two XS functions (thanks konobi)
605         - get_code_info($code) which replaces all
606           the B fiddling we were doing with
607           faster/leaner XS level fiddling
608         - check_package_cache_flag($pkg_name) which
609           returns the PL_sub_generation variable to
610           be used to help manage method caching.
611
612           NOTE:
613           In 5.10 or greater this will actually
614           use the mro::get_pkg_gen instead to give
615           even more accurate caching information.
616           blblack++ for that stuff :)
617
618     * Class::MOP::Class
619       - added the &subclasses method (thanks rlb)
620       - added the update_package_cache_flag and
621         reset_package_cache_flag which help keep
622         track of when we need to re-fetch the
623         method map.
624       - Several small improvements to take advantage
625         of the new method map caching features
626
627 0.48 Mon. Nov. 26, 2007
628     * Class::MOP::Attribute
629       - fixed get_read/write_method to handle the
630         HASH ref case, which makes the
631         get_read/write_method_ref handle it too.
632         - added more tests for this
633
634 0.47 Sat. Nov. 24, 2007
635     * Class::MOP::Attribute
636       - fixed misspelling in get_write_method_ref
637         - added more tests for this
638
639 0.46 Fri. Nov. 23, 2007
640     * Class::MOP::Class
641       - added the linearized_isa method instead of constantly
642         pruning duplicate classes (this will be even more
643         useful in the 5.10-compat version coming soon)
644
645     * Class::MOP::Attribute
646       - added the get_read_method_ref and get_write_method_ref
647         methods which allow you to retrieve a CODE ref which
648         can always be used to read or write an attribute.
649
650 0.45 Thurs. Nov. 13, 2007
651     * Class::MOP::Attribute
652       - Fix error message on confess (groditi)
653
654 0.44 Thurs. Nov. 13, 2007
655     - Apparently I didn't make dist correctly (groditi)
656
657 0.43 Thurs. Nov. 13, 2007
658     * Class::MOP
659       - Add support for the 'builder' attribute (groditi)
660
661     * Class::MOP::Class
662       - optimise metaclass-already-exists check in
663         construct_class_instance (groditi)
664       - duplicate check into initialize to save a
665         call through (groditi)
666
667     * Class::MOP::Attribute
668       - Add support for the 'builder' attribute (groditi)
669       - Make predicates check for the existence of a value, not whether
670         it is defined (groditi)
671
672     * Class::MOP::Instance
673       - Make predicates check for the existence of a value, not whether
674         it is defined (groditi)
675
676     * Class::MOP::Method::Accessor
677       - made this a subclass of Class::MOP::Method::Generated
678         - removed the relevant attributes
679
680     * Class::MOP::Method::Constructor
681       - fixed the cached values we had to be more sane
682       - made this a subclass of Class::MOP::Method::Generated
683       - fixed generated constructor so it properly handles
684         subclasses now.
685         - added tests for this
686       - added the option to allow for both inlined and
687         non-inlined constructors.
688       - Update inlined methods for builder and predicate changes (groditi)
689
690     * Class::MOP::Method::Generated
691       - added this class as an abstract base for the
692         Class::MOP::Method::{Constructor,Accessor} classes
693         - added tests for this
694
695     *t/
696       - Alter tests (005, 014 020, 021) for new builder addition (groditi)
697       - Tests for new predicate behavior (and corrections to old tests) (groditi)
698
699     *examples/
700       - Update ArrayRef based class example to work with predicate changes
701
702 0.42 Mon. July 16, 2007
703     !!! Horray for mst, he fixed it !!!
704
705     * Class::MOP::Package
706       - alter symbol table handling to deal with 5.8.x and 5.9.x
707
708     * t/
709       - Get rid of the crappy workaround from 0.40/41
710
711 0.41 Sun. July 15, 2007
712     * t/
713         Arghh!!! My TODO test didn't work, so I handle
714         it manually now so that people can use this
715         with 5.9.5/bleadperl without issue.
716
717 0.40 Tues, July 3, 2007
718     * t/
719       ~ marked a test in 003_methods.t as TODO
720         for perl 5.9.5 (this test is irrelvant to
721         the module functioning on 5.9.5 for the most
722         part anyway)
723
724 0.39 Mon. June 18, 2007
725     * Class::MOP::Immutable
726       - added make_metaclass_mutable + docs (groditi)
727       - removed unused variable
728       - added create_immutable_transformer
729         necessary for sane overloading of immutable behavior
730          - tests for this (groditi)
731
732     * Class::MOP::Class
733       - Immutability can now be undone,
734         added make_mutable + tests + docs (groditi)
735       - Massive changes to the way Immutable is done
736         for details see comments next to make_immutable
737         This fixes a bug where custom metaclasses broke
738         when made immutable. We are now keeping one immutable
739         metaclass instance per metaclass instead of just one
740         to prevent isa hierarchy corruption. Memory use will go
741         up, but I suspect it will be neglible.
742          - New tests added for this behavior.  (groditi)
743
744 0.38 Thurs. May 31, 2007
745     ~~ More documentation updates ~~
746
747     * Class::MOP::Package
748       - we now deal with stub methods properly
749         - added tests for this
750       - fixed some tests failing on 5.9.5 (thanks blblack)
751
752     * Class::MOP::Attribute
753       - added get_read_method and get_write_method
754         thanks to groditi for this code, tests
755         and docs.
756         - added tests and POD for this
757
758     * Class::MOP::Class
759       - fixed RT issue #27329, clone object now
760         handles undef values correctly.
761         - added tests for this
762       - Corrected anon-class handling so that they
763         will not get reaped when instances still
764         exist which need to reference them. This is
765         the correct behavior, hopefully this is an
766         obscure enough feature that there are not too
767         many work arounds out in the wild.
768         - added tests for this by groditi
769         - updated docs to explain this
770
771     * metaclass
772       - load custom metaclasses automatically (thanks groditi)
773         - added tests for this behavior
774
775 0.37 Sat. March 10, 2007
776     ~~ Many, many documentation updates ~~
777
778     * Class::MOP
779       - added &load_class and &is_class_loaded
780         - added tests and docs for these
781
782     * Class::MOP::Attribute
783       - default now checks the instance with defined to
784         avoid setting off bool-overloads (found by Carl Franks)
785
786 0.37_002
787     * /t
788       - bad name in a test, causing meaningless failuress.
789         No other changes.
790
791 0.37_001
792
793     ~~ GLOBAL CHANGES ~~
794     - All attribute names are now consistent and follow Perl 6
795       style (prefixed with the sigil, and ! as the twigil for
796       private attrs). This should not affect any code, unless
797       you broke encapsulation, in which case, it is your problem
798       anyway.
799
800     !! Class::MOP::Class::Immutable has been removed
801
802     * Class::MOP::Method::Constructor
803       - this has been moved out of Class::MOP::Class::Immutable
804         and is a proper subclass of Class::MOP::Method now.
805
806     * Class::MOP::Class
807       - this module now uses Class::MOP::Immutable for the
808         immutable transformation instead of
809         Class::MOP::Class::Immutable.
810
811     + Class::MOP::Immutable
812       - this module now controls the transformation from a mutable
813         to an immutable version of the class. Docs for this will
814         be coming eventually.
815
816
817 0.36 Sun. Nov. 5, 2006
818     * Class::MOP::Class
819       - added a few 'no warnings' lines to keep annoying
820         (and meaningless) warnings from chirping during
821         global destruction.
822
823     * Class::MOP
824       - some more bootstrapping is now done on the new
825         classes
826
827     * Class::MOP::Class::Immutable
828       *** API CHANGE ***
829       - constructor generation is now handled by
830         the Class::MOP::Method::Constructor class
831
832     * Class::MOP::Method::Constructor
833       - created this to handle constructor generation
834         in Class::MOP::Class::Immutable
835
836     * Class::MOP::Attribute
837       *** API CHANGE ***
838       - attributes now delegate to the
839         Class::MOP::Method::Accessor to generate
840         accessors
841
842     * Class::MOP::Method::Accessor
843       - all accessor generation functions from
844         Class::MOP::Attribute have been moved here
845
846 0.35 Sat. Sept. 30, 2006
847
848     * scripts/class_browser.pl
849       - initial prototype of a class browser, more
850         on this to come. Comments and patches are
851         very much welcome.
852
853     * Class::MOP
854       - All Class::MOP::* accessors are no longer
855         re-generated in the bootstrap, instead
856         they are aliased from the originals
857         - fixed tests to reflect
858       - added Class::MOP::Method (and its subclasses)
859         to the bootstrap
860         - adjusted tests for this
861       - added the Class::MOP::Instance attributes
862         to the bootstrap
863
864     * Class::MOP::Method
865       *** API CHANGE ***
866       - methods are no longer blessed CODE refs
867         but are actual objects which can be CODE-ified
868         - adjusted tests to compensate
869         - adjusted docs for this
870
871     * Class::MOP::Class
872       - changed how methods are dealt with to
873         encapsulate most of the work into the
874         &get_method_map method
875       - made several adjustments for the change
876         in Class::MOP::Method
877       - &add_attribute now checks if you are adding
878         a duplicate name, and properly removes the
879         old one before installing the new one
880         - added tests for this
881         - adjusted docs for this
882
883     * Class::MOP::Class::Immutable
884       - added caching of &get_method_map
885       - fixed issue with &get_package_symbol
886       - cleaned up the methods that die (patch by David Wheeler)
887
888     * Class::MOP::Package
889       - added filtering capabilities to
890         &list_all_package_symbols
891
892 0.34 Sat. Aug. 26, 2006
893     * Class::MOP::Class
894       - added the %:methods attribute, which like
895         the $:version and such just actually goes
896         to the symbol table to get it's stuff.
897         However, it makes the MOP more complete.
898      ** API CHANGE **
899       - The &create method now requires that all
900         but the package name now is passed in as
901         named parameters. See docs for more info.
902         - updated docs and tests for this
903
904     * Class::MOP::Object
905       - added &dump method to easily Data::Dumper
906         an object
907
908     * Class::MOP
909       - cleaned up the initialization of attributes
910         which do not store things in the instance
911       - added the %:methods attribute definition to
912         the bootstrap
913
914     ~ lots of misc. test cleanup
915
916 0.33 Sat. Aug. 19, 2006
917     * Class::MOP::Class
918       - moved the metaclass cache out of here
919         and it is now in Class::MOP itself.
920
921     * Class::MOP
922       - moved all the metaclass cache stuff here
923         - fixed all tests for this
924
925     * Class::MOP::Attribute
926       - reference values (other than CODE refs)
927         are no longer allowed for defaults
928         - added tests for this
929
930     * Class::MOP::Package
931       - fixed an issue with perl 5.8.1 and how it deals
932         with symbol tables. The namespace hash is now
933         always reloaded from the symbol table.
934
935     ~ lots of misc. documentation cleanup
936
937 0.32 Sat. Aug. 12, 2006
938     + added Class::MOP::Object so that the
939       metamodel is more complete (and closer
940       to what Perl 6 will probably be).
941
942     * Class::MOP::Package
943       - refactored entire class, this is now
944         the primary gateway between the metaclass
945         and the Perl 5 symbol table
946         - added many tests for this
947       - this class is now a subclass of
948         Class::MOP::Object
949         - added some tests to reflect this
950
951     * Class::MOP::Class
952       - refactored all symbol table access to
953         use Class::MOP::Package methods instead
954
955     * Class::MOP::Module
956       - adding the $:version attribute in the bootstrap
957         so that Module has a version as an attribute
958         - see comment in Class::MOP for details
959       - added the $:authority attribute to this module
960         as well as an &identifier method, to bring us
961         ever closer to Perl 6 goodness
962         - I have added $AUTHORITY to all the modules
963         - added tests for this
964
965     * Class::MOP::Instance
966       - added &deinitialize_slot for removing slots
967         from an instance
968         - added tests for this
969
970     * Class::MOP::Attribute
971       - added support for &deinitialize_slot for removing
972         slots from an instance
973         - added tests for this
974
975 0.31 Sat. July 15, 2006
976
977     * Class::MOP::Class
978       - added &find_method_by_name to locate a method
979         anywhere within the class hierarchy
980
981     * Class::MOP::Attribute
982       - added &set_value and &get_value for getting
983         the value of the attribute for a particular
984         instance.
985
986 0.30 Wed. July 5, 2006
987     ---------------------------------------
988     This is the first version of Class::MOP
989     to introduce the immutable features which
990     will be used for optimizating the MOP.
991     This support should still be considered
992     experimental, but moving towards stability.
993     ---------------------------------------
994
995     * Created Class::MOP::Class::Immutable
996
997     * Created the Class::MOP::Package and
998       Class::MOP::Module classes to more
999       closely conform to Perl 6's meta-model
1000
1001     * Class::MOP::Class
1002       - now inherits from Class::MOP::Module
1003       - several methods moved to ::Module and
1004         ::Package and now inherited
1005         - added tests for this
1006
1007     * Class::MOP::Instance
1008       - added an is_inlinable method to allow other
1009         classes to check before they attempt to optimize.
1010       - added an inline_create_instance to inline
1011         instance creation (of course)
1012
1013     ** API CHANGE **
1014       - the Class::MOP::Class::*_package_variable
1015         methods are all now methods of Class::MOP::Package
1016         and called *_package_symbol instead. This is
1017         because they are now more general purpose symbol
1018         table manipulation methods.
1019
1020 0.29_02 Thurs. June 22, 2006
1021     ++ DEVELOPER RELEASE ++
1022     * Class::MOP::Class
1023       - small change in &create so that it behaves
1024         properly when inherited
1025       - small fix to &clone_instance
1026
1027 0.29_01 Fri. May 12, 2006
1028     ++ DEVELOPER RELEASE ++
1029       - This release works in combination with
1030         Moose 0.09_01, it is a developer release
1031         because it introduces a new instance
1032         sub-protocol and has not yet been
1033         optimized.
1034
1035     * Class::MOP::Class
1036       - anon-classes are now properly garbage collected
1037         - added tests for this
1038       - improved method modifier wrapping
1039
1040     * Class::MOP::Instance
1041       - added new instance protocol
1042         - added tests for this
1043       - changed all relevant modules and examples
1044         - Class::MOP::Class
1045         - Class::MOP::Attribute
1046         - examples/*
1047
1048     * metaclass
1049       - you no longer need to specify the metaclass
1050         itself, if it is not there, Class::MOP::Class
1051         is just assumed
1052         - updated tests for this
1053
1054     * examples/
1055       - added ArrayBasedStorage example to show
1056         instance storage using ARRAY refs instead of
1057         HASH refs.
1058         - added tests for this
1059       - InsideOutClass is totally revised using the
1060         new instance protocol
1061         - added more tests for this
1062
1063 0.26 Mon. April 24, 2006
1064     * Class::MOP::Class
1065       - added find_attribute_by_name method
1066         - added tests and docs for this
1067       - some small optimizations
1068
1069     * Class::MOP::Attribute
1070       - some small optimizations
1071
1072 0.25 Thurs. April 20, 2006
1073     * Class::MOP::Class
1074       - added create_anon_class for creating anonymous classes
1075         - added tests for this
1076       - added get_all_metaclasses, get_all_metaclass_names
1077         and get_all_metaclass_instances method to allow
1078         access to all the cached metaclass objects.
1079       - attribute slot initialization is now the responsibility
1080         of the attribute itself, and construct_instance now
1081         delegates appropriately
1082
1083     * Class::MOP::Attribute
1084       - attribute slot initialization is now the responsibility
1085         of the attribute itself, so we added a method for it
1086         called initialize_instance_slot
1087
1088     * examples/
1089       - adjusted all the examples to use the new attribute
1090         initialize_instance_slot method
1091
1092 0.24 Tues. April 11, 2006
1093     * Class::MOP::Class
1094       - cleaned up how the before/after/around method
1095         modifiers get named with Sub::Name
1096
1097 0.23 Thurs. March 30, 2006
1098         * Class::MOP::Class
1099           - fixed the way attribute defaults are handled
1100             during instance construction (bug found by chansen)
1101
1102         * Class::MOP::Attribute
1103           - read-only accessors ('reader') will now die if
1104             passed more than one argument (attempting to write
1105             to them basically)
1106               - added tests for this
1107               - adjusted all /example files to comply
1108
1109 0.22 Mon. March 20, 2006
1110     * Class::MOP::Class
1111       - localized $@ in the *_package_variable functions
1112         because otherwise, it does ugly things in Moose.
1113           - added test case for this
1114
1115 0.21 Wed. March 15, 2006
1116     * Class::MOP::Class
1117       - fixed issue where metaclasses are reaped from
1118         our cache in global destruction, and so are not
1119         available in DESTORY calls
1120
1121 0.20 Thurs. March 2, 2006
1122     - removed the dependency for Clone since
1123       we no longer to deep-cloning by default.
1124
1125     * Class::MOP::Method
1126       - added &package_name, &name and
1127         &fully_qualified_name methods, some of
1128         which were formerly private subs in
1129         Class::MOP::Class
1130
1131     * Class::MOP::Method::Wrapped
1132       - allows for a method to be wrapped with
1133         before, after and around modifiers
1134           - added tests and docs for this feature
1135
1136     * Class::MOP::Class
1137       - improved &get_package_symbol
1138           - &version and &superclasses now use it
1139       - methods are now blessed into Class::MOP::Method
1140         whenever possible
1141       - added methods to install CLOS-style method modifiers
1142          - &add_before_method_modifier
1143          - &add_after_method_modifier
1144          - &add_around_method_modifier
1145              - added tests and docs for these
1146       - added &find_next_method_by_name which finds the
1147         equivalent of SUPER::method_name
1148
1149 0.12 Thurs. Feb 23, 2006
1150     - reduced the dependency on B, no need to always
1151       have the latest
1152
1153     * examples/
1154       - added docs to the C3 method dispatch order test
1155       - fixed missing Algorithm::C3 dependency by making
1156         the test skip if it is not installed
1157
1158 0.11 Mon Feb. 20, 2006
1159     * examples/
1160       - added example of changing method dispatch order to C3
1161
1162     * Class::MOP::Class
1163       - changed how clone_instance behaves, it now only does a
1164         shallow clone (see docs for more details)
1165         - added docs and tests
1166
1167 0.10 Tues Feb. 14, 2006
1168     ** This release was mostly about writing more tests and
1169        cleaning out old and dusty code, the MOP should now
1170        be considered "ready to use".
1171
1172     - adding more tests to get coverage up a little higher,
1173       mostly testing errors and edge cases.
1174       - test coverage is now at 99%
1175
1176     * Class::MOP
1177       - no longer optionally exports to UNIVERSAL::meta or
1178         creates a custom metaclass generator, use the
1179         metaclass pragma instead.
1180
1181     * Class::MOP::Class
1182       - fixed a number of minor issues which came up in the
1183         error/edge-case tests
1184
1185     * Class::MOP::Attribute
1186       - fixed a number of minor issues which came up in the
1187         error/edge-case tests
1188
1189     * examples/
1190       - fixing the AttributesWithHistory example, it was broken.
1191
1192 0.06 Thurs Feb. 9, 2006
1193     * metaclass
1194       - adding new metaclass pragma to make setting up the
1195         metaclass a little more straightforward
1196
1197     * Class::MOP
1198       - clean up bootstrapping to include more complete
1199         attribute definitions for Class::MOP::Class and
1200         Class::MOP::Attribute (accessors, readers, writers,
1201         etc.) ... it is redundant, but is useful meta-info
1202         to have around.
1203
1204     * Class::MOP::Class
1205       - fixing minor meta-circularity issue with &meta, it
1206         is now more useful for subclasses
1207       - added &get_attribute_map as an accessor for the
1208         hash of attribute meta objects
1209       - &compute_all_applicable_attributes now just returns
1210         the attribute meta-object, rather than the HASH ref
1211         since all the same info can be gotten from the
1212         attribute meta-object itself
1213           - updated docs & tests to reflect
1214       - added &clone_instance method which does a deep clone
1215         of the instance structure created by &construct_instance
1216           - added docs & tests for this
1217           - added Clone as a dependency
1218       - added &new_object and &clone_object convience methods to
1219         return blessed new or cloned instances
1220           - they handle Class::MOP::Class singletons correctly too
1221           - added docs & tests for this
1222       - cleaned up the &constuct_class_instance so that it behaves
1223         more like &construct_instance (and managed the singletons too)
1224       - added the &check_metaclass_compatibility method to make sure
1225         that metaclasses are upward and downward compatible.
1226           - added tests and docs for this
1227
1228     * examples/
1229       - adjusting code to use the &Class::MOP::Class::meta
1230         fix detailed above
1231       - adjusting code to use the metaclass pragma
1232
1233 0.05 Sat Feb. 4, 2006
1234     * Class::MOP::Class
1235       - added the &attribute_metaclass and &method_metaclass
1236         attributes which contain a metaclass name to use for
1237         attributes/methods respectively
1238
1239     * Class::MOP
1240       - bootstrap additional attributes for Class::MOP::Class
1241
1242     * examples/
1243       - adjusted the example code and tests to use the new
1244         &attribute_metaclass feature of Class::MOP::Class
1245       - added new example:
1246         - LazyClass
1247
1248 0.04 Fri Feb. 3, 2006
1249     * Class::MOP::Class
1250       - some documentation suggestions from #perl6
1251
1252     * Class::MOP::Attribute
1253       - improved error messages
1254
1255     * examples/
1256       - added new examples:
1257         - AttributesWithHistory
1258         - ClassEncapsultedAttributes
1259
1260 0.03 Fri Feb. 3, 2006
1261     - converted to Module::Build instead of EU::MM
1262
1263     * Class::MOP::Attribute
1264       - refactored method generation code
1265       - attributes are now associated with class directly
1266
1267     * examples/
1268       - refactored the InsideOut example to take advantage
1269         of the Class::MOP::Attribute refactoring
1270       - changed example files to .pod files and hide thier
1271         package names from PAUSE (I don't want to own these
1272         namespaces really, they are just examples)
1273
1274 0.02 Thurs Feb. 2, 2006
1275     - moving examples from t/lib/* to examples/*
1276         - adding POD documentation to the examples
1277
1278 0.01 Thurs Feb. 2, 2006
1279     - Initial release