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