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