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