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