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