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