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