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