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