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