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