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