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