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