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