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