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