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