no more XS mah!
[gitmo/Moose.git] / Changes
1 Revision history for Perl extension Moose
2
3 0.45
4     * Moose
5       - Because of work in Class::MOP 0.56, all 
6         XS based functionality is now optional
7         and a Pure Perl version is supplied
8         - the CLASS_MOP_NO_XS environment variable
9           can now be used to force non-XS versions 
10           to always be used   
11         - several of the packages have been tweaked
12           to take care of this, mostly we added
13           support for the package_name and name 
14           variables in all the Method metaclasses
15     
16     * Moose::Meta::Class
17       - added same 'add_package_symbol' fix as in 
18         Class::MOP 0.56
19
20     * Moose::Util
21       - does_role now handles non-Moose classes 
22         more gracefully
23         - added tests for this
24
25     * Moose::Util::TypeConstraints
26       - subtypes of parameterizable types now are 
27         themselves parameterizable types
28
29     * Moose::Meta::Method::Constructor
30       - fixed bug where trigger was not being 
31         called by the inlined immutable 
32         constructors 
33         - added test for this (thanks to Caelum)
34     
35     * Moose::Meta::Role::Application::ToInstance
36       - now uses the metaclass of the instance
37         (if possible) to create the anon-class
38         (thanks Jonathan Rockway)
39     
40     * Moose::Cookbook::Snack::ArrayRef
41       Moose::Cookbook::Snack::HashRef
42       Moose::Cookbook::Snack::Perl5ObjsVsMooseObjs
43       Moose::Cookbook::Snack::BUILD      
44       - several new Snacks added to the cookbook
45         (thanks to spicyjack)
46     
47     * t/
48       - fixed hash-ordering test bug that was 
49         causing occasional cpantester failures 
50
51 0.44 Sat. May 10, 2008
52     * Moose
53       - made make_immutable warning cluck to 
54         show where the error is (thanks mst)
55     
56     * Moose::Object
57       - BUILDALL and DEMOLISHALL now call 
58         ->body when looping through the 
59         methods, to avoid the overloaded
60         method call.
61       - fixed issue where DEMOLISHALL was
62         eating the $@ values, and so not 
63         working correctly, it still kind of
64         eats them, but so does vanilla perl 
65         - added tests for this
66       
67     * Moose::Cookbook::Recipe7
68       - added new recipe for immutable 
69         functionality (thanks Dave Rolsky)
70       
71     * Moose::Cookbook::Recipe9
72       - added new recipe for builder and 
73         lazy_build (thanks Dave Rolsky)
74       
75     * Moose::Cookbook::Recipe11
76       - added new recipe for method aliasing 
77         and exclusion with Roles (thanks Dave Rolsky)
78
79     * t/
80       - fixed Win32 test failure (thanks spicyjack)
81
82     ~ removed Build.PL and Module::Build compat 
83       since Module::Install has done that.
84
85 0.43 Wed. April, 30, 2008
86     * NOTE TO SELF:
87         drink more coffee before 
88         doing release engineering
89       
90     - whoops, forgot to do the smolder tests, 
91       and we broke some of the custom meta-attr
92       modules. This fixes that.
93
94 0.42 Mon. April 28, 2008
95     - some bad tests slipped by, nothing else 
96       changed in this release (cpantesters++)
97       
98     - upped the Class::MOP dependency to 0.55 
99       since we have tests which need the C3 
100       support
101
102 0.41 Mon. April 28, 2008
103     ~~ numerous documentation updates ~~
104     
105     - Changed all usage of die to Carp::croak for better
106       error reporting (initial patch by Tod Hagan)
107
108     ** IMPORTANT NOTE **
109     - the make_immutable keyword is now deprecated, don't
110       use it in any new code and please fix your old code
111       as well. There will be 2 releases, and then it will
112       be removed.
113
114     * Moose
115       Moose::Role
116       Moose::Meta::Class
117       - refactored the way inner and super work to avoid
118         any method/@ISA cache penalty (nothingmuch)
119
120     * Moose::Meta::Class
121       - fixing &new_object to make sure trigger gets the 
122         coerced value (spotted by Charles Alderman on the 
123         mailing list)
124         - added test for this
125
126     * Moose::Meta::Method::Constructor
127       - immutable classes which had non-lazy attributes were calling
128         the default generating sub twice in the constructor. (bug
129         found by Jesse Luehrs, fixed by Dave Rolsky)
130         - added tests for this (Dave Rolsky)
131       - fix typo in initialize_body method (nothingmuch)
132       
133     * Moose::Meta::Method::Destructor
134       - fix typo in initialize_body method (nothingmuch)
135
136     * Moose::Meta::Method::Overriden
137       Moose::Meta::Method::Augmented
138       - moved the logic for these into their own 
139         classes (nothingmuch)
140
141     * Moose::Meta::Attribute
142       - inherited attributes may now be extended without 
143         restriction on the type ('isa', 'does') (Sartak)
144         - added tests for this (Sartak)
145       - when an attribute property is malformed (such as lazy without 
146         a default), give the name of the attribute in the error 
147         message (Sartak)
148       - added the &applied_traits and &has_applied_traits methods 
149         to allow introspection of traits
150         - added tests for this
151       - moved 'trait' and 'metaclass' argument handling to here from
152         Moose::Meta::Class
153       - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
154         '+foo' syntax) (nothingmuch)
155         - added tests for this (t0m)
156      
157     * Moose::Object 
158       - localize $@ inside DEMOLISHALL to avoid it 
159         eating $@ (found by Ernesto)
160         - added test for this (thanks to Ernesto)
161
162     * Moose::Util::TypeConstraints
163       - &find_type_constraint now DWIMs when given an 
164         type constraint object or name (nothingmuch)
165       - &find_or_create_type_constraint superseded with a number of more
166         specific functions:
167         - find_or_create_{isa,does}_type_constraint
168         - find_or_parse_type_constraint
169
170     * Moose::Meta::TypeConstraint
171       Moose::Meta::TypeConstraint::Class
172       Moose::Meta::TypeConstraint::Role
173       Moose::Meta::TypeConstraint::Enum
174       Moose::Meta::TypeConstraint::Union
175       Moose::Meta::TypeConstraint::Parameterized
176         - added the &equals method for comparing two type 
177           constraints (nothingmuch)
178           - added tests for this (nothingmuch)
179
180     * Moose::Meta::TypeConstraint
181       - add the &parents method, which is just an alias to &parent. 
182         Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
183
184     * Moose::Meta::TypeConstraint::Class
185       - added the class attribute for introspection purposes
186         (nothingmuch)
187         - added tests for this
188         
189     * Moose::Meta::TypeConstraint::Enum
190       Moose::Meta::TypeConstraint::Role
191       - broke these out into their own classes (nothingmuch)
192
193     * Moose::Cookbook::Recipe*
194       - fixed references to test file locations in the POD
195         and updated up some text for new Moose features
196         (Sartak)
197
198     * Moose::Util
199       - Added &resolve_metaclass_alias, a helper function for finding an actual
200         class for a short name (e.g. in the traits list)
201
202 0.40 Fri. March 14, 2008
203     - I hate Pod::Coverage
204
205 0.39 Fri. March 14, 2008
206     * Moose
207       - documenting the use of '+name' with attributes 
208         that come from recently composed roles. It makes
209         sense, people are using it, and so why not just 
210         officially support it.
211       - fixing the 'extends' keyword so that it will not 
212         trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
213       
214     * oose
215       - added the perl -Moose=+Class::Name feature to allow 
216         monkeypatching of classes in one liners
217       
218     * Moose::Util
219       - fixing the 'apply_all_roles' keyword so that it will not 
220         trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)    
221     
222     * Moose::Meta::Class
223       - added ->create method which now supports roles (thanks to jrockway)
224         - added tests for this
225       - added ->create_anon_class which now supports roles and caching of 
226         the results (thanks to jrockway)
227         - added tests for this
228       - made ->does_role a little more forgiving when it is
229         checking a Class::MOP era metaclasses.
230     
231     * Moose::Meta::Role::Application::ToInstance
232       - it is now possible to pass extra params to be used when 
233         a role is applied to an the instance (rebless_params)
234         - added tests for this
235     
236     * Moose::Util::TypeConstraints
237       - class_type now accepts an optional second argument for a
238         custom message. POD anotated accordingly (groditi)
239         - added tests for this 
240       - it is now possible to make anon-enums by passing 'enum' an 
241         ARRAY ref instead of the $name => @values. Everything else 
242         works as before.
243         - added tests for this
244     
245     * t/
246       - making test for using '+name' on attributes consumed 
247         from a role, it works and makes sense too.    
248
249     * Moose::Meta::Attribute 
250       - fix handles so that it doesn't return nothing 
251         when the method cannot be found, not sure why 
252         it ever did this originally, this means we now
253         have slightly better support for AUTOLOADed 
254         objects
255         - added more delegation tests
256       - adding ->does method to this so as to better 
257         support traits and their introspection.
258         - added tests for this
259     
260     * Moose::Object
261       - localizing the Data::Dumper configurations so 
262         that it does not pollute others (RT #33509)
263       - made ->does a little more forgiving when it is
264         passed Class::MOP era metaclasses.
265
266 0.38 Fri. Feb. 15, 2008
267     * Moose::Meta::Attribute 
268       - fixed initializer to correctly do 
269         type checking and coercion in the 
270         callback 
271         - added tests for this
272
273     * t/
274       - fixed some finicky tests (thanks to konobi)
275
276 0.37 Thurs. Feb. 14, 2008
277     * Moose
278       - fixed some details in Moose::init_meta 
279         and its superclass handling (thanks thepler)
280         - added tests for this (thanks thepler)
281       - 'has' now dies if you don't pass in name 
282         value pairs
283       - added the 'make_immutable' keyword as a shortcut
284         to make_immutable
285
286     * Moose::Meta::Class
287       Moose::Meta::Method::Constructor
288       Moose::Meta::Attribute        
289       - making (init_arg => undef) work here too
290         (thanks to nothingmuch)
291         
292     * Moose::Meta::Attribute        
293       Moose::Meta::Method::Constructor
294       Moose::Meta::Method::Accessor                
295       - make lazy attributes respect attr initializers (rjbs)
296         - added tests for this
297     
298     * Moose::Util::TypeConstraints
299       Moose::Util::TypeConstraints::OptimizedConstraints
300       Moose::Meta::TypeConstraints
301       Moose::Meta::Attribute
302       Moose::Meta::Method::Constructor
303       Moose::Meta::Method::Accessor            
304       - making type errors use the 
305         assigned message (thanks to Sartak)
306         - added tests for this
307
308     * Moose::Meta::Method::Destructor
309       - making sure DESTROY gets inlined properly 
310         with successive DEMOLISH calls (thanks to manito)
311
312     * Moose::Meta::Attribute  
313       Moose::Meta::Method::Accessor 
314       - fixed handling of undef with type constraints 
315         (thanks to Ernesto)               
316         - added tests for this
317     
318     * Moose::Util
319       - added &get_all_init_args and &get_all_attribute_values 
320         (thanks to Sartak and nothingmuch)
321
322 0.36 Sat. Jan. 26, 2008
323     * Moose::Role
324       Moose::Meta::Attribute
325       - role type tests now support when roles are 
326         applied to non-Moose classes (found by ash)
327         - added tests for this (thanks to ash)
328       - couple extra tests to boost code coverage
329
330     * Moose::Meta::Method::Constructor    
331       - improved fix for handling Class::MOP attributes
332         - added test for this        
333       
334     * Moose::Meta::Class
335       - handled the add_attribute($attribute_meta_object)
336         case correctly
337         - added test for this
338
339 0.35 Tues. Jan. 22, 2008
340     * Moose::Meta::Method::Constructor
341       - fix to make sure even Class::MOP attributes 
342         are handled correctly (Thanks to Dave Rolsky)
343         - added test for this (also Dave Rolsky)
344     
345     * Moose::Meta::Class
346       - improved error message on _apply_all_roles, 
347         you should now use Moose::Util::apply_all_roles
348         and you shouldnt have been using a _ prefixed
349         method in the first place ;)
350
351 0.34 Mon. Jan. 21, 2008
352     ~~~ more misc. doc. fixes ~~~
353     ~~ updated copyright dates ~~
354
355     Moose is now a postmodern object system :)
356       - (see the POD for details)
357       
358     * <<Role System Refactoring>>    
359     - this release contains a major reworking and 
360       cleanup of the role system     
361       - 100% backwards compat.
362       - Role application now restructured into seperate
363         classes based on type of applicants
364       - Role summation (combining of more than one role)
365         is much cleaner and anon-classes are no longer 
366         used in this process
367       - new Composite role metaclass    
368       - runtime application of roles to instances
369         is now more efficient and re-uses generated
370         classes when applicable
371         
372     * <<New Role composition features>>
373       - methods can now be excluded from a given role 
374         during composition
375       - methods can now be aliased to another name (and 
376         still retain the original as well)        
377     
378     * Moose::Util::TypeConstraints::OptimizedConstraints
379       - added this module (see above)
380
381     * Moose::Meta::Class
382       - fixed the &_process_attribute method to be called
383         by &add_attribute, so that the API is now correct
384
385     * Moose::Meta::Method::Accessor
386       - fixed bug when passing a list of values to
387         an accessor would get (incorrectly) ignored.
388         Thanks to Sartak for finding this ;)
389         - added tests for this (Sartak again)
390
391     * Moose::Meta::Method::Accessor
392       Moose::Meta::Method::Constructor
393       Moose::Meta::Attribute
394       Moose::Meta::TypeConstraint      
395       Moose::Meta::TypeCoercion      
396       - lots of cleanup of such things as: 
397         - generated methods
398         - type constraint handling
399         - error handling/messages 
400         (thanks to nothingmuch)   
401     
402     * Moose::Meta::TypeConstraint::Parameterizable
403       - added this module to support the refactor 
404         in Moose::Meta::TypeConstraint::Parameterized
405
406     * Moose::Meta::TypeConstraint::Parameterized
407       - refactored how these types are handled so they 
408         are more generic and not confined to ArrayRef
409         and HashRef only
410
411     * t/
412       - shortened some file names for better VMS support (RT #32381)
413
414 0.33 Fri. Dec. 14, 2007
415     !! Moose now loads 2 x faster !!
416     !!  with new Class::MOP 0.49  !!
417
418     ++ new oose.pm module to make command line
419        Moose-ness easier (see POD docs for more)
420
421     * Moose::Meta::Class
422     * Moose::Meta::Role
423       - several tweaks to take advantage of the
424         new method map caching in Class::MOP
425
426     * Moose::Meta::TypeConstraint::Parameterized
427       - allow subtypes of ArrayRef and HashRef to
428         be used as a container (sartak)
429         - added tests for this
430       - basic support for coercion to ArrayRef and
431         HashRef for containers (sartak)
432         - added tests for this
433
434     * Moose::Meta::TypeCoercion
435       - coercions will now create subtypes as needed
436         so you can now add coercions to parameterized
437         types without having to explictly define them
438         - added tests for this
439
440     * Moose::Meta::Method::Accessor
441       - allow subclasses to decide whether we need
442         to copy the value into a new variable (sartak)
443
444 0.32 Tues. Dec. 4, 2007
445     * Moose::Util::TypeConstraints
446       - fixing how subtype aliases of unions work
447         they should inherit the parent's coercion
448         - added tests for this
449       - you can now define multiple coercions on
450         a single type at different times instead of
451         having to do it all in one place
452         - added tests for this
453
454     * Moose::Meta::TypeConstraint
455       - there is now a default constraint of sub { 1 }
456         instead of Moose::Util::TypeConstraints setting
457         this for us
458
459     * Moose::Meta::TypeCoercion
460     * Moose::Meta::TypeCoercion::Union
461       - added the &has_coercion_for_type and
462         &add_type_coercions methods to support the
463         new features above (although you cannot add
464         more type coercions for Union types)
465
466 0.31 Mon. Nov. 26, 2007
467     * Moose::Meta::Attribute
468       - made the +attr syntax handle extending types with
469         parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
470         now works if the original foo is an ArrayRef.
471         - added tests for this.
472       - delegation now works even if the attribute does not
473         have a reader method using the get_read_method_ref
474         method from Class::MOP::Attribute.
475         - added tests for this
476         - added docs for this
477
478     * Moose::Util::TypeConstraints
479       - passing no "additional attribute info" to
480         &find_or_create_type_constraint will no longer
481         attempt to create an __ANON__ type for you,
482         instead it will just return undef.
483         - added docs for this
484
485 0.30 Fri. Nov. 23, 2007
486     * Moose::Meta::Method::Constructor
487       -builder related bug in inlined constructor. (groditi)
488
489     * Moose::Meta::Method::Accessor
490       - genereate unnecessary calls to predicates and refactor
491         code generation for runtime speed (groditi)
492
493     * Moose::Util::TypeConstraints
494       - fix ClassName constraint to introspect symbol table (mst)
495         - added more tests for this (mst)
496       - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
497         with work correctly.
498         - added tests for this
499
500     * Moose::Cookbook
501       - adding the link to Recipie 11 (written by Sartak)
502         - adding test for SYNOPSIS code
503
504     * t/
505       - New tests for builder bug. Upon instantiation, if an
506         attribute had a builder, no value and was not lazy the
507         builder default was not getting run, oops. (groditi)
508
509 0.29 Tues. Nov. 13, 2007
510     * Moose::Meta::Attribute
511       - Fix error message on missing builder method (groditi)
512
513     * Moose::Meta::Method::Accessor
514       - Fix error message on missing builder method (groditi)
515
516     * t/
517       - Add test to check for the correct error message when
518         builder method is missing (groditi)
519
520 0.28 Tues. Nov. 13, 2007
521     - 0.27 packaged incorrectly (groditi)
522
523 0.27 Tues. Nov. 13, 2007
524     * Moose::Meta::Attribute
525       - Added support for the new builder option (groditi)
526       - Added support for lazy_build option (groditi)
527       - Changed slot initialization for predicate changes (groditi)
528
529     * Moose::Meta::Method::Accessor
530       - Added support for lazy_build option (groditi)
531       - Fix inline methods to work with corrected predicate
532         behavior (groditi)
533
534     * Moose::Meta::Method::Constructor
535       - Added support for lazy_build option (groditi)
536
537     * t/
538       - tests for builder and lazy_build (groditi)
539
540     * fixing some misc. bits in the docs that
541       got mentioned on CPAN Forum & perlmonks
542
543     * Moose::Meta::Role
544       - fixed how required methods are handled
545         when they encounter overriden or modified
546         methods from a class (thanks to confound).
547         - added tests for this
548
549     * Moose::Util::TypeConstraint
550       - fixed the type notation parser so that
551         the | always creates a union and so is
552         no longer a valid type char (thanks to
553         konobi, mugwump and #moose for working
554         this one out.)
555         - added more tests for this
556
557 0.26 Thurs. Sept. 27, 2007
558     == New Features ==
559
560     * Parameterized Types
561       We now support parameterized collection types, such as:
562           ArrayRef[Int]    # array or integers
563           HashRef[Object]  # a hash with object values
564       They can also be nested:
565           ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
566       And work with the type unions as well:
567           ArrayRef[Int | Str]  # array of integers of strings
568
569     * Better Framework Extendability
570       Moose.pm is now "extendable" such that it is now much
571       easier to extend the framework and add your own keywords
572       and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
573       section of the Moose.pm docs.
574
575     * Moose Snacks!
576       In an effort to begin documenting some of the various
577       details of Moose as well as some common idioms, we have
578       created Moose::Cookbook::Snacks as a place to find
579       small (easily digestable) nuggets of Moose code.
580
581     ====
582     ~ Several doc updates/cleanup thanks to castaway ~
583
584     - converted build system to use Module::Install instead of
585       Module::Build (thanks to jrockway)
586
587     * Moose
588       - added all the meta classes to the immutable list and
589         set it to inline the accessors
590       - fix import to allow Sub::Exporter like { into => }
591             and { into_level => } (perigrin)
592       - exposed and documented init_meta() to allow better
593             embedding and extending of Moose (perigrin)
594
595         * t/
596           - complete re-organization of the test suite
597           - added some new tests as well
598           - finally re-enabled the Moose::POOP test since
599             the new version of DBM::Deep now works again
600             (thanks rob)
601
602     * Moose::Meta::Class
603       - fixed very odd and very nasty recursion bug with
604         inner/augment (mst)
605         - added tests for this (eilara)
606
607     * Moose::Meta::Attribute
608       Moose::Meta::Method::Constructor
609       Moose::Meta::Method::Accessor
610       - fixed issue with overload::Overloaded getting called
611         on non-blessed items. (RT #29269)
612         - added tests for this
613
614     * Moose::Meta::Method::Accessor
615       - fixed issue with generated accessor code making
616         assumptions about hash based classes (thanks to dexter)
617
618     * Moose::Coookbook::Snacks
619       - these are bits of documentation, not quite as big as
620         Recipes but which have no clear place in the module docs.
621         So they are Snacks! (horray for castaway++)
622
623     * Moose::Cookbook::Recipe4
624       - updated it to use the new ArrayRef[MyType] construct
625         - updated the accompanying test as well
626
627     +++ Major Refactor of the Type Constraint system +++
628     +++       with new features added as well        +++
629
630     * Moose::Util::TypeConstraint
631       - no longer uses package variable to keep track of
632         the type constraints, now uses the an instance of
633         Moose::Meta::TypeConstraint::Registry to do it
634       - added more sophisticated type notation parsing
635         (thanks to mugwump)
636         - added tests for this
637
638     * Moose::Meta::TypeConstraint
639       - some minor adjustments to make subclassing easier
640       - added the package_defined_in attribute so that we
641         can track where the type constraints are created
642
643     * Moose::Meta::TypeConstraint::Union
644       - this is now been refactored to be a subclass of
645         Moose::Meta::TypeConstraint
646
647     * Moose::Meta::TypeCoercion::Union
648       - this has been added to service the newly refactored
649         Moose::Meta::TypeConstraint::Union and is itself
650         a subclass of Moose::Meta::TypeCoercion
651
652     * Moose::Meta::TypeConstraint::Parameterized
653       - added this module (taken from MooseX::AttributeHelpers)
654         to help construct nested collection types
655         - added tests for this
656
657     * Moose::Meta::TypeConstraint::Registry
658       - added this class to keep track of type constraints
659
660 0.25 Mon. Aug. 13, 2007
661     * Moose
662       - Documentation update to reference Moose::Util::TypeConstraints
663         under 'isa' in 'has' for how to define a new type
664         (thanks to shlomif).
665
666     * Moose::Meta::Attribute
667       - required attributes now will no longer accept undef
668         from the constructor, even if there is a default and lazy
669         - added tests for this
670       - default subroutines must return a value which passes the
671         type constraint
672         - added tests for this
673
674     * Moose::Meta::Attribute
675     * Moose::Meta::Method::Constructor
676     * Moose::Meta::Method::Accessor
677       - type-constraint tests now handle overloaded objects correctly
678         in the error message
679         - added tests for this (thanks to EvanCarroll)
680
681     * Moose::Meta::TypeConstraint::Union
682       - added (has_)hand_optimized_constraint to this class so that
683         it behaves as the regular Moose::Meta::TypeConstraint does.
684
685     * Moose::Meta::Role
686       - large refactoring of this code
687       - added several more tests
688         - tests for subtle conflict resolition issues
689           added, but not currently running
690           (thanks to kolibre)
691
692     * Moose::Cookbook::Recipe7
693       - added new recipe for augment/inner functionality
694         (still in progress)
695         - added test for this
696
697     * Moose::Spec::Role
698       - a formal definition of roles (still in progress)
699
700     * Moose::Util
701       - utilities for easier working with Moose classes
702         - added tests for these
703
704     * Test::Moose
705       - This contains Moose specific test functions
706         - added tests for these
707
708 0.24 Tues. July 3, 2007
709     ~ Some doc updates/cleanup ~
710
711     * Moose::Meta::Attribute
712       - added support for roles to be given as parameters
713         to the 'handles' option.
714         - added tests and docs for this
715       - the has '+foo' attribute form now accepts changes to
716         the lazy option, and the addition of a handles option
717         (but not changing the handles option)
718         - added tests and docs for this
719
720     * Moose::Meta::Role
721       - required methods are now fetched using find_method_by_name
722         so that required methods can come from superclasses
723         - adjusted tests for this
724
725 0.23 Mon. June 18, 2007
726     * Moose::Meta::Method::Constructor
727       - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
728     * Moose::Meta::Class
729       - Modify make_immutable to work with the new Class::MOP immutable
730         mechanism + POD + very basic test (groditi)
731     * Moose::Meta::Attribute
732       - Fix handles to use goto() so that caller() comes out properly on
733         the other side (perigrin)
734
735 0.22 Thurs. May 31, 2007
736     * Moose::Util::TypeConstraints
737       - fix for prototype undeclared issue when Moose::Util::TypeConstraints
738         loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
739         prototypes for functions
740       - added the ClassName type constraint, this checks for strings
741         which will respond true to ->isa(UNIVERSAL).
742         - added tests and docs for this
743       - subtyping just in name now works correctly by making the
744         default for where be { 1 }
745         - added test for this
746
747     * Moose::Meta::Method::Accessor
748       - coerce and lazy now work together correctly, thanks to
749         merlyn for finding this bug
750         - tests added for this
751       - fix reader presedence bug in Moose::Meta::Attribute + tests
752
753     * Moose::Object
754       - Foo->new(undef) now gets ignored, it is assumed you meant to pass
755         a HASH-ref and missed. This produces better error messages then
756         having it die cause undef is not a HASH.
757         - added tests for this
758
759 0.21 Thursday, May 2nd, 2007
760     * Moose
761       - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
762       - modified unimport to remove super and inner along with the rest
763         - altered unimport tests to handle this
764
765     * Moose::Role
766       - altered super export to populate SUPER_SLOT
767
768     * Moose::Meta::Class
769       - altered augment and override modifier application to use *_SLOT
770         - modified tests for these to unimport one test class each to test
771
772     * Moose::Meta::Role
773       - fixed issue where custom attribute metaclasses
774         where not handled correctly in roles
775         - added tests for this
776
777     * Moose::Meta::Class
778       - fixed issue where extending metaclasses with
779         roles would blow up. Thanks to Aankhen`` for
780         finding this insidious error, and it's solution.
781
782     ~~ lots of spelling and grammer fixes in the docs,
783        many many thanks to rlb3 and Aankhen for these :)
784
785 0.20 Friday, April 6th, 2007
786     >> I messed up the SKIP logic in one test
787        so this release is just to fix that.
788
789     * Moose
790       - 'has' now also accepts an ARRAY ref
791         to create multiple attrs (see docs)
792         (thanks to konobi for this)
793          - added tests and docs
794
795 0.19 Thurs. April 5th, 2007
796     ~~ More documentation updates ~~
797
798     * Moose::Util::TypeConstraints
799       - 'type' now supports messages as well
800         thanks to phaylon for finding this
801         - added tests for this
802       - added &list_all_type_constraints and
803         &list_all_builtin_type_constraints
804         functions to facilitate introspection.
805
806     * Moose::Meta::Attribute
807       - fixed regexp 'handles' declarations
808         to build the list of delegated methods
809         correctly (and not override important
810         things like &new) thanks to ashleyb
811         for finding this
812         - added tests and docs for this
813       - added the 'documentation' attributes
814         so that you can actually document your
815         attributes and inspect them through the
816         meta-object.
817         - added tests and docs for this
818
819     * Moose::Meta::Class
820       - when loading custom attribute metaclasses
821         it will first look in for the class in the
822         Moose::Meta::Attribute::Custom::$name, and
823         then default to just loading $name.
824         - added tests and docs for this
825
826     * Moose::Meta::TypeConstraint
827       - type constraints now stringify to their names.
828         - added test for this
829
830     * misc.
831       - added tests to assure we work with Module::Refresh
832       - added stricter test skip logic in the Moose POOP
833         test, ask Rob Kinyon why.
834         - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
835
836 0.18 Sat. March 10, 2007
837     ~~ Many, many documentation updates ~~
838
839     * misc.
840       - We now use Class::MOP::load_class to
841         load all classes.
842       - added tests to show types and subtypes
843         working with Declare::Constraints::Simple
844         and Test::Deep as constraint engines.
845
846 0.18_001
847     !! You must have Class::MOP 0.37_001  !!
848     !! for this developer release to work !!
849
850     This release was primarily adding the immutable
851     feature to Moose. An immutable class is one which
852     you promise not to alter. When you set the class
853     as immutable it will perform various bits of
854     memoization and inline certain part of the code
855     (constructors, destructors and accessors). This
856     minimizes (and in some cases totally eliminates)
857     one of Moose's biggest performance hits. This
858     feature is not on by default, and is 100% optional.
859     It has several configurable bits as well, so you
860     can pick and choose to your specific needs.
861
862     The changes involved in this were fairly wide and
863     highly specific, but 100% backwards compatible, so
864     I am not going to enumerate them here. If you are
865     truely interested in what was changed, please do
866     a diff :)
867
868 0.17 Tues. Nov. 14, 2006
869     * Moose::Meta::Method::Accessor
870       - bugfix for read-only accessors which
871         are have a type constraint and lazy.
872         Thanks to chansen for finding it.
873
874 0.16 Tues. Nov. 14, 2006
875     ++ NOTE ++
876     There are some speed improvements in this release,
877     but they are only the begining, so stay tuned.
878
879     * Moose::Object
880       - BUILDALL and DEMOLISHALL no longer get
881         called unless they actually need to be.
882         This gave us a signifigant speed boost
883         for the cases when there is no BUILD or
884         DEMOLISH method present.
885
886     * Moose::Util::TypeConstraints
887     * Moose::Meta::TypeConstraint
888       - added an 'optimize_as' option to the
889         type constraint, which allows for a
890         hand optimized version of the type
891         constraint to be used when possible.
892       - Any internally created type constraints
893         now provide an optimized version as well.
894
895 0.15 Sun. Nov. 5, 2006
896     ++ NOTE ++
897     This version of Moose *must* have Class::MOP 0.36 in order
898     to work correctly. A number of small internal tweaks have
899     been made in order to be compatible with that release.
900
901     * Moose::Util::TypeConstraints
902       - added &unimport so that you can clean out
903         your class namespace of these exported
904         keywords
905
906     * Moose::Meta::Class
907       - fixed minor issue which occasionally
908         comes up during global destruction
909         (thanks omega)
910       - moved Moose::Meta::Method::Overriden into
911         its own file.
912
913     * Moose::Meta::Role
914       - moved Moose::Meta::Role::Method into
915         its own file.
916
917     * Moose::Meta::Attribute
918       - changed how we do type checks so that
919         we reduce the overall cost, but still
920         retain correctness.
921        *** API CHANGE ***
922       - moved accessor generation methods to
923         Moose::Meta::Method::Accessor to
924         conform to the API changes from
925         Class::MOP 0.36
926
927     * Moose::Meta::TypeConstraint
928       - changed how constraints are compiled
929         so that we do less recursion and more
930         iteration. This makes the type check
931         faster :)
932       - moved Moose::Meta::TypeConstraint::Union
933         into its own file
934
935     * Moose::Meta::Method::Accessor
936       - created this from methods formerly found in
937         Moose::Meta::Attribute
938
939     * Moose::Meta::Role::Method
940       - moved this from Moose::Meta::Role
941
942     * Moose::Meta::Method::Overriden
943       - moved this from Moose::Meta::Class
944
945     * Moose::Meta::TypeConstraint::Union
946       - moved this from Moose::Meta::TypeConstraint
947
948 0.14 Mon. Oct. 9, 2006
949
950     * Moose::Meta::Attribute
951       - fixed lazy attributes which were not getting
952         checked with the type constraint (thanks ashley)
953         - added tests for this
954       - removed the over-enthusiastic DWIMery of the
955         automatic ArrayRef and HashRef defaults, it
956         broke predicates in an ugly way.
957         - removed tests for this
958
959 0.13 Sat. Sept. 30, 2006
960     ++ NOTE ++
961     This version of Moose *must* have Class::MOP 0.35 in order
962     to work correctly. A number of small internal tweaks have
963     been made in order to be compatible with that release.
964
965     * Moose
966       - Removed the use of UNIVERSAL::require to be a better
967         symbol table citizen and remove a dependency
968         (thanks Adam Kennedy)
969
970       **~~ removed experimental & undocumented feature ~~**
971       - commented out the 'method' and 'self' keywords, see the
972         comments for more info.
973
974     * Moose::Cookbook
975       - added a FAQ and WTF files to document frequently
976         asked questions and common problems
977
978     * Moose::Util::TypeConstraints
979       - added GlobRef and FileHandle type constraint
980         - added tests for this
981
982     * Moose::Meta::Attribute
983       - if your attribute 'isa' ArrayRef of HashRef, and you have
984         not explicitly set a default, then make the default DWIM.
985         This will also work for subtypes of ArrayRef and HashRef
986         as well.
987       - you can now auto-deref subtypes of ArrayRef or HashRef too.
988         - new test added for this (thanks to ashley)
989
990     * Moose::Meta::Role
991       - added basic support for runtime role composition
992         but this is still *highly experimental*, so feedback
993         is much appreciated :)
994         - added tests for this
995
996     * Moose::Meta::TypeConstraint
997       - the type constraint now handles the coercion process
998         through delegation, this is to support the coercion
999         of unions
1000
1001     * Moose::Meta::TypeConstraint::Union
1002       - it is now possible for coercions to be performed
1003         on a type union
1004         - added tests for this (thanks to konobi)
1005
1006     * Moose::Meta::TypeCoercion
1007       - properly capturing error when type constraint
1008         is not found
1009
1010     * Build.PL
1011       - Scalar::Util 1.18 is bad on Win32, so temporarily
1012         only require version 1.17 for Win32 and cygwin.
1013         (thanks Adam Kennedy)
1014
1015 0.12 Sat. Sept. 1, 2006
1016     * Moose::Cookbook
1017       - Recipe5 (subtypes & coercion) has been written
1018
1019     * Moose
1020       - fixed "bad meta" error message to be more descriptive
1021       - fixed &unimport to not remove the &inner and &super
1022         keywords because we need to localize them.
1023       - fixed number of spelling/grammer issues, thanks Theory :)
1024
1025       **~~ experimental & undocumented feature ~~**
1026       - added the method and self keywords, they are basically
1027         just sugar, and they may not stay around.
1028
1029     * Moose::Object
1030       - added &dump method to easily Data::Dumper
1031         an object
1032
1033     * Moose::Meta::TypeConstraint
1034       - added the &is_a_type_of method to check both the current
1035         and the subtype of a method (similar to &isa with classes)
1036
1037     * Moose::Meta::Role
1038       - this is now a subclass of Class::MOP::Module, and no longer
1039         creates the _role_meta ugliness of before.
1040         - fixed tests to reflect this change
1041
1042 0.11 Wed. July 12, 2006
1043     * Moose
1044       - added an &unimport method to remove all the keywords
1045         that Moose will import, simply add 'no Moose' to the
1046         bottom of your class file.
1047
1048     * t/
1049       - fixed some test failures caused by a forgotten test
1050         dependency.
1051
1052 0.10 Thurs. July 6, 2006
1053     * Moose
1054       - improved error message when loading modules so
1055         it is less confusing when you load a role.
1056       - added &calculate_all_roles method to
1057         Moose::Meta::Class and Moose::Meta::Role
1058
1059     NOTE:
1060     This module has been tested against Class::MOP 0.30
1061     but it does not yet utilize the optimizations
1062     it makes available. Stay tuned for that ;)
1063
1064 0.09_03 Fri. June 23, 2006
1065     ++ DEVELOPER RELEASE ++
1066     * Moose
1067       - 'use strict' and 'use warnings' are no longer
1068          needed in Moose classes, Moose itself will
1069          turn them on for you.
1070          - added tests for this
1071       - moved code from exported subs to private methods
1072         in Moose::Meta::Class
1073
1074     * Moose::Role
1075       - as with Moose, strict and warnings are
1076         automatically turned on for you.
1077          - added tests for this
1078
1079     * Moose::Meta::Role
1080       - now handles an edge case for override errors
1081         - added tests for this
1082       - added some more edge case tests
1083
1084 0.09_02 Tues. May 16, 2006
1085     ++ DEVELOPER RELEASE ++
1086     * Moose
1087       - added prototypes to the exported subs
1088       - updated docs
1089
1090     * Moose::Role
1091       - added prototypes to the exported subs
1092       - updated docs
1093
1094     * Moose::Util::TypeConstraints
1095       - cleaned up prototypes for the subs
1096       - updated docs
1097
1098 0.09_01 Fri. May 12, 2006
1099     ++ DEVELOPER RELEASE ++
1100       - This release works in combination with
1101         Class::MOP 0.29_01, it is a developer
1102         release because it uses the a new
1103         instance sub-protocol and a fairly
1104         complete Role implementation. It has
1105         not yet been optimized, so it slower
1106         the the previous CPAN version. This
1107         release also lacks good updated docs,
1108         the official release will have updated docs.
1109
1110     * Moose
1111       - refactored the keyword exports
1112         - 'with' now checks Role validaity and
1113           accepts more than one Role at a time
1114         - 'extends' makes metaclass adjustments as
1115            needed to ensure metaclass compatability
1116
1117     * Moose::Role
1118       - refactored the keyword exports
1119         - 'with' now checks Role validaity and
1120           accepts more than one Role at a time
1121
1122     * Moose::Util::TypeConstraints
1123       - added the 'enum' keyword for simple
1124         string enumerations which can be used as
1125         type constraints
1126         - see example of usage in t/202_example.t
1127
1128     * Moose::Object
1129       - more careful checking of params to new()
1130
1131     * Moose::Meta::Role
1132       - much work done on the role composition
1133         - many new tests for conflict detection
1134           and composition edge cases
1135         - not enough documentation, I suggest
1136           looking at the tests
1137
1138     * Moose::Meta::Instance
1139       - added new Instance metaclass to support
1140         the new Class::MOP instance protocol
1141
1142     * Moose::Meta::Class
1143       - some small changes to support the new
1144         instance protocol
1145       - some small additions to support Roles
1146
1147     * Moose::Meta::Attribute
1148       - some improvements to the accessor generation code
1149         by nothingmuch
1150       - some small changes to support the new
1151         instance protocol
1152       - (still somewhat) experimental delegation support
1153         with the 'handles' option
1154         - added several tests for this
1155         - no docs for this yet
1156
1157 0.05 Thurs. April 27, 2006
1158     * Moose
1159       - keywords are now exported with Sub::Exporter
1160         thanks to chansen for this commit
1161       - has keyword now takes a 'metaclass' option
1162         to support custom attribute meta-classes
1163         on a per-attribute basis
1164         - added tests for this
1165       - the 'has' keyword not accepts inherited slot
1166         specifications (has '+foo'). This is still an
1167         experimental feature and probably not finished
1168         see t/038_attribute_inherited_slot_specs.t for
1169         more details, or ask about it on #moose
1170         - added tests for this
1171
1172     * Moose::Role
1173       - keywords are now exported with Sub::Exporter
1174
1175     * Moose::Utils::TypeConstraints
1176       - reorganized the type constraint hierarchy, thanks
1177         to nothingmuch and chansen for his help and advice
1178         on this
1179         - added some tests for this
1180       - keywords are now exported with Sub::Exporter
1181         thanks to chansen for this commit
1182
1183     * Moose::Meta::Class
1184       - due to changes in Class::MOP, we had to change
1185         construct_instance (for the better)
1186
1187     * Moose::Meta::Attribute
1188       - due to changes in Class::MOP, we had to add the
1189         initialize_instance_slot method (it's a good thing)
1190
1191     * Moose::Meta::TypeConstraint
1192       - added type constraint unions
1193         - added tests for this
1194       - added the is_subtype_of predicate method
1195         - added tests for this
1196
1197 0.04 Sun. April 16th, 2006
1198     * Moose::Role
1199       - Roles can now consume other roles
1200         - added tests for this
1201       - Roles can specify required methods now with
1202         the requires() keyword
1203         - added tests for this
1204
1205     * Moose::Meta::Role
1206       - ripped out much of it's guts ,.. much cleaner now
1207       - added required methods and correct handling of
1208         them in apply() for both classes and roles
1209         - added tests for this
1210       - no longer adds a does() method to consuming classes
1211         it relys on the one in Moose::Object
1212       - added roles attribute and some methods to support
1213         roles consuming roles
1214
1215     * Moose::Meta::Attribute
1216       - added support for triggers on attributes
1217         - added tests for this
1218       - added support for does option on an attribute
1219         - added tests for this
1220
1221     * Moose::Meta::Class
1222       - added support for attribute triggers in the
1223         object construction
1224         - added tests for this
1225
1226     * Moose
1227       - Moose no longer creates a subtype for your class
1228         if a subtype of the same name already exists, this
1229         should DWIM in 99.9999% of all cases
1230
1231     * Moose::Util::TypeConstraints
1232       - fixed bug where incorrect subtype conflicts were
1233         being reported
1234         - added test for this
1235
1236     * Moose::Object
1237       - this class can now be extended with 'use base' if
1238         you need it, it properly loads the metaclass class now
1239         - added test for this
1240
1241 0.03_02 Wed. April 12, 2006
1242     * Moose
1243       - you must now explictly use Moose::Util::TypeConstraints
1244         it no longer gets exported for you automatically
1245
1246     * Moose::Object
1247       - new() now accepts hash-refs as well as key/value lists
1248       - added does() method to check for Roles
1249         - added tests for this
1250
1251     * Moose::Meta::Class
1252       - added roles attribute along with the add_role() and
1253         does_role() methods
1254         - added tests for this
1255
1256     * Moose::Meta::Role
1257       - now adds a does() method to consuming classes
1258         which tests the class's hierarchy for roles
1259         - added tests for this
1260
1261 0.03_01 Mon. April 10, 2006
1262     * Moose::Cookbook
1263       - added new Role recipe (no content yet, only code)
1264
1265     * Moose
1266       - added 'with' keyword for Role support
1267         - added test and docs for this
1268       - fixed subtype quoting bug
1269         - added test for this
1270
1271     * Moose::Role
1272       - Roles for Moose
1273         - added test and docs
1274
1275     * Moose::Util::TypeConstraints
1276       - added the message keyword to add custom
1277         error messages to type constraints
1278
1279     * Moose::Meta::Role
1280       - the meta role to support Moose::Role
1281         - added tests and docs
1282
1283     * Moose::Meta::Class
1284       - moved a number of things from Moose.pm
1285         to here, they should have been here
1286         in the first place
1287
1288     * Moose::Meta::Attribute
1289       - moved the attribute option macros here
1290         instead of putting them in Moose.pm
1291
1292     * Moose::Meta::TypeConstraint
1293       - added the message attributes and the
1294         validate method
1295         - added tests and docs for this
1296
1297 0.03 Thurs. March 30, 2006
1298     * Moose::Cookbook
1299       - added the Moose::Cookbook with 5 recipes,
1300         describing all the stuff Moose can do.
1301
1302     * Moose
1303       - fixed an issue with &extends super class loading
1304         it now captures errors and deals with inline
1305         packages correctly (bug found by mst, solution
1306         stolen from alias)
1307       - added super/override & inner/augment features
1308         - added tests and docs for these
1309
1310     * Moose::Object
1311       - BUILDALL now takes a reference of the %params
1312         that are passed to &new, and passes that to
1313         each BUILD as well.
1314
1315     * Moose::Util::TypeConstraints
1316       - Type constraints now survive runtime reloading
1317         - added test for this
1318
1319         * Moose::Meta::Class
1320           - fixed the way attribute defaults are handled
1321             during instance construction (bug found by chansen)
1322
1323     * Moose::Meta::Attribute
1324       - read-only attributes now actually enforce their
1325         read-only-ness (this corrected in Class::MOP as
1326         well)
1327
1328 0.02 Tues. March 21, 2006
1329     * Moose
1330       - many more tests, fixing some bugs and
1331         edge cases
1332       - &extends now loads the base module with
1333         UNIVERSAL::require
1334         - added UNIVERSAL::require to the
1335           dependencies list
1336       ** API CHANGES **
1337       - each new Moose class will also create
1338         and register a subtype of Object which
1339         correspond to the new Moose class.
1340       - the 'isa' option in &has now only
1341         accepts strings, and will DWIM in
1342         almost all cases
1343
1344     * Moose::Util::TypeConstraints
1345       - added type coercion features
1346         - added tests for this
1347         - added support for this in attributes
1348           and instance construction
1349       ** API CHANGES **
1350       - type construction no longer creates a
1351         function, it registers the type instead.
1352         - added several functions to get the
1353           registered types
1354
1355     * Moose::Object
1356       - BUILDALL and DEMOLISHALL were broken
1357         because of a mis-named hash key, Whoops :)
1358
1359     * Moose::Meta::Attribute
1360       - adding support for coercion in the
1361         autogenerated accessors
1362
1363     * Moose::Meta::Class
1364       - adding support for coercion in the
1365         instance construction
1366
1367     * Moose::Meta::TypeConstraint
1368     * Moose::Meta::TypeCoercion
1369           - type constraints and coercions are now
1370             full fledges meta-objects
1371
1372 0.01 Wed. March 15, 2006
1373     - Moooooooooooooooooose!!!