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