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