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