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