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