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