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