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