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