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