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