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