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