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