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