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