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