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