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