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