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