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