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