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