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