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