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