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