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