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