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