Weaken anon class metaclasses after updating them in the CMOP cache.
[gitmo/Moose.git] / Changes
1 Revision history for Perl extension Moose
2
3 0.5x
4     !! This release has an incompatible change regarding !!
5        how roles add methods to a class !!
6
7     * Roles and role application
8       ! Roles now add methods by calling add_method, not
9         alias_method. They make sure to always provide a method
10         object, which will be cloned internally. This means that it is
11         now possible to track the source of a method provided by a
12         role, and even follow its history through intermediate roles.
13
14         This means that methods added by a role now show up when
15         looking at a class's method list/map. (Dave Rolsky)
16
17     * Moose::Meta::Method::Delegation
18     * Moose::Meta::Attribute
19       - Delegation methods now have their own method class. (Dave
20         Rolsky)
21
22     * Moose::Exporter
23     * Moose
24       - Moose::Exporter will no longer remove a subroutine that the
25         exporting package re-exports. Moose re-exports the
26         Carp::confess function, among others. The reasoning is that we
27         cannot know whether you have also explicitly imported those
28         functions for your own use, so we err on the safe side and
29         always keep them. (Dave Rolsky)
30         - added tests for this (rafl)
31
32      * Moose::Meta::Class
33        - Changes to how we fix metaclass compatibility that are much
34          too complicated to go into. The summary is that Moose is much
35          less likely to complain about metaclass incompatibility
36          now. In particular, if two metaclasses differ because
37          Moose::Util::MetaRole was used on the two corresponding
38          classes, then the difference in roles is reconciled for the
39          subclass's metaclass. (Dave Rolsky)
40
41 0.57 Wed September 3, 2008
42     * Moose::Intro
43       - A new bit of doc intended to introduce folks familiar with
44         "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
45
46     * Moose::Unsweetened
47       - Shows examples of two classes, each done first with and then
48         without Moose. This makes a nice parallel to
49         Moose::Intro. (Dave Rolsky)
50
51     * Moose::Util::TypeConstraints
52       - Fixed a bug in find_or_parse_type_constraint so that it
53         accepts a Moose::Meta::TypeConstraint object as the parent
54         type, not just a name (jnapiorkowski)
55         - added tests (jnapiorkowski)
56
57     * Moose::Exporter
58       - If Sub::Name was not present, unimporting failed to actually
59         remove some sugar subs, causing test failures (Dave Rolsky)
60
61 0.56 Mon September 1, 2008
62     For those not following the series of dev releases, there are
63     several major changes in this release of Moose.
64       ! Moose::init_meta should now be called as a method. See the
65         docs for details.
66
67       - Major performance improvements by nothingmuch.
68
69       - New modules for extension writers, Moose::Exporter and
70         Moose::Util::MetaRole by Dave Rolsky.
71
72       - Lots of doc improvements and additions, especially in the
73         cookbook sections.
74
75       - Various bug fixes.
76
77     * Removed all references to the experimental-but-no-longer-needed
78       Moose::Meta::Role::Application::ToMetaclassInstance.
79
80     * Require Class::MOP 0.65.
81
82 0.55_04 Sat August 30, 2008
83     * Moose::Util::MetaRole
84     * Moose::Cookbook::Extending::Recipe2
85       - This simplifies the application of roles to any meta class, as
86         well as the base object class. Reimplemented metaclass traits
87         using this module. (Dave Rolsky)
88
89     * Moose::Cookbook::Extending::Recipe1
90       - This a new recipe, an overview of various ways to write Moose
91         extensions (Dave Rolsky)
92
93     * Moose::Cookbook::Extending::Recipe3
94     * Moose::Cookbook::Extending::Recipe4
95       - These used to be Extending::Recipe1 and Extending::Recipe2,
96         respectively.
97
98 0.55_03 Fri August 29, 2008
99     * No changes from 0.55_02 except increasing the Class::MOP
100       dependency to 0.64_07.
101
102 0.55_02 Fri August 29, 2008
103     * Makefile.PL and Moose.pm
104       - explicitly require Perl 5.8.0+ (Dave Rolsky)
105
106     * Moose::Util::TypeConstraints
107       - Fix warnings from find_type_constraint if the type is not 
108         found (t0m).
109       
110     * Moose::Meta::TypeConstraint
111       - Predicate methods (equals/is_a_type_of/is_subtype_of) now
112         return false if the type you specify cannot be found in the
113         type registry, rather than throwing an unhelpful and
114         coincidental exception. (t0m).
115         - added docs & test for this (t0m)
116     
117     * Moose::Meta::TypeConstraint::Registry
118       - add_type_constraint now throws an exception if a parameter is
119         not supplied (t0m).
120         - added docs & test for this (t0m)
121
122     * Moose::Cookbook::FAQ
123       - Added a faq entry on the difference between "role" and "trait"
124         (t0m)
125
126     * Moose::Meta::Role
127       - Fixed a bug that caused role composition to not see a required
128         method when that method was provided by another role being
129         composed at the same time. (Dave Rolsky)
130         - test and bug finding (tokuhirom)
131         
132 0.55_01 Wed August 20, 2008
133
134     !! Calling Moose::init_meta as a function is now         !!
135     !! deprecated. Please see the Moose.pm docs for details. !!
136
137     * Moose::Meta::Method::Constructor
138       - Fix inlined constructor so that values produced by default
139         or builder methods are coerced as required. (t0m)
140         - added test for this (t0m)
141
142     * Moose::Meta::Attribute
143       - A lazy attribute with a default or builder did not attempt to
144         coerce the default value. The immutable code _did_
145         coerce. (t0m)
146         - added test for this (t0m)
147
148     * Moose::Exporter
149       - This is a new helper module for writing "Moose-alike"
150         modules. This should make the lives of MooseX module authors
151         much easier. (Dave Rolsky)
152
153     * Moose
154     * Moose::Cookbook::Meta::Recipe5
155       - Implemented metaclass traits (and wrote a recipe for it):
156
157           use Moose -traits => 'Foo'
158
159         This should make writing small Moose extensions a little
160         easier (Dave Rolsky)
161
162     * Moose::Cookbook::Basics::Recipe1
163       - Removed any examples of direct hashref access, and applied an
164         editorial axe to reduce verbosity. (Dave Rolsky)
165
166     * Moose::Cookbook::Basics::Recipe1
167       - Also applied an editorial axe here. (Dave Rolsky)
168
169     * Moose
170     * Moose::Cookbook::Extending::Recipe1
171     * Moose::Cookbook::Extending::Recipe2
172       - Rewrote extending and embedding moose documentation and
173         recipes to use Moose::Exporter (Dave Rolsky)
174
175     * Moose
176     * Moose::Role
177       - These two modules now warn when you load them from the main
178         package "main" package, because we will not export sugar to
179         main. Previously it just did nothing. (Dave Rolsky)
180
181     * Moose::Role
182       - Now provide an init_meta method just like Moose.pm, and you
183         can call this to provide an alternate role metaclass. (Dave
184         Rolsky and nothingmuch)
185       - get_method_map now respects the package cache flag (nothingmuch)
186
187     * Moose::Meta::Role
188       - Two new methods - add_method and wrap_method_body
189         (nothingmuch)
190
191     * many modules
192       - Optimizations including allowing constructors to accept hash
193         refs, making many more classes immutable, and making
194         constructors immutable. (nothingmuch)
195
196 0.55 Sun August 3, 2008
197     * Moose::Meta::Attribute
198       - breaking down the way 'handles' methods are
199         created so that the process can be more easily
200         overridden by subclasses (stevan)
201
202     * Moose::Meta::TypeConstraint
203       - fixing what is passed into a ->message with
204         the type constraints (RT #37569)
205         - added tests for this (Charles Alderman)
206
207     * Moose::Util::TypeConstraints
208       - fix coerce to accept anon types like subtype can (mst)
209
210     * Moose::Cookbook
211       - reorganized the recipes into sections - Basics, Roles, Meta,
212         Extending - and wrote abstracts for each section (Dave Rolsky)
213
214     * Moose::Cookbook::Basics::Recipe10
215       - A new recipe that demonstrates operator overloading
216         in combination with Moose. (bluefeet)
217
218     * Moose::Cookbook::Meta::Recipe1
219       - an introduction to what meta is and why you'd want to make
220         your own metaclass extensions (Dave Rolsky)
221
222     * Moose::Cookbook::Meta::Recipe4
223       - a very simple metaclass example (Dave Rolsky)
224
225     * Moose::Cookbook::Extending::Recipe1
226       - how to write a Moose-alike module to use your own object base
227         class (Dave Rolsky)
228
229     * Moose::Cookbook::Extending::Recipe2
230       - how to write modules with an API just like C<Moose.pm> (Dave
231         Rolsky)
232
233     * all documentation
234       - Tons of fixes, both syntactical and grammatical (Dave
235         Rolsky, Paul Fenwick)
236
237 0.54 Thurs. July 3, 2008
238     ... this is not my day today ...
239     
240     * Moose::Meta::Attribute
241       - fixed legal_options_for_inheritance such that 
242         clone_and_inherit options still works for 
243         Class::MOP::Attribute objects and therefore 
244         does not break MooseX::AttributeHelpers
245         (stevan)
246
247 0.53 Thurs. July 3, 2008
248     * Whoops, I guess I should run 'make manifest' before 
249       actually releasing the module. No actual changes 
250       in this release, except the fact that it includes
251       the changes that I didn't include in the last 
252       release. (stevan--)
253
254 0.52 Thurs. July 3, 2008
255     * Moose
256       - added "FEATURE REQUESTS" section to the Moose docs
257         to properly direct people (stevan) (RT #34333)
258       - making 'extends' croak if it is passed a Role since 
259         this is not ever something you want to do 
260         (fixed by stevan, found by obra)
261         - added tests for this (stevan)
262
263     * Moose::Object
264       - adding support for DOES (as in UNIVERSAL::DOES) 
265         (nothingmuch)
266         - added test for this
267
268     * Moose::Meta::Attribute
269       - added legal_options_for_inheritance (wreis)
270         - added tests for this (wreis)
271
272     * Moose::Cookbook::Snacks::*
273       - removed some of the unfinished snacks that should 
274         not have been released yet. Added some more examples
275         to the 'Keywords' snack. (stevan)
276
277     * Moose::Cookbook::Style
278       - added general Moose "style guide" of sorts to the 
279         cookbook (nothingmuch) (RT #34335)
280
281     * t/
282       - added more BUILDARGS tests (stevan)
283
284 0.51 Thurs. Jun 26, 2008
285     * Moose::Role
286       - add unimport so "no Moose::Role" actually does
287         something (sartak)
288
289     * Moose::Meta::Role::Application::ToRole
290       - when RoleA did RoleB, and RoleA aliased a method from RoleB in
291         order to provide its own implementation, that method still got
292         added to the list of required methods for consumers of
293         RoleB. Now an aliased method is only added to the list of
294         required methods if the role doing the aliasing does not
295         provide its own implementation. See Recipe 11 for an example
296         of all this. (Dave Rolsky)
297         - added tests for this
298
299     * Moose::Meta::Method::Constructor
300       - when a single argument that wasn't a hashref was provided to
301         an immutabilized constructor, the error message was very
302         unhelpful, as opposed to the non-immutable error. Reported by
303         dew. (Dave Rolsky)
304         - added test for this (Dave Rolsky)
305
306     * Moose::Meta::Attribute
307       - added support for meta_attr->does("ShortAlias") (sartak)
308         - added tests for this (sartak)
309       - moved the bulk of the `handles` handling to the new
310         install_delegation method (Stevan)
311
312     * Moose::Object
313       - Added BUILDARGS, a new step in new()
314
315     * Moose::Meta::Role::Application::RoleSummation
316       - fix typos no one ever sees (sartak)
317
318     * Moose::Util::TypeConstraints
319     * Moose::Meta::TypeConstraint
320     * Moose::Meta::TypeCoercion
321       - Attempt to work around the ??{ } vs. threads issue
322         (not yet fixed)
323       - Some null_constraint optimizations
324
325 0.50 Thurs. Jun 11, 2008
326     - Fixed a version number issue by bumping all modules
327       to 0.50.
328
329 0.49 Thurs. Jun 11, 2008
330     !! This version now approx. 20-25% !!
331     !! faster with new Class::MOP 0.59 !!
332
333     * Moose::Meta::Attribute
334       - fixed how the is => (ro|rw) works with 
335         custom defined reader, writer and accessor
336         options. 
337         - added docs for this (TODO).
338         - added tests for this (Thanks to Penfold)
339       - added the custom attribute alias for regular
340         Moose attributes which is "Moose"
341       - fix builder and default both being used
342         (groditi)
343
344     * Moose
345       Moose::Meta::Class
346       Moose::Meta::Attribute
347       Moose::Meta::Role
348       Moose::Meta::Role::Composite
349       Moose::Util::TypeConstraints
350       - switched usage of reftype to ref because 
351         it is much faster
352         
353     * Moose::Meta::Role
354       - changing add_package_symbol to use the new
355         HASH ref form
356     
357     * Moose::Object
358       - fixed how DEMOLISHALL is called so that it 
359         can be overrided in subclasses (thanks to Sartak)
360         - added test for this (thanks to Sartak)
361
362     * Moose::Util::TypeConstraints
363       - move the ClassName type check code to
364         Class::MOP::is_class_loaded (thanks to Sartak)
365
366     * Moose::Cookbook::Recipe11
367       - add tests for this (thanks to tokuhirom)
368
369 0.48 Thurs. May 29, 2008
370     (early morning release engineering)--
371
372     - fixing the version in Moose::Meta::Method::Destructor
373       which was causing the indexer to choke
374
375 0.47 Thurs. May 29, 2008
376     (late night release engineering)--
377
378     - fixing the version is META.yml, no functional 
379       changes in this release
380
381 0.46 Wed. May 28, 2008
382     !! This version now approx. 20-25% !!
383     !! faster with new Class::MOP 0.57 !!
384
385     * Moose::Meta::Class
386       - some optimizations of the &initialize method
387         since it is called so often by &meta    
388         
389     * Moose::Meta::Class
390       Moose::Meta::Role
391       - now use the get_all_package_symbols from the 
392         updated Class::MOP, test suite is now 10 seconds 
393         faster
394     
395     * Moose::Meta::Method::Destructor
396       - is_needed can now also be called as a class 
397         method for immutablization to check if the 
398         destructor object even needs to be created 
399         at all
400     
401     * Moose::Meta::Method::Destructor
402       Moose::Meta::Method::Constructor
403       - added more descriptive error message to help 
404         keep people from wasting time tracking an error
405         that is easily fixed by upgrading.
406
407 0.45 Saturday, May 24, 2008
408     * Moose
409       - Because of work in Class::MOP 0.57, all 
410         XS based functionality is now optional
411         and a Pure Perl version is supplied
412         - the CLASS_MOP_NO_XS environment variable
413           can now be used to force non-XS versions 
414           to always be used   
415         - several of the packages have been tweaked
416           to take care of this, mostly we added
417           support for the package_name and name 
418           variables in all the Method metaclasses
419       - before/around/after method modifiers now 
420         support regexp matching of names
421         (thanks to Takatoshi Kitano)
422         - tests added for this
423         - NOTE: this only works for classes, it 
424           is currently not supported in roles, 
425           but, ... patches welcome
426       - All usage of Carp::confess have been replaced
427         by Carp::croak in the "keyword" functions since
428         the stack trace is usually not helpful
429       
430     * Moose::Role
431       - All usage of Carp::confess have been replaced
432         by Carp::croak in the "keyword" functions since
433         the stack trace is usually not helpful  
434       - The 'has' keyword for roles now accepts the 
435         same array ref form that Moose.pm does 
436         (has [qw/foo bar/] => (is => 'rw', ...))
437         - added test for this
438       
439     * Moose::Meta::Attribute
440       - trigger on a ro-attribute is no longer an
441         error, as it's useful to trigger off of the
442         constructor
443
444     * Moose::Meta::Class
445       - added same 'add_package_symbol' fix as in 
446         Class::MOP 0.57
447
448     * Moose::Util
449       - does_role now handles non-Moose classes 
450         more gracefully
451         - added tests for this
452       - added the 'add_method_modifier' function 
453         (thanks to Takatoshi Kitano)
454
455     * Moose::Util::TypeConstraints
456       - subtypes of parameterizable types now are 
457         themselves parameterizable types
458
459     * Moose::Meta::Method::Constructor
460       - fixed bug where trigger was not being 
461         called by the inlined immutable 
462         constructors 
463         - added test for this (thanks to Caelum)
464     
465     * Moose::Meta::Role::Application::ToInstance
466       - now uses the metaclass of the instance
467         (if possible) to create the anon-class
468         (thanks Jonathan Rockway)
469     
470     * Moose::Cookbook::Recipe22
471       - added the meta-attribute trait recipe
472         (thanks to Sartak)
473     
474     * t/
475       - fixed hash-ordering test bug that was 
476         causing occasional cpantester failures
477       - renamed the t/000_recipe/*.t tests to be 
478         more descriptive (thanks to Sartak) 
479
480 0.44 Sat. May 10, 2008
481     * Moose
482       - made make_immutable warning cluck to 
483         show where the error is (thanks mst)
484     
485     * Moose::Object
486       - BUILDALL and DEMOLISHALL now call 
487         ->body when looping through the 
488         methods, to avoid the overloaded
489         method call.
490       - fixed issue where DEMOLISHALL was
491         eating the $@ values, and so not 
492         working correctly, it still kind of
493         eats them, but so does vanilla perl 
494         - added tests for this
495       
496     * Moose::Cookbook::Recipe7
497       - added new recipe for immutable 
498         functionality (thanks Dave Rolsky)
499       
500     * Moose::Cookbook::Recipe9
501       - added new recipe for builder and 
502         lazy_build (thanks Dave Rolsky)
503       
504     * Moose::Cookbook::Recipe11
505       - added new recipe for method aliasing 
506         and exclusion with Roles (thanks Dave Rolsky)
507
508     * t/
509       - fixed Win32 test failure (thanks spicyjack)
510
511     ~ removed Build.PL and Module::Build compat 
512       since Module::Install has done that.
513
514 0.43 Wed. April, 30, 2008
515     * NOTE TO SELF:
516         drink more coffee before 
517         doing release engineering
518       
519     - whoops, forgot to do the smolder tests, 
520       and we broke some of the custom meta-attr
521       modules. This fixes that.
522
523 0.42 Mon. April 28, 2008
524     - some bad tests slipped by, nothing else 
525       changed in this release (cpantesters++)
526       
527     - upped the Class::MOP dependency to 0.55 
528       since we have tests which need the C3 
529       support
530
531 0.41 Mon. April 28, 2008
532     ~~ numerous documentation updates ~~
533     
534     - Changed all usage of die to Carp::croak for better
535       error reporting (initial patch by Tod Hagan)
536
537     ** IMPORTANT NOTE **
538     - the make_immutable keyword is now deprecated, don't
539       use it in any new code and please fix your old code
540       as well. There will be 2 releases, and then it will
541       be removed.
542
543     * Moose
544       Moose::Role
545       Moose::Meta::Class
546       - refactored the way inner and super work to avoid
547         any method/@ISA cache penalty (nothingmuch)
548
549     * Moose::Meta::Class
550       - fixing &new_object to make sure trigger gets the 
551         coerced value (spotted by Charles Alderman on the 
552         mailing list)
553         - added test for this
554
555     * Moose::Meta::Method::Constructor
556       - immutable classes which had non-lazy attributes were calling
557         the default generating sub twice in the constructor. (bug
558         found by Jesse Luehrs, fixed by Dave Rolsky)
559         - added tests for this (Dave Rolsky)
560       - fix typo in initialize_body method (nothingmuch)
561       
562     * Moose::Meta::Method::Destructor
563       - fix typo in initialize_body method (nothingmuch)
564
565     * Moose::Meta::Method::Overriden
566       Moose::Meta::Method::Augmented
567       - moved the logic for these into their own 
568         classes (nothingmuch)
569
570     * Moose::Meta::Attribute
571       - inherited attributes may now be extended without 
572         restriction on the type ('isa', 'does') (Sartak)
573         - added tests for this (Sartak)
574       - when an attribute property is malformed (such as lazy without 
575         a default), give the name of the attribute in the error 
576         message (Sartak)
577       - added the &applied_traits and &has_applied_traits methods 
578         to allow introspection of traits
579         - added tests for this
580       - moved 'trait' and 'metaclass' argument handling to here from
581         Moose::Meta::Class
582       - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
583         '+foo' syntax) (nothingmuch)
584         - added tests for this (t0m)
585      
586     * Moose::Object 
587       - localize $@ inside DEMOLISHALL to avoid it 
588         eating $@ (found by Ernesto)
589         - added test for this (thanks to Ernesto)
590
591     * Moose::Util::TypeConstraints
592       - &find_type_constraint now DWIMs when given an 
593         type constraint object or name (nothingmuch)
594       - &find_or_create_type_constraint superseded with a number of more
595         specific functions:
596         - find_or_create_{isa,does}_type_constraint
597         - find_or_parse_type_constraint
598
599     * Moose::Meta::TypeConstraint
600       Moose::Meta::TypeConstraint::Class
601       Moose::Meta::TypeConstraint::Role
602       Moose::Meta::TypeConstraint::Enum
603       Moose::Meta::TypeConstraint::Union
604       Moose::Meta::TypeConstraint::Parameterized
605         - added the &equals method for comparing two type 
606           constraints (nothingmuch)
607           - added tests for this (nothingmuch)
608
609     * Moose::Meta::TypeConstraint
610       - add the &parents method, which is just an alias to &parent. 
611         Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
612
613     * Moose::Meta::TypeConstraint::Class
614       - added the class attribute for introspection purposes
615         (nothingmuch)
616         - added tests for this
617         
618     * Moose::Meta::TypeConstraint::Enum
619       Moose::Meta::TypeConstraint::Role
620       - broke these out into their own classes (nothingmuch)
621
622     * Moose::Cookbook::Recipe*
623       - fixed references to test file locations in the POD
624         and updated up some text for new Moose features
625         (Sartak)
626
627     * Moose::Util
628       - Added &resolve_metaclass_alias, a helper function for finding an actual
629         class for a short name (e.g. in the traits list)
630
631 0.40 Fri. March 14, 2008
632     - I hate Pod::Coverage
633
634 0.39 Fri. March 14, 2008
635     * Moose
636       - documenting the use of '+name' with attributes 
637         that come from recently composed roles. It makes
638         sense, people are using it, and so why not just 
639         officially support it.
640       - fixing the 'extends' keyword so that it will not 
641         trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
642       
643     * oose
644       - added the perl -Moose=+Class::Name feature to allow 
645         monkeypatching of classes in one liners
646       
647     * Moose::Util
648       - fixing the 'apply_all_roles' keyword so that it will not 
649         trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)    
650     
651     * Moose::Meta::Class
652       - added ->create method which now supports roles (thanks to jrockway)
653         - added tests for this
654       - added ->create_anon_class which now supports roles and caching of 
655         the results (thanks to jrockway)
656         - added tests for this
657       - made ->does_role a little more forgiving when it is
658         checking a Class::MOP era metaclasses.
659     
660     * Moose::Meta::Role::Application::ToInstance
661       - it is now possible to pass extra params to be used when 
662         a role is applied to an the instance (rebless_params)
663         - added tests for this
664     
665     * Moose::Util::TypeConstraints
666       - class_type now accepts an optional second argument for a
667         custom message. POD anotated accordingly (groditi)
668         - added tests for this 
669       - it is now possible to make anon-enums by passing 'enum' an 
670         ARRAY ref instead of the $name => @values. Everything else 
671         works as before.
672         - added tests for this
673     
674     * t/
675       - making test for using '+name' on attributes consumed 
676         from a role, it works and makes sense too.    
677
678     * Moose::Meta::Attribute 
679       - fix handles so that it doesn't return nothing 
680         when the method cannot be found, not sure why 
681         it ever did this originally, this means we now
682         have slightly better support for AUTOLOADed 
683         objects
684         - added more delegation tests
685       - adding ->does method to this so as to better 
686         support traits and their introspection.
687         - added tests for this
688     
689     * Moose::Object
690       - localizing the Data::Dumper configurations so 
691         that it does not pollute others (RT #33509)
692       - made ->does a little more forgiving when it is
693         passed Class::MOP era metaclasses.
694
695 0.38 Fri. Feb. 15, 2008
696     * Moose::Meta::Attribute 
697       - fixed initializer to correctly do 
698         type checking and coercion in the 
699         callback 
700         - added tests for this
701
702     * t/
703       - fixed some finicky tests (thanks to konobi)
704
705 0.37 Thurs. Feb. 14, 2008
706     * Moose
707       - fixed some details in Moose::init_meta 
708         and its superclass handling (thanks thepler)
709         - added tests for this (thanks thepler)
710       - 'has' now dies if you don't pass in name 
711         value pairs
712       - added the 'make_immutable' keyword as a shortcut
713         to make_immutable
714
715     * Moose::Meta::Class
716       Moose::Meta::Method::Constructor
717       Moose::Meta::Attribute        
718       - making (init_arg => undef) work here too
719         (thanks to nothingmuch)
720         
721     * Moose::Meta::Attribute        
722       Moose::Meta::Method::Constructor
723       Moose::Meta::Method::Accessor                
724       - make lazy attributes respect attr initializers (rjbs)
725         - added tests for this
726     
727     * Moose::Util::TypeConstraints
728       Moose::Util::TypeConstraints::OptimizedConstraints
729       Moose::Meta::TypeConstraints
730       Moose::Meta::Attribute
731       Moose::Meta::Method::Constructor
732       Moose::Meta::Method::Accessor            
733       - making type errors use the 
734         assigned message (thanks to Sartak)
735         - added tests for this
736
737     * Moose::Meta::Method::Destructor
738       - making sure DESTROY gets inlined properly 
739         with successive DEMOLISH calls (thanks to manito)
740
741     * Moose::Meta::Attribute  
742       Moose::Meta::Method::Accessor 
743       - fixed handling of undef with type constraints 
744         (thanks to Ernesto)               
745         - added tests for this
746     
747     * Moose::Util
748       - added &get_all_init_args and &get_all_attribute_values 
749         (thanks to Sartak and nothingmuch)
750
751 0.36 Sat. Jan. 26, 2008
752     * Moose::Role
753       Moose::Meta::Attribute
754       - role type tests now support when roles are 
755         applied to non-Moose classes (found by ash)
756         - added tests for this (thanks to ash)
757       - couple extra tests to boost code coverage
758
759     * Moose::Meta::Method::Constructor    
760       - improved fix for handling Class::MOP attributes
761         - added test for this        
762       
763     * Moose::Meta::Class
764       - handled the add_attribute($attribute_meta_object)
765         case correctly
766         - added test for this
767
768 0.35 Tues. Jan. 22, 2008
769     * Moose::Meta::Method::Constructor
770       - fix to make sure even Class::MOP attributes 
771         are handled correctly (Thanks to Dave Rolsky)
772         - added test for this (also Dave Rolsky)
773     
774     * Moose::Meta::Class
775       - improved error message on _apply_all_roles, 
776         you should now use Moose::Util::apply_all_roles
777         and you shouldnt have been using a _ prefixed
778         method in the first place ;)
779
780 0.34 Mon. Jan. 21, 2008
781     ~~~ more misc. doc. fixes ~~~
782     ~~ updated copyright dates ~~
783
784     Moose is now a postmodern object system :)
785       - (see the POD for details)
786       
787     * <<Role System Refactoring>>    
788     - this release contains a major reworking and 
789       cleanup of the role system     
790       - 100% backwards compat.
791       - Role application now restructured into seperate
792         classes based on type of applicants
793       - Role summation (combining of more than one role)
794         is much cleaner and anon-classes are no longer 
795         used in this process
796       - new Composite role metaclass    
797       - runtime application of roles to instances
798         is now more efficient and re-uses generated
799         classes when applicable
800         
801     * <<New Role composition features>>
802       - methods can now be excluded from a given role 
803         during composition
804       - methods can now be aliased to another name (and 
805         still retain the original as well)        
806     
807     * Moose::Util::TypeConstraints::OptimizedConstraints
808       - added this module (see above)
809
810     * Moose::Meta::Class
811       - fixed the &_process_attribute method to be called
812         by &add_attribute, so that the API is now correct
813
814     * Moose::Meta::Method::Accessor
815       - fixed bug when passing a list of values to
816         an accessor would get (incorrectly) ignored.
817         Thanks to Sartak for finding this ;)
818         - added tests for this (Sartak again)
819
820     * Moose::Meta::Method::Accessor
821       Moose::Meta::Method::Constructor
822       Moose::Meta::Attribute
823       Moose::Meta::TypeConstraint      
824       Moose::Meta::TypeCoercion      
825       - lots of cleanup of such things as: 
826         - generated methods
827         - type constraint handling
828         - error handling/messages 
829         (thanks to nothingmuch)   
830     
831     * Moose::Meta::TypeConstraint::Parameterizable
832       - added this module to support the refactor 
833         in Moose::Meta::TypeConstraint::Parameterized
834
835     * Moose::Meta::TypeConstraint::Parameterized
836       - refactored how these types are handled so they 
837         are more generic and not confined to ArrayRef
838         and HashRef only
839
840     * t/
841       - shortened some file names for better VMS support (RT #32381)
842
843 0.33 Fri. Dec. 14, 2007
844     !! Moose now loads 2 x faster !!
845     !!  with new Class::MOP 0.49  !!
846
847     ++ new oose.pm module to make command line
848        Moose-ness easier (see POD docs for more)
849
850     * Moose::Meta::Class
851     * Moose::Meta::Role
852       - several tweaks to take advantage of the
853         new method map caching in Class::MOP
854
855     * Moose::Meta::TypeConstraint::Parameterized
856       - allow subtypes of ArrayRef and HashRef to
857         be used as a container (sartak)
858         - added tests for this
859       - basic support for coercion to ArrayRef and
860         HashRef for containers (sartak)
861         - added tests for this
862
863     * Moose::Meta::TypeCoercion
864       - coercions will now create subtypes as needed
865         so you can now add coercions to parameterized
866         types without having to explictly define them
867         - added tests for this
868
869     * Moose::Meta::Method::Accessor
870       - allow subclasses to decide whether we need
871         to copy the value into a new variable (sartak)
872
873 0.32 Tues. Dec. 4, 2007
874     * Moose::Util::TypeConstraints
875       - fixing how subtype aliases of unions work
876         they should inherit the parent's coercion
877         - added tests for this
878       - you can now define multiple coercions on
879         a single type at different times instead of
880         having to do it all in one place
881         - added tests for this
882
883     * Moose::Meta::TypeConstraint
884       - there is now a default constraint of sub { 1 }
885         instead of Moose::Util::TypeConstraints setting
886         this for us
887
888     * Moose::Meta::TypeCoercion
889     * Moose::Meta::TypeCoercion::Union
890       - added the &has_coercion_for_type and
891         &add_type_coercions methods to support the
892         new features above (although you cannot add
893         more type coercions for Union types)
894
895 0.31 Mon. Nov. 26, 2007
896     * Moose::Meta::Attribute
897       - made the +attr syntax handle extending types with
898         parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
899         now works if the original foo is an ArrayRef.
900         - added tests for this.
901       - delegation now works even if the attribute does not
902         have a reader method using the get_read_method_ref
903         method from Class::MOP::Attribute.
904         - added tests for this
905         - added docs for this
906
907     * Moose::Util::TypeConstraints
908       - passing no "additional attribute info" to
909         &find_or_create_type_constraint will no longer
910         attempt to create an __ANON__ type for you,
911         instead it will just return undef.
912         - added docs for this
913
914 0.30 Fri. Nov. 23, 2007
915     * Moose::Meta::Method::Constructor
916       -builder related bug in inlined constructor. (groditi)
917
918     * Moose::Meta::Method::Accessor
919       - genereate unnecessary calls to predicates and refactor
920         code generation for runtime speed (groditi)
921
922     * Moose::Util::TypeConstraints
923       - fix ClassName constraint to introspect symbol table (mst)
924         - added more tests for this (mst)
925       - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
926         with work correctly.
927         - added tests for this
928
929     * Moose::Cookbook
930       - adding the link to Recipie 11 (written by Sartak)
931         - adding test for SYNOPSIS code
932
933     * t/
934       - New tests for builder bug. Upon instantiation, if an
935         attribute had a builder, no value and was not lazy the
936         builder default was not getting run, oops. (groditi)
937
938 0.29 Tues. Nov. 13, 2007
939     * Moose::Meta::Attribute
940       - Fix error message on missing builder method (groditi)
941
942     * Moose::Meta::Method::Accessor
943       - Fix error message on missing builder method (groditi)
944
945     * t/
946       - Add test to check for the correct error message when
947         builder method is missing (groditi)
948
949 0.28 Tues. Nov. 13, 2007
950     - 0.27 packaged incorrectly (groditi)
951
952 0.27 Tues. Nov. 13, 2007
953     * Moose::Meta::Attribute
954       - Added support for the new builder option (groditi)
955       - Added support for lazy_build option (groditi)
956       - Changed slot initialization for predicate changes (groditi)
957
958     * Moose::Meta::Method::Accessor
959       - Added support for lazy_build option (groditi)
960       - Fix inline methods to work with corrected predicate
961         behavior (groditi)
962
963     * Moose::Meta::Method::Constructor
964       - Added support for lazy_build option (groditi)
965
966     * t/
967       - tests for builder and lazy_build (groditi)
968
969     * fixing some misc. bits in the docs that
970       got mentioned on CPAN Forum & perlmonks
971
972     * Moose::Meta::Role
973       - fixed how required methods are handled
974         when they encounter overriden or modified
975         methods from a class (thanks to confound).
976         - added tests for this
977
978     * Moose::Util::TypeConstraint
979       - fixed the type notation parser so that
980         the | always creates a union and so is
981         no longer a valid type char (thanks to
982         konobi, mugwump and #moose for working
983         this one out.)
984         - added more tests for this
985
986 0.26 Thurs. Sept. 27, 2007
987     == New Features ==
988
989     * Parameterized Types
990       We now support parameterized collection types, such as:
991           ArrayRef[Int]    # array or integers
992           HashRef[Object]  # a hash with object values
993       They can also be nested:
994           ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
995       And work with the type unions as well:
996           ArrayRef[Int | Str]  # array of integers of strings
997
998     * Better Framework Extendability
999       Moose.pm is now "extendable" such that it is now much
1000       easier to extend the framework and add your own keywords
1001       and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1002       section of the Moose.pm docs.
1003
1004     * Moose Snacks!
1005       In an effort to begin documenting some of the various
1006       details of Moose as well as some common idioms, we have
1007       created Moose::Cookbook::Snacks as a place to find
1008       small (easily digestable) nuggets of Moose code.
1009
1010     ====
1011     ~ Several doc updates/cleanup thanks to castaway ~
1012
1013     - converted build system to use Module::Install instead of
1014       Module::Build (thanks to jrockway)
1015
1016     * Moose
1017       - added all the meta classes to the immutable list and
1018         set it to inline the accessors
1019       - fix import to allow Sub::Exporter like { into => }
1020             and { into_level => } (perigrin)
1021       - exposed and documented init_meta() to allow better
1022             embedding and extending of Moose (perigrin)
1023
1024         * t/
1025           - complete re-organization of the test suite
1026           - added some new tests as well
1027           - finally re-enabled the Moose::POOP test since
1028             the new version of DBM::Deep now works again
1029             (thanks rob)
1030
1031     * Moose::Meta::Class
1032       - fixed very odd and very nasty recursion bug with
1033         inner/augment (mst)
1034         - added tests for this (eilara)
1035
1036     * Moose::Meta::Attribute
1037       Moose::Meta::Method::Constructor
1038       Moose::Meta::Method::Accessor
1039       - fixed issue with overload::Overloaded getting called
1040         on non-blessed items. (RT #29269)
1041         - added tests for this
1042
1043     * Moose::Meta::Method::Accessor
1044       - fixed issue with generated accessor code making
1045         assumptions about hash based classes (thanks to dexter)
1046
1047     * Moose::Coookbook::Snacks
1048       - these are bits of documentation, not quite as big as
1049         Recipes but which have no clear place in the module docs.
1050         So they are Snacks! (horray for castaway++)
1051
1052     * Moose::Cookbook::Recipe4
1053       - updated it to use the new ArrayRef[MyType] construct
1054         - updated the accompanying test as well
1055
1056     +++ Major Refactor of the Type Constraint system +++
1057     +++       with new features added as well        +++
1058
1059     * Moose::Util::TypeConstraint
1060       - no longer uses package variable to keep track of
1061         the type constraints, now uses the an instance of
1062         Moose::Meta::TypeConstraint::Registry to do it
1063       - added more sophisticated type notation parsing
1064         (thanks to mugwump)
1065         - added tests for this
1066
1067     * Moose::Meta::TypeConstraint
1068       - some minor adjustments to make subclassing easier
1069       - added the package_defined_in attribute so that we
1070         can track where the type constraints are created
1071
1072     * Moose::Meta::TypeConstraint::Union
1073       - this is now been refactored to be a subclass of
1074         Moose::Meta::TypeConstraint
1075
1076     * Moose::Meta::TypeCoercion::Union
1077       - this has been added to service the newly refactored
1078         Moose::Meta::TypeConstraint::Union and is itself
1079         a subclass of Moose::Meta::TypeCoercion
1080
1081     * Moose::Meta::TypeConstraint::Parameterized
1082       - added this module (taken from MooseX::AttributeHelpers)
1083         to help construct nested collection types
1084         - added tests for this
1085
1086     * Moose::Meta::TypeConstraint::Registry
1087       - added this class to keep track of type constraints
1088
1089 0.25 Mon. Aug. 13, 2007
1090     * Moose
1091       - Documentation update to reference Moose::Util::TypeConstraints
1092         under 'isa' in 'has' for how to define a new type
1093         (thanks to shlomif).
1094
1095     * Moose::Meta::Attribute
1096       - required attributes now will no longer accept undef
1097         from the constructor, even if there is a default and lazy
1098         - added tests for this
1099       - default subroutines must return a value which passes the
1100         type constraint
1101         - added tests for this
1102
1103     * Moose::Meta::Attribute
1104     * Moose::Meta::Method::Constructor
1105     * Moose::Meta::Method::Accessor
1106       - type-constraint tests now handle overloaded objects correctly
1107         in the error message
1108         - added tests for this (thanks to EvanCarroll)
1109
1110     * Moose::Meta::TypeConstraint::Union
1111       - added (has_)hand_optimized_constraint to this class so that
1112         it behaves as the regular Moose::Meta::TypeConstraint does.
1113
1114     * Moose::Meta::Role
1115       - large refactoring of this code
1116       - added several more tests
1117         - tests for subtle conflict resolition issues
1118           added, but not currently running
1119           (thanks to kolibre)
1120
1121     * Moose::Cookbook::Recipe7
1122       - added new recipe for augment/inner functionality
1123         (still in progress)
1124         - added test for this
1125
1126     * Moose::Spec::Role
1127       - a formal definition of roles (still in progress)
1128
1129     * Moose::Util
1130       - utilities for easier working with Moose classes
1131         - added tests for these
1132
1133     * Test::Moose
1134       - This contains Moose specific test functions
1135         - added tests for these
1136
1137 0.24 Tues. July 3, 2007
1138     ~ Some doc updates/cleanup ~
1139
1140     * Moose::Meta::Attribute
1141       - added support for roles to be given as parameters
1142         to the 'handles' option.
1143         - added tests and docs for this
1144       - the has '+foo' attribute form now accepts changes to
1145         the lazy option, and the addition of a handles option
1146         (but not changing the handles option)
1147         - added tests and docs for this
1148
1149     * Moose::Meta::Role
1150       - required methods are now fetched using find_method_by_name
1151         so that required methods can come from superclasses
1152         - adjusted tests for this
1153
1154 0.23 Mon. June 18, 2007
1155     * Moose::Meta::Method::Constructor
1156       - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1157     * Moose::Meta::Class
1158       - Modify make_immutable to work with the new Class::MOP immutable
1159         mechanism + POD + very basic test (groditi)
1160     * Moose::Meta::Attribute
1161       - Fix handles to use goto() so that caller() comes out properly on
1162         the other side (perigrin)
1163
1164 0.22 Thurs. May 31, 2007
1165     * Moose::Util::TypeConstraints
1166       - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1167         loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1168         prototypes for functions
1169       - added the ClassName type constraint, this checks for strings
1170         which will respond true to ->isa(UNIVERSAL).
1171         - added tests and docs for this
1172       - subtyping just in name now works correctly by making the
1173         default for where be { 1 }
1174         - added test for this
1175
1176     * Moose::Meta::Method::Accessor
1177       - coerce and lazy now work together correctly, thanks to
1178         merlyn for finding this bug
1179         - tests added for this
1180       - fix reader presedence bug in Moose::Meta::Attribute + tests
1181
1182     * Moose::Object
1183       - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1184         a HASH-ref and missed. This produces better error messages then
1185         having it die cause undef is not a HASH.
1186         - added tests for this
1187
1188 0.21 Thursday, May 2nd, 2007
1189     * Moose
1190       - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1191       - modified unimport to remove super and inner along with the rest
1192         - altered unimport tests to handle this
1193
1194     * Moose::Role
1195       - altered super export to populate SUPER_SLOT
1196
1197     * Moose::Meta::Class
1198       - altered augment and override modifier application to use *_SLOT
1199         - modified tests for these to unimport one test class each to test
1200
1201     * Moose::Meta::Role
1202       - fixed issue where custom attribute metaclasses
1203         where not handled correctly in roles
1204         - added tests for this
1205
1206     * Moose::Meta::Class
1207       - fixed issue where extending metaclasses with
1208         roles would blow up. Thanks to Aankhen`` for
1209         finding this insidious error, and it's solution.
1210
1211     ~~ lots of spelling and grammer fixes in the docs,
1212        many many thanks to rlb3 and Aankhen for these :)
1213
1214 0.20 Friday, April 6th, 2007
1215     >> I messed up the SKIP logic in one test
1216        so this release is just to fix that.
1217
1218     * Moose
1219       - 'has' now also accepts an ARRAY ref
1220         to create multiple attrs (see docs)
1221         (thanks to konobi for this)
1222          - added tests and docs
1223
1224 0.19 Thurs. April 5th, 2007
1225     ~~ More documentation updates ~~
1226
1227     * Moose::Util::TypeConstraints
1228       - 'type' now supports messages as well
1229         thanks to phaylon for finding this
1230         - added tests for this
1231       - added &list_all_type_constraints and
1232         &list_all_builtin_type_constraints
1233         functions to facilitate introspection.
1234
1235     * Moose::Meta::Attribute
1236       - fixed regexp 'handles' declarations
1237         to build the list of delegated methods
1238         correctly (and not override important
1239         things like &new) thanks to ashleyb
1240         for finding this
1241         - added tests and docs for this
1242       - added the 'documentation' attributes
1243         so that you can actually document your
1244         attributes and inspect them through the
1245         meta-object.
1246         - added tests and docs for this
1247
1248     * Moose::Meta::Class
1249       - when loading custom attribute metaclasses
1250         it will first look in for the class in the
1251         Moose::Meta::Attribute::Custom::$name, and
1252         then default to just loading $name.
1253         - added tests and docs for this
1254
1255     * Moose::Meta::TypeConstraint
1256       - type constraints now stringify to their names.
1257         - added test for this
1258
1259     * misc.
1260       - added tests to assure we work with Module::Refresh
1261       - added stricter test skip logic in the Moose POOP
1262         test, ask Rob Kinyon why.
1263         - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1264
1265 0.18 Sat. March 10, 2007
1266     ~~ Many, many documentation updates ~~
1267
1268     * misc.
1269       - We now use Class::MOP::load_class to
1270         load all classes.
1271       - added tests to show types and subtypes
1272         working with Declare::Constraints::Simple
1273         and Test::Deep as constraint engines.
1274
1275 0.18_001
1276     !! You must have Class::MOP 0.37_001  !!
1277     !! for this developer release to work !!
1278
1279     This release was primarily adding the immutable
1280     feature to Moose. An immutable class is one which
1281     you promise not to alter. When you set the class
1282     as immutable it will perform various bits of
1283     memoization and inline certain part of the code
1284     (constructors, destructors and accessors). This
1285     minimizes (and in some cases totally eliminates)
1286     one of Moose's biggest performance hits. This
1287     feature is not on by default, and is 100% optional.
1288     It has several configurable bits as well, so you
1289     can pick and choose to your specific needs.
1290
1291     The changes involved in this were fairly wide and
1292     highly specific, but 100% backwards compatible, so
1293     I am not going to enumerate them here. If you are
1294     truely interested in what was changed, please do
1295     a diff :)
1296
1297 0.17 Tues. Nov. 14, 2006
1298     * Moose::Meta::Method::Accessor
1299       - bugfix for read-only accessors which
1300         are have a type constraint and lazy.
1301         Thanks to chansen for finding it.
1302
1303 0.16 Tues. Nov. 14, 2006
1304     ++ NOTE ++
1305     There are some speed improvements in this release,
1306     but they are only the begining, so stay tuned.
1307
1308     * Moose::Object
1309       - BUILDALL and DEMOLISHALL no longer get
1310         called unless they actually need to be.
1311         This gave us a signifigant speed boost
1312         for the cases when there is no BUILD or
1313         DEMOLISH method present.
1314
1315     * Moose::Util::TypeConstraints
1316     * Moose::Meta::TypeConstraint
1317       - added an 'optimize_as' option to the
1318         type constraint, which allows for a
1319         hand optimized version of the type
1320         constraint to be used when possible.
1321       - Any internally created type constraints
1322         now provide an optimized version as well.
1323
1324 0.15 Sun. Nov. 5, 2006
1325     ++ NOTE ++
1326     This version of Moose *must* have Class::MOP 0.36 in order
1327     to work correctly. A number of small internal tweaks have
1328     been made in order to be compatible with that release.
1329
1330     * Moose::Util::TypeConstraints
1331       - added &unimport so that you can clean out
1332         your class namespace of these exported
1333         keywords
1334
1335     * Moose::Meta::Class
1336       - fixed minor issue which occasionally
1337         comes up during global destruction
1338         (thanks omega)
1339       - moved Moose::Meta::Method::Overriden into
1340         its own file.
1341
1342     * Moose::Meta::Role
1343       - moved Moose::Meta::Role::Method into
1344         its own file.
1345
1346     * Moose::Meta::Attribute
1347       - changed how we do type checks so that
1348         we reduce the overall cost, but still
1349         retain correctness.
1350        *** API CHANGE ***
1351       - moved accessor generation methods to
1352         Moose::Meta::Method::Accessor to
1353         conform to the API changes from
1354         Class::MOP 0.36
1355
1356     * Moose::Meta::TypeConstraint
1357       - changed how constraints are compiled
1358         so that we do less recursion and more
1359         iteration. This makes the type check
1360         faster :)
1361       - moved Moose::Meta::TypeConstraint::Union
1362         into its own file
1363
1364     * Moose::Meta::Method::Accessor
1365       - created this from methods formerly found in
1366         Moose::Meta::Attribute
1367
1368     * Moose::Meta::Role::Method
1369       - moved this from Moose::Meta::Role
1370
1371     * Moose::Meta::Method::Overriden
1372       - moved this from Moose::Meta::Class
1373
1374     * Moose::Meta::TypeConstraint::Union
1375       - moved this from Moose::Meta::TypeConstraint
1376
1377 0.14 Mon. Oct. 9, 2006
1378
1379     * Moose::Meta::Attribute
1380       - fixed lazy attributes which were not getting
1381         checked with the type constraint (thanks ashley)
1382         - added tests for this
1383       - removed the over-enthusiastic DWIMery of the
1384         automatic ArrayRef and HashRef defaults, it
1385         broke predicates in an ugly way.
1386         - removed tests for this
1387
1388 0.13 Sat. Sept. 30, 2006
1389     ++ NOTE ++
1390     This version of Moose *must* have Class::MOP 0.35 in order
1391     to work correctly. A number of small internal tweaks have
1392     been made in order to be compatible with that release.
1393
1394     * Moose
1395       - Removed the use of UNIVERSAL::require to be a better
1396         symbol table citizen and remove a dependency
1397         (thanks Adam Kennedy)
1398
1399       **~~ removed experimental & undocumented feature ~~**
1400       - commented out the 'method' and 'self' keywords, see the
1401         comments for more info.
1402
1403     * Moose::Cookbook
1404       - added a FAQ and WTF files to document frequently
1405         asked questions and common problems
1406
1407     * Moose::Util::TypeConstraints
1408       - added GlobRef and FileHandle type constraint
1409         - added tests for this
1410
1411     * Moose::Meta::Attribute
1412       - if your attribute 'isa' ArrayRef of HashRef, and you have
1413         not explicitly set a default, then make the default DWIM.
1414         This will also work for subtypes of ArrayRef and HashRef
1415         as well.
1416       - you can now auto-deref subtypes of ArrayRef or HashRef too.
1417         - new test added for this (thanks to ashley)
1418
1419     * Moose::Meta::Role
1420       - added basic support for runtime role composition
1421         but this is still *highly experimental*, so feedback
1422         is much appreciated :)
1423         - added tests for this
1424
1425     * Moose::Meta::TypeConstraint
1426       - the type constraint now handles the coercion process
1427         through delegation, this is to support the coercion
1428         of unions
1429
1430     * Moose::Meta::TypeConstraint::Union
1431       - it is now possible for coercions to be performed
1432         on a type union
1433         - added tests for this (thanks to konobi)
1434
1435     * Moose::Meta::TypeCoercion
1436       - properly capturing error when type constraint
1437         is not found
1438
1439     * Build.PL
1440       - Scalar::Util 1.18 is bad on Win32, so temporarily
1441         only require version 1.17 for Win32 and cygwin.
1442         (thanks Adam Kennedy)
1443
1444 0.12 Sat. Sept. 1, 2006
1445     * Moose::Cookbook
1446       - Recipe5 (subtypes & coercion) has been written
1447
1448     * Moose
1449       - fixed "bad meta" error message to be more descriptive
1450       - fixed &unimport to not remove the &inner and &super
1451         keywords because we need to localize them.
1452       - fixed number of spelling/grammer issues, thanks Theory :)
1453
1454       **~~ experimental & undocumented feature ~~**
1455       - added the method and self keywords, they are basically
1456         just sugar, and they may not stay around.
1457
1458     * Moose::Object
1459       - added &dump method to easily Data::Dumper
1460         an object
1461
1462     * Moose::Meta::TypeConstraint
1463       - added the &is_a_type_of method to check both the current
1464         and the subtype of a method (similar to &isa with classes)
1465
1466     * Moose::Meta::Role
1467       - this is now a subclass of Class::MOP::Module, and no longer
1468         creates the _role_meta ugliness of before.
1469         - fixed tests to reflect this change
1470
1471 0.11 Wed. July 12, 2006
1472     * Moose
1473       - added an &unimport method to remove all the keywords
1474         that Moose will import, simply add 'no Moose' to the
1475         bottom of your class file.
1476
1477     * t/
1478       - fixed some test failures caused by a forgotten test
1479         dependency.
1480
1481 0.10 Thurs. July 6, 2006
1482     * Moose
1483       - improved error message when loading modules so
1484         it is less confusing when you load a role.
1485       - added &calculate_all_roles method to
1486         Moose::Meta::Class and Moose::Meta::Role
1487
1488     NOTE:
1489     This module has been tested against Class::MOP 0.30
1490     but it does not yet utilize the optimizations
1491     it makes available. Stay tuned for that ;)
1492
1493 0.09_03 Fri. June 23, 2006
1494     ++ DEVELOPER RELEASE ++
1495     * Moose
1496       - 'use strict' and 'use warnings' are no longer
1497          needed in Moose classes, Moose itself will
1498          turn them on for you.
1499          - added tests for this
1500       - moved code from exported subs to private methods
1501         in Moose::Meta::Class
1502
1503     * Moose::Role
1504       - as with Moose, strict and warnings are
1505         automatically turned on for you.
1506          - added tests for this
1507
1508     * Moose::Meta::Role
1509       - now handles an edge case for override errors
1510         - added tests for this
1511       - added some more edge case tests
1512
1513 0.09_02 Tues. May 16, 2006
1514     ++ DEVELOPER RELEASE ++
1515     * Moose
1516       - added prototypes to the exported subs
1517       - updated docs
1518
1519     * Moose::Role
1520       - added prototypes to the exported subs
1521       - updated docs
1522
1523     * Moose::Util::TypeConstraints
1524       - cleaned up prototypes for the subs
1525       - updated docs
1526
1527 0.09_01 Fri. May 12, 2006
1528     ++ DEVELOPER RELEASE ++
1529       - This release works in combination with
1530         Class::MOP 0.29_01, it is a developer
1531         release because it uses the a new
1532         instance sub-protocol and a fairly
1533         complete Role implementation. It has
1534         not yet been optimized, so it slower
1535         the the previous CPAN version. This
1536         release also lacks good updated docs,
1537         the official release will have updated docs.
1538
1539     * Moose
1540       - refactored the keyword exports
1541         - 'with' now checks Role validaity and
1542           accepts more than one Role at a time
1543         - 'extends' makes metaclass adjustments as
1544            needed to ensure metaclass compatibility
1545
1546     * Moose::Role
1547       - refactored the keyword exports
1548         - 'with' now checks Role validaity and
1549           accepts more than one Role at a time
1550
1551     * Moose::Util::TypeConstraints
1552       - added the 'enum' keyword for simple
1553         string enumerations which can be used as
1554         type constraints
1555         - see example of usage in t/202_example.t
1556
1557     * Moose::Object
1558       - more careful checking of params to new()
1559
1560     * Moose::Meta::Role
1561       - much work done on the role composition
1562         - many new tests for conflict detection
1563           and composition edge cases
1564         - not enough documentation, I suggest
1565           looking at the tests
1566
1567     * Moose::Meta::Instance
1568       - added new Instance metaclass to support
1569         the new Class::MOP instance protocol
1570
1571     * Moose::Meta::Class
1572       - some small changes to support the new
1573         instance protocol
1574       - some small additions to support Roles
1575
1576     * Moose::Meta::Attribute
1577       - some improvements to the accessor generation code
1578         by nothingmuch
1579       - some small changes to support the new
1580         instance protocol
1581       - (still somewhat) experimental delegation support
1582         with the 'handles' option
1583         - added several tests for this
1584         - no docs for this yet
1585
1586 0.05 Thurs. April 27, 2006
1587     * Moose
1588       - keywords are now exported with Sub::Exporter
1589         thanks to chansen for this commit
1590       - has keyword now takes a 'metaclass' option
1591         to support custom attribute meta-classes
1592         on a per-attribute basis
1593         - added tests for this
1594       - the 'has' keyword not accepts inherited slot
1595         specifications (has '+foo'). This is still an
1596         experimental feature and probably not finished
1597         see t/038_attribute_inherited_slot_specs.t for
1598         more details, or ask about it on #moose
1599         - added tests for this
1600
1601     * Moose::Role
1602       - keywords are now exported with Sub::Exporter
1603
1604     * Moose::Utils::TypeConstraints
1605       - reorganized the type constraint hierarchy, thanks
1606         to nothingmuch and chansen for his help and advice
1607         on this
1608         - added some tests for this
1609       - keywords are now exported with Sub::Exporter
1610         thanks to chansen for this commit
1611
1612     * Moose::Meta::Class
1613       - due to changes in Class::MOP, we had to change
1614         construct_instance (for the better)
1615
1616     * Moose::Meta::Attribute
1617       - due to changes in Class::MOP, we had to add the
1618         initialize_instance_slot method (it's a good thing)
1619
1620     * Moose::Meta::TypeConstraint
1621       - added type constraint unions
1622         - added tests for this
1623       - added the is_subtype_of predicate method
1624         - added tests for this
1625
1626 0.04 Sun. April 16th, 2006
1627     * Moose::Role
1628       - Roles can now consume other roles
1629         - added tests for this
1630       - Roles can specify required methods now with
1631         the requires() keyword
1632         - added tests for this
1633
1634     * Moose::Meta::Role
1635       - ripped out much of it's guts ,.. much cleaner now
1636       - added required methods and correct handling of
1637         them in apply() for both classes and roles
1638         - added tests for this
1639       - no longer adds a does() method to consuming classes
1640         it relys on the one in Moose::Object
1641       - added roles attribute and some methods to support
1642         roles consuming roles
1643
1644     * Moose::Meta::Attribute
1645       - added support for triggers on attributes
1646         - added tests for this
1647       - added support for does option on an attribute
1648         - added tests for this
1649
1650     * Moose::Meta::Class
1651       - added support for attribute triggers in the
1652         object construction
1653         - added tests for this
1654
1655     * Moose
1656       - Moose no longer creates a subtype for your class
1657         if a subtype of the same name already exists, this
1658         should DWIM in 99.9999% of all cases
1659
1660     * Moose::Util::TypeConstraints
1661       - fixed bug where incorrect subtype conflicts were
1662         being reported
1663         - added test for this
1664
1665     * Moose::Object
1666       - this class can now be extended with 'use base' if
1667         you need it, it properly loads the metaclass class now
1668         - added test for this
1669
1670 0.03_02 Wed. April 12, 2006
1671     * Moose
1672       - you must now explictly use Moose::Util::TypeConstraints
1673         it no longer gets exported for you automatically
1674
1675     * Moose::Object
1676       - new() now accepts hash-refs as well as key/value lists
1677       - added does() method to check for Roles
1678         - added tests for this
1679
1680     * Moose::Meta::Class
1681       - added roles attribute along with the add_role() and
1682         does_role() methods
1683         - added tests for this
1684
1685     * Moose::Meta::Role
1686       - now adds a does() method to consuming classes
1687         which tests the class's hierarchy for roles
1688         - added tests for this
1689
1690 0.03_01 Mon. April 10, 2006
1691     * Moose::Cookbook
1692       - added new Role recipe (no content yet, only code)
1693
1694     * Moose
1695       - added 'with' keyword for Role support
1696         - added test and docs for this
1697       - fixed subtype quoting bug
1698         - added test for this
1699
1700     * Moose::Role
1701       - Roles for Moose
1702         - added test and docs
1703
1704     * Moose::Util::TypeConstraints
1705       - added the message keyword to add custom
1706         error messages to type constraints
1707
1708     * Moose::Meta::Role
1709       - the meta role to support Moose::Role
1710         - added tests and docs
1711
1712     * Moose::Meta::Class
1713       - moved a number of things from Moose.pm
1714         to here, they should have been here
1715         in the first place
1716
1717     * Moose::Meta::Attribute
1718       - moved the attribute option macros here
1719         instead of putting them in Moose.pm
1720
1721     * Moose::Meta::TypeConstraint
1722       - added the message attributes and the
1723         validate method
1724         - added tests and docs for this
1725
1726 0.03 Thurs. March 30, 2006
1727     * Moose::Cookbook
1728       - added the Moose::Cookbook with 5 recipes,
1729         describing all the stuff Moose can do.
1730
1731     * Moose
1732       - fixed an issue with &extends super class loading
1733         it now captures errors and deals with inline
1734         packages correctly (bug found by mst, solution
1735         stolen from alias)
1736       - added super/override & inner/augment features
1737         - added tests and docs for these
1738
1739     * Moose::Object
1740       - BUILDALL now takes a reference of the %params
1741         that are passed to &new, and passes that to
1742         each BUILD as well.
1743
1744     * Moose::Util::TypeConstraints
1745       - Type constraints now survive runtime reloading
1746         - added test for this
1747
1748         * Moose::Meta::Class
1749           - fixed the way attribute defaults are handled
1750             during instance construction (bug found by chansen)
1751
1752     * Moose::Meta::Attribute
1753       - read-only attributes now actually enforce their
1754         read-only-ness (this corrected in Class::MOP as
1755         well)
1756
1757 0.02 Tues. March 21, 2006
1758     * Moose
1759       - many more tests, fixing some bugs and
1760         edge cases
1761       - &extends now loads the base module with
1762         UNIVERSAL::require
1763         - added UNIVERSAL::require to the
1764           dependencies list
1765       ** API CHANGES **
1766       - each new Moose class will also create
1767         and register a subtype of Object which
1768         correspond to the new Moose class.
1769       - the 'isa' option in &has now only
1770         accepts strings, and will DWIM in
1771         almost all cases
1772
1773     * Moose::Util::TypeConstraints
1774       - added type coercion features
1775         - added tests for this
1776         - added support for this in attributes
1777           and instance construction
1778       ** API CHANGES **
1779       - type construction no longer creates a
1780         function, it registers the type instead.
1781         - added several functions to get the
1782           registered types
1783
1784     * Moose::Object
1785       - BUILDALL and DEMOLISHALL were broken
1786         because of a mis-named hash key, Whoops :)
1787
1788     * Moose::Meta::Attribute
1789       - adding support for coercion in the
1790         autogenerated accessors
1791
1792     * Moose::Meta::Class
1793       - adding support for coercion in the
1794         instance construction
1795
1796     * Moose::Meta::TypeConstraint
1797     * Moose::Meta::TypeCoercion
1798           - type constraints and coercions are now
1799             full fledges meta-objects
1800
1801 0.01 Wed. March 15, 2006
1802     - Moooooooooooooooooose!!!