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