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