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