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