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