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