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