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