1 Also see Moose::Manual::Delta for more details of, and workarounds
2 for, noteworthy changes.
5 * More deprecations and renamings
6 - Moose::Meta::Method::Constructor
7 - initialize_body => _initialize_body (this is always called
8 when an object is constructed)
10 * Moose::Meta::Method::Destructor
11 - Destructor inlining was totally broken by the change to the
12 is_needed method in 0.72_01. Now there is a test for this
13 feature, and it works again.
17 - Call user_class->meta in fewer places, with the eventual goal
18 of allowing the user to rename or exclude ->meta
19 altogether. Instead uses Class::MOP::class_of. (Sartak)
21 * Moose::Meta::Method::Accessor
22 - If an attribute had a lazy default, and that value did not
23 pass the attribute's type constraint, it did not get the
24 message from the type constraint, instead using a generic
25 message. Test provided by perigrin.
27 * Moose::Util::TypeConstraints
28 - Add duck_type keyword. It's sugar over making sure an object
29 can() a list of methods. This is easier than jrockway's
30 suggestion to fork all of CPAN. (perigrin)
31 - add tests and documentation (perigrin)
34 - Document the fact that init_meta() returns the target class's
35 metaclass object. (hdp)
37 * Moose::Cookbook::Extending::Recipe1
38 * Moose::Cookbook::Extending::Recipe2
39 * Moose::Cookbook::Extending::Recipe3
40 * Moose::Cookbook::Extending::Recipe4
41 - Make init_meta() examples explicitly return the metaclass and
42 point out this fact. (hdp)
44 * Moose::Cookbook::Meta::Recipe6
45 - A new recipe, creating a custom meta-method class.
48 * Moose::Meta::Method::Constructor
49 - Attribute triggers no longer receive the meta-attribute object
50 as an argument in any circumstance. Previously, triggers
51 called during instance construction were passed the
52 meta-attribute, but triggers called by normal accessors were
53 not. Fixes RT#44429, reported by Mark Swayne. (hdp)
55 * Moose::Manual::Attributes
56 - Remove references to triggers receving the meta-attribute object as an
59 * Moose::Cookbook::FAQ
60 - Remove recommendation for deprecated Moose::Policy and
61 Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
64 * Many methods have been renamed with a leading underscore, and a
65 few have been deprecated entirely. The methods with a leading
66 underscore are consider "internals only". People writing
67 subclasses or extensions to Moose should feel free to override
68 them, but they are not for "public" use.
71 - check_metaclass_compatibility => _check_metaclass_compatibility
73 - Moose::Meta::Method::Accessor
74 - initialize_body => _initialize_body (this is always called
75 when an object is constructed)
76 - /(generate_.*_method(?:_inline)?)/ => '_' . $1
78 - Moose::Meta::Method::Constructor
79 - initialize_body => _initialize_body (this is always called
80 when an object is constructed)
81 - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
82 - attributes => _attributes (now inherited from parent)
83 - meta_instance => _meta_instance (now inherited from parent)
86 - alias_method is deprecated. Use add_method
88 0.73 Fri, March 29, 2009
89 * No changes from 0.72_01.
91 0.72_01 Thu, March 26, 2009
93 - Almost every module has complete API documentation. A few
94 methods (and even whole classes) have been intentionally
95 excluded pending some rethinking of their APIs.
97 * Moose::Util::TypeConstraints
98 - Calling subtype with a name as the only argument is now an
99 exception. If you want an anonymous subtype do:
101 my $subtype = subtype as 'Foo';
103 * Moose::Cookbook::Meta::Recipe7
104 - A new recipe, creating a custom meta-instance class.
106 * Moose::Cookbook::Basics::Recipe5
107 - Fix various typos and mistakes. Includes a patch from Radu
110 * Moose::Cookbook::Basics::Recipe9
111 - Link to this recipe from Moose.pm's builder blurb
114 - When wrapping a function with a prototype, Moose::Exporter now
115 makes sure the wrapped function still has the same
116 prototype. (Daisuke Maki)
118 * Moose::Meta::Attribute
119 - Allow a subclass to set lazy_build for an inherited
123 - Explicitly depend on Data::OptList. We already had this dependency
124 via Sub::Exporter, but since we're using it directly we're
125 better off with it listed. (Sartak)
127 * Moose::Meta::Method::Constructor
128 - Make it easier to subclass the inlining behaviour. (Ash
131 * Moose::Manual::Delta
132 - Details significant changes in the history of Moose, along
133 with recommended workarounds.
135 * Moose::Manual::Contributing
136 - Contributor's guide to Moose.
138 * Moose::Meta::Method::Constructor
139 - The long-deprecated intialize_body method has been removed
140 (yes, spelled like that).
142 * Moose::Meta::Method::Destructor
143 - This is_needed method is now always a class method.
146 - Changes to the internals of how make_immutable works to match
147 changes in latest Class::MOP.
149 0.72 Mon, February 23, 2009
151 * Moose::Meta::Method::Constructor
152 - A mutable class accepted Foo->new(undef) without complaint,
153 while an immutable class would blow up with an unhelpful
154 error. Now, in both cases we throw a helpful error
155 instead. Reported by doy.
157 0.71_01 Sun, February 22, 2009
159 - Hopefully fixed some POD errors in a few recipes that caused
160 them to display weird on search.cpan.org.
162 * Moose::Util::TypeConstraints
163 - Calling type or subtype without the sugar helpers (as, where,
164 message) is now deprecated.
165 - The subtype function tried hard to guess what you meant, but
166 often got it wrong. For example:
168 my $subtype = subtype as 'ArrayRef[Object]';
170 This caused an error in the past, but now works as you'd
174 - Make sure Moose.pm is loaded before calling
175 Moose->throw_error. This wasn't normally an issue, but could
176 bite you in weird cases.
178 0.71 Thu, February 19, 2009
179 * Moose::Cookbook::Basics::Recipe11
180 - A new recipe which demonstrates the use of BUILDARGS and
183 * Moose::Cookbook::Roles::Recipe3
184 - A new recipe, applying a role to an object instance. (Dave
188 - Allow overriding specific keywords from "also" packages. (doy)
191 - Replace hardcoded cookbook tests with Test::Inline to ensure
192 the tests match the actual code in the recipes. (Dave Rolsky)
195 - Working on the above turned up a number of little bugs in the
196 recipe code. (Dave Rolsky)
198 * Moose::Util::TypeConstraints::Optimized
199 - Just use Class::MOP for the optimized ClassName check. (Dave
202 0.70 Sat, February 14, 2009
203 * Moose::Util::TypeConstraints
204 - Added the RoleName type (stevan)
205 - added tests for this (stevan)
207 * Moose::Cookbook::Basics::Recipe3
208 - Updated the before qw[left right] sub to be a little more
209 defensive about what it accepts (stevan)
210 - added more tests to t/000_recipies/basics/003_binary_tree.t
214 - We now always call DEMOLISHALL, even if a class does not
215 define DEMOLISH. This makes sure that method modifiers on
216 DEMOLISHALL work as expected. (doy)
217 - added tests for this (EvanCarroll)
219 * Moose::Util::MetaRole
220 - Accept roles for the wrapped_method_metaclass (rafl)
221 - added tests for this (rafl)
223 * Moose::Meta::Attribute
224 - We no longer pass the meta-attribute object as a final
225 argument to triggers. This actually changed for inlined code a
226 while back, but the non-inlined version and the docs were
230 - Some tests tried to use Test::Warn 0.10, which had bugs. Now
231 they require 0.11. (Dave Rolsky)
234 - Lots of small changes to the manual, cookbook, and
235 elsewhere. These were based on feedback from various
236 users, too many to list here. (Dave Rolsky)
238 0.69 Thu, February 12, 2009
240 - Make some keyword errors use throw_error instead of croak
241 since Moose::Exporter wraps keywords now (Sartak)
244 - Revised every recipe for style and clarity. Also moved some
245 documentation out of cookbook recipes and into Moose::Manual
246 pages. This work was funded as part of the Moose docs grant
247 from TPF. (Dave Rolsky)
249 * Moose::Meta::Method::Delegation
250 - If the attribute doing the delegation was not populated, the
251 error message did not specify the attribute name
254 0.68 Wed, February 4, 2009
256 - Many spelling, typo, and formatting fixes by daxim.
258 * Moose::Manual::Attributes
259 - The NAME section in the POD used "Attribute" so search.cpan
260 didn't resolve links from other documents properly.
262 * Moose::Meta::Method::Overriden
263 - Now properly spelled as Overridden. Thanks to daxim for
266 0.67 Tue, February 3, 2009
268 - Lots of little typo fixes and a few clarifications. Several
269 pages didn't have proper titles, and so weren't actually
270 visible on search.cpan.org. Thanks to hanekomu for a variety
271 of fixes and formatting improvements.
273 0.66 Tue, February 3, 2009
275 - This is a brand new, extensive manual for Moose. This aims to
276 provide a complete introduction to all of Moose's
277 features. This work was funded as part of the Moose docs grant
278 from TPF. (Dave Rolsky)
280 * Moose::Meta::Attribute
281 - Added a delegation_metaclass method to replace a hard-coded
282 use of Moose::Meta::Method::Delegation. (Dave Rolsky)
284 * Moose::Util::TypeConstraints
285 - If you created a subtype and passed a parent that Moose didn't
286 know about, it simply ignored the parent. Now it automatically
287 creates the parent as a class type. This may not be what you
288 want, but is less broken than before. (Dave Rolsky)
290 * Moose::Util::TypeConstraints
291 - This module tried throw errors by calling Moose->throw_error,
292 but it did not ensure that Moose was loaded first. This could
293 cause very unhelpful errors when it tried to throw an error
294 before Moose was loaded. (Dave Rolsky)
296 * Moose::Util::TypeConstraints
297 - You could declare a name with subtype such as "Foo!Bar" that
298 would be allowed, but if you used it in a parameterized type
299 such as "ArrayRef[Foo!Bar]" it wouldn't work. We now do some
300 vetting on names created via the sugar functions, so that they
301 can only contain alphanumerics, ":", and ".". (Dave Rolsky)
303 0.65 Thu, January 22, 2008
304 * Moose and Moose::Meta::Method::Overridden
305 - If an overridden method called super(), and then the
306 superclass's method (not overridden) _also_ called super(),
307 Moose went into an endless recursion loop. Test provided by
308 Chris Prather. (Dave Rolsky)
310 * Moose::Meta::TypeConstraint
311 - All methods are now documented. (gphat)
313 * t/100_bugs/011_DEMOLISH_eats_exceptions.t
314 - Fixed some bogus failures that occurred because we tried to
315 validate filesystem paths in a very ad-hoc and
316 not-quite-correct way. (Dave Rolsky)
318 * Moose::Util::TypeConstraints
319 - Added maybe_type to exports. See docs for details. (rjbs)
322 - Added Moose::Util::TypeConstraints to the SEE ALSO
326 - Methods created via an attribute can now fulfill a "requires"
327 declaration for a role. (nothingmuch)
329 * Moose::Meta::Method::*
330 - Stack traces from inlined code will now report its line and
331 file as being in your class, as opposed to in Moose
334 0.64 Wed, December 31, 2008
335 * Moose::Meta::Method::Accessor
336 - Always inline predicate and clearer methods (Sartak)
338 * Moose::Meta::Attribute
339 - Support for parameterized traits (Sartak)
340 - verify_against_type_constraint method to avoid duplication
341 and enhance extensibility (Sartak)
344 - Tests (but no support yet) for parameterized traits (Sartak)
347 - Require Class::MOP 0.75+, which has the side effect of making
348 sure we work on Win32. (Dave Rolsky)
350 0.63 Mon, December 8, 2008
352 - Some small grammar tweaks and bug fixes in non-Moose example
355 0.62_02 Fri, December 5, 2008
356 * Moose::Meta::Role::Application::ToClass
357 - When a class does not provide all of a role's required
358 methods, the error thrown now mentions all of the missing
359 methods, as opposed to just the first one found. Requested by
360 Curtis Poe (RT #41119). (Dave Rolsky)
362 * Moose::Meta::Method::Constructor
363 - Moose will no longer inline a constructor for your class
364 unless it inherits its constructor from Moose::Object, and
365 will warn when it doesn't inline. If you want to force
366 inlining anyway, pass "replace_constructor => 1" to
367 make_immutable. Addresses RT #40968, reported by Jon
368 Swartz. (Dave Rolsky)
369 - The quoting of default values could be broken if the default
370 contained a single quote ('). Now we use quotemeta to escape
371 anything potentially dangerous in the defaults. (Dave Rolsky)
373 0.62_01 Wed, December 3, 2008
375 - use the method->execute API for BUILDALL
376 and DEMOLISHALL (Sartak)
378 * Moose::Util::TypeConstraints
379 - We now make all the type constraint meta classes immutable
380 before creating the default types provided by Moose. This
381 should make loading Moose a little faster. (Dave Rolsky)
383 0.62 Wed November 26, 2008
384 * Moose::Meta::Role::Application::ToClass
385 Moose::Meta::Role::Application::ToRole
386 - fixed issues where excluding and aliasing the
387 same methods for a single role did not work
388 right (worked just fine with multiple
390 - added test for this (stevan)
392 * Moose::Meta::Role::Application::RoleSummation
393 - fixed the error message when trying to compose
394 a role with a role it excludes (Sartak)
397 - Catch another case where recursion caused the value
398 of $CALLER to be stamped on (t0m)
399 - added test for this (t0m)
402 - Remove the make_immutable keyword, which has been
403 deprecated since April. It breaks metaclasses that
404 use Moose without no Moose (Sartak)
406 * Moose::Meta::Attribute
407 - Removing an attribute from a class now also removes delegation
408 (handles) methods installed for that attribute (t0m)
409 - added test for this (t0m)
411 * Moose::Meta::Method::Constructor
412 - An attribute with a default that looked like a number (but was
413 really a string) would accidentally be treated as a number
414 when the constructor was made immutable (perigrin)
415 - added test for this (perigrin)
418 - create method for constructing a role
420 - added test for this (Sartak)
421 - anonymous roles! (Sartak)
422 - added test for this (Sartak)
425 - more consistent error messages (Sartak)
427 * Moose::Cookbook::Roles::Recipe1
428 - attempt to explain why a role that just requires
429 methods is useful (Sartak)
431 0.61 Fri November 7, 2008
432 * Moose::Meta::Attribute
433 - When passing a role to handles, it will be loaded if necessary
437 - Method objects returned by get_method (and other methods)
438 Could end up being returned without an associated_metaclass
439 attribute. Removing get_method_map, which is provided by
440 Class::MOP::Class, fixed this. The Moose version did nothing
441 different from its parent except introduce a bug. (Dave Rolsky)
442 - added tests for this (jdv79)
445 - Added a $VERSION to all .pm files which didn't have one. Fixes
446 RT #40049, reported by Adam Kennedy. (Dave Rolsky)
448 * Moose::Cookbook::Basics::Recipe4
449 * Moose::Cookbook::Basics::Recipe6
450 - These files had spaces on the first line of the SYNOPSIS, as
451 opposed to a totally empty line. According to RT #40432, this
452 confuses POD parsers. (Dave Rolsky)
454 0.60 Fri October 24, 2008
456 - Passing "-traits" when loading Moose caused the Moose.pm
457 exports to be broken. Reported by t0m. (Dave Rolsky)
458 - Tests for this bug. (t0m)
461 - Change resolve_metaclass alias to use the new
462 load_first_existing_class function. This makes it a lot
463 simpler, and also around 5 times faster. (t0m)
464 - Add caching to resolve_metaclass_alias, which gives an order
465 of magnitude speedup to things which repeatedly call the
466 Moose::Meta::Attribute->does method, notably MooseX::Storage
469 * Moose::Util::TypeConstraint
470 - Put back the changes for parameterized constraints that
471 shouldn't have been removed in 0.59. We still cannot parse
472 them, but MooseX modules can create them in some other
473 way. See the 0.58 changes for more details. (jnapiorkowski)
474 - Changed the way subtypes are created so that the job is
475 delegated to a type constraint parent. This clears up some
476 hardcoded checking and should allow correct subtypes of
477 Moose::Meta::Type::Constraint. Don't rely on this new API too
478 much (create_child_type) because it may go away in the
479 future. (jnapiorkowski)
481 * Moose::Meta::TypeConstraint::Union
482 - Type constraint names are sorted as strings, not numbers.
485 * Moose::Meta::TypeConstraint::Parameterizable
486 - New parameterize method. This can be used as a factory method
487 to make a new type constraint with a given parameterized
488 type. (jnapiorkowski)
489 - added tests (jnapiorkowski)
491 0.59 Tue October 14, 2008
493 - Add abridged documentation for builder/default/initializer/
494 predicate, and link to more details sections in
495 Class::MOP::Attribute. (t0m)
497 * Moose::Util::TypeConstraints
498 - removed prototypes from all but the &-based stuff (mst)
500 * Moose::Util::TypeConstraints
501 - Creating a anonymous subtype with both a constraint and a
502 message failed with a very unhelpful error, but should just
503 work. Reported by t0m. (Dave Rolsky)
506 - Some tests that used Test::Warn if it was available failed
507 with older versions of Test::Warn. Reported by Fayland. (Dave
509 - Test firing behavior of triggers in relation to builder/default/
511 - Test behavior of equals/is_a_type_of/is_a_subtype_of for all
512 kinds of supported type. (t0m)
515 - In create(), do not pass "roles" option to the superclass
516 - added related test that creates an anon metaclass with
519 * Moose::Meta::TypeConstraint::Class
520 * Moose::Meta::TypeConstraint::Role
521 - Unify behavior of equals/is_a_type_of/is_a_subtype_of with
522 other types (as per change in 0.55_02). (t0m)
524 * Moose::Meta::TypeConstraint::Registry
525 - Fix warning when dealing with unknown type names (t0m)
527 * Moose::Util::TypeConstraints
528 - Reverted changes from 0.58 related to handle parameterized
529 types. This caused random failures on BSD and Win32 systems,
530 apparently related to the regex engine. This means that Moose
531 can no longer parse structured type constraints like
532 ArrayRef[Int,Int] or HashRef[name=>Str]. This will be
533 supported in a slightly different way via MooseX::Types some
534 time in the future. (Dave Rolsky)
536 0.58 Sat September 20, 2008
537 !! This release has an incompatible change regarding !!
538 !! how roles add methods to a class !!
540 * Roles and role application
541 ! Roles now add methods by calling add_method, not
542 alias_method. They make sure to always provide a method
543 object, which will be cloned internally. This means that it is
544 now possible to track the source of a method provided by a
545 role, and even follow its history through intermediate roles.
547 This means that methods added by a role now show up when
548 looking at a class's method list/map. (Dave Rolsky)
551 - From this release on, we'll try to maintain a list of
552 conflicting modules, and warn you if you have one
553 installed. For example, this release conflicts with ...
554 - MooseX::Singleton <= 0.11
555 - MooseX::Params::Validate <= 0.05
558 In general, we try to not break backwards compatibility for
559 most Moose users, but MooseX modules and other code which
560 extends Moose's metaclasses is often affected by very small
561 changes in the Moose internals.
563 * Moose::Meta::Method::Delegation
564 * Moose::Meta::Attribute
565 - Delegation methods now have their own method class. (Dave
568 * Moose::Meta::TypeConstraint::Parameterizable
569 - Added a new method 'parameterize' which is basically a factory
570 for the containing constraint. This makes it easier to create
571 new types of parameterized constraints. (jnapiorkowski)
573 * Moose::Meta::TypeConstraint::Union
574 - Changed the way Union types canonicalize their names to follow
575 the normalized TC naming rules, which means we strip all
576 whitespace. (jnapiorkowski)
578 * Moose::Util::TypeConstraints
579 - Parameter and Union args are now sorted, this makes Int|Str
580 the same constraint as Str|Int. (jnapiorkowski)
581 - Changes to the way Union types are parsed to more correctly
582 stringify their names. (jnapiorkowski)
583 - When creating a parameterized type, we now use the new
584 parameterize method. (jnapiorkowski)
585 - Incoming type constraint strings are now normalized to remove
586 all whitespace differences. (jnapiorkowski)
587 - Changed the way we parse type constraint strings so that we now
588 match TC[Int,Int,...] and TC[name=>Str] as parameterized type
589 constraints. This lays the foundation for more flexible type
590 constraint implementations.
592 * Tests and docs for all the above. (jnapiorkowski)
596 - Moose::Exporter will no longer remove a subroutine that the
597 exporting package re-exports. Moose re-exports the
598 Carp::confess function, among others. The reasoning is that we
599 cannot know whether you have also explicitly imported those
600 functions for your own use, so we err on the safe side and
601 always keep them. (Dave Rolsky)
602 - added tests for this (rafl)
605 - Changes to how we fix metaclass compatibility that are much
606 too complicated to go into. The summary is that Moose is much
607 less likely to complain about metaclass incompatibility
608 now. In particular, if two metaclasses differ because
609 Moose::Util::MetaRole was used on the two corresponding
610 classes, then the difference in roles is reconciled for the
611 subclass's metaclass. (Dave Rolsky)
612 - Squashed an warning in _process_attribute (thepler)
615 - throw exceptions (sooner) for invalid attribute names (thepler)
616 - added tests for this (thepler)
618 * Moose::Util::MetaRole
619 - If you explicitly set a constructor or destructor class for a
620 metaclass object, and then applied roles to the metaclass,
621 that explicitly set class would be lost and replaced with the
625 * Moose::Meta::Attribute
626 * Moose::Meta::Method
629 * Moose::Error::Default
630 * Moose::Error::Croak
631 * Moose::Error::Confess
632 - All instances of confess() changed to use overridable
633 C<throw_error> method. This method ultimately calls a class
634 constructor, and you can change the class being called. In
635 addition, errors now pass more information than just a string.
636 The default C<error_class> behaves like C<Carp::confess>, so
637 the behavior is not visibly different for end users.
639 0.57 Wed September 3, 2008
641 - A new bit of doc intended to introduce folks familiar with
642 "standard" Perl 5 OO to Moose concepts. (Dave Rolsky)
645 - Shows examples of two classes, each done first with and then
646 without Moose. This makes a nice parallel to
647 Moose::Intro. (Dave Rolsky)
649 * Moose::Util::TypeConstraints
650 - Fixed a bug in find_or_parse_type_constraint so that it
651 accepts a Moose::Meta::TypeConstraint object as the parent
652 type, not just a name (jnapiorkowski)
653 - added tests (jnapiorkowski)
656 - If Sub::Name was not present, unimporting failed to actually
657 remove some sugar subs, causing test failures (Dave Rolsky)
659 0.56 Mon September 1, 2008
660 For those not following the series of dev releases, there are
661 several major changes in this release of Moose.
662 ! Moose::init_meta should now be called as a method. See the
665 - Major performance improvements by nothingmuch.
667 - New modules for extension writers, Moose::Exporter and
668 Moose::Util::MetaRole by Dave Rolsky.
670 - Lots of doc improvements and additions, especially in the
675 * Removed all references to the experimental-but-no-longer-needed
676 Moose::Meta::Role::Application::ToMetaclassInstance.
678 * Require Class::MOP 0.65.
680 0.55_04 Sat August 30, 2008
681 * Moose::Util::MetaRole
682 * Moose::Cookbook::Extending::Recipe2
683 - This simplifies the application of roles to any meta class, as
684 well as the base object class. Reimplemented metaclass traits
685 using this module. (Dave Rolsky)
687 * Moose::Cookbook::Extending::Recipe1
688 - This a new recipe, an overview of various ways to write Moose
689 extensions (Dave Rolsky)
691 * Moose::Cookbook::Extending::Recipe3
692 * Moose::Cookbook::Extending::Recipe4
693 - These used to be Extending::Recipe1 and Extending::Recipe2,
696 0.55_03 Fri August 29, 2008
697 * No changes from 0.55_02 except increasing the Class::MOP
698 dependency to 0.64_07.
700 0.55_02 Fri August 29, 2008
701 * Makefile.PL and Moose.pm
702 - explicitly require Perl 5.8.0+ (Dave Rolsky)
704 * Moose::Util::TypeConstraints
705 - Fix warnings from find_type_constraint if the type is not
708 * Moose::Meta::TypeConstraint
709 - Predicate methods (equals/is_a_type_of/is_subtype_of) now
710 return false if the type you specify cannot be found in the
711 type registry, rather than throwing an unhelpful and
712 coincidental exception. (t0m).
713 - added docs & test for this (t0m)
715 * Moose::Meta::TypeConstraint::Registry
716 - add_type_constraint now throws an exception if a parameter is
718 - added docs & test for this (t0m)
720 * Moose::Cookbook::FAQ
721 - Added a faq entry on the difference between "role" and "trait"
725 - Fixed a bug that caused role composition to not see a required
726 method when that method was provided by another role being
727 composed at the same time. (Dave Rolsky)
728 - test and bug finding (tokuhirom)
730 0.55_01 Wed August 20, 2008
732 !! Calling Moose::init_meta as a function is now !!
733 !! deprecated. Please see the Moose.pm docs for details. !!
735 * Moose::Meta::Method::Constructor
736 - Fix inlined constructor so that values produced by default
737 or builder methods are coerced as required. (t0m)
738 - added test for this (t0m)
740 * Moose::Meta::Attribute
741 - A lazy attribute with a default or builder did not attempt to
742 coerce the default value. The immutable code _did_
744 - added test for this (t0m)
747 - This is a new helper module for writing "Moose-alike"
748 modules. This should make the lives of MooseX module authors
749 much easier. (Dave Rolsky)
752 * Moose::Cookbook::Meta::Recipe5
753 - Implemented metaclass traits (and wrote a recipe for it):
755 use Moose -traits => 'Foo'
757 This should make writing small Moose extensions a little
760 * Moose::Cookbook::Basics::Recipe1
761 - Removed any examples of direct hashref access, and applied an
762 editorial axe to reduce verbosity. (Dave Rolsky)
764 * Moose::Cookbook::Basics::Recipe1
765 - Also applied an editorial axe here. (Dave Rolsky)
768 * Moose::Cookbook::Extending::Recipe1
769 * Moose::Cookbook::Extending::Recipe2
770 - Rewrote extending and embedding moose documentation and
771 recipes to use Moose::Exporter (Dave Rolsky)
775 - These two modules now warn when you load them from the main
776 package "main" package, because we will not export sugar to
777 main. Previously it just did nothing. (Dave Rolsky)
780 - Now provide an init_meta method just like Moose.pm, and you
781 can call this to provide an alternate role metaclass. (Dave
782 Rolsky and nothingmuch)
783 - get_method_map now respects the package cache flag (nothingmuch)
786 - Two new methods - add_method and wrap_method_body
790 - Optimizations including allowing constructors to accept hash
791 refs, making many more classes immutable, and making
792 constructors immutable. (nothingmuch)
794 0.55 Sun August 3, 2008
795 * Moose::Meta::Attribute
796 - breaking down the way 'handles' methods are
797 created so that the process can be more easily
798 overridden by subclasses (stevan)
800 * Moose::Meta::TypeConstraint
801 - fixing what is passed into a ->message with
802 the type constraints (RT #37569)
803 - added tests for this (Charles Alderman)
805 * Moose::Util::TypeConstraints
806 - fix coerce to accept anon types like subtype can (mst)
809 - reorganized the recipes into sections - Basics, Roles, Meta,
810 Extending - and wrote abstracts for each section (Dave Rolsky)
812 * Moose::Cookbook::Basics::Recipe10
813 - A new recipe that demonstrates operator overloading
814 in combination with Moose. (bluefeet)
816 * Moose::Cookbook::Meta::Recipe1
817 - an introduction to what meta is and why you'd want to make
818 your own metaclass extensions (Dave Rolsky)
820 * Moose::Cookbook::Meta::Recipe4
821 - a very simple metaclass example (Dave Rolsky)
823 * Moose::Cookbook::Extending::Recipe1
824 - how to write a Moose-alike module to use your own object base
827 * Moose::Cookbook::Extending::Recipe2
828 - how to write modules with an API just like C<Moose.pm> (Dave
832 - Tons of fixes, both syntactical and grammatical (Dave
833 Rolsky, Paul Fenwick)
835 0.54 Thurs. July 3, 2008
836 ... this is not my day today ...
838 * Moose::Meta::Attribute
839 - fixed legal_options_for_inheritance such that
840 clone_and_inherit options still works for
841 Class::MOP::Attribute objects and therefore
842 does not break MooseX::AttributeHelpers
845 0.53 Thurs. July 3, 2008
846 * Whoops, I guess I should run 'make manifest' before
847 actually releasing the module. No actual changes
848 in this release, except the fact that it includes
849 the changes that I didn't include in the last
852 0.52 Thurs. July 3, 2008
854 - added "FEATURE REQUESTS" section to the Moose docs
855 to properly direct people (stevan) (RT #34333)
856 - making 'extends' croak if it is passed a Role since
857 this is not ever something you want to do
858 (fixed by stevan, found by obra)
859 - added tests for this (stevan)
862 - adding support for DOES (as in UNIVERSAL::DOES)
864 - added test for this
866 * Moose::Meta::Attribute
867 - added legal_options_for_inheritance (wreis)
868 - added tests for this (wreis)
870 * Moose::Cookbook::Snacks::*
871 - removed some of the unfinished snacks that should
872 not have been released yet. Added some more examples
873 to the 'Keywords' snack. (stevan)
875 * Moose::Cookbook::Style
876 - added general Moose "style guide" of sorts to the
877 cookbook (nothingmuch) (RT #34335)
880 - added more BUILDARGS tests (stevan)
882 0.51 Thurs. Jun 26, 2008
884 - add unimport so "no Moose::Role" actually does
887 * Moose::Meta::Role::Application::ToRole
888 - when RoleA did RoleB, and RoleA aliased a method from RoleB in
889 order to provide its own implementation, that method still got
890 added to the list of required methods for consumers of
891 RoleB. Now an aliased method is only added to the list of
892 required methods if the role doing the aliasing does not
893 provide its own implementation. See Recipe 11 for an example
894 of all this. (Dave Rolsky)
895 - added tests for this
897 * Moose::Meta::Method::Constructor
898 - when a single argument that wasn't a hashref was provided to
899 an immutabilized constructor, the error message was very
900 unhelpful, as opposed to the non-immutable error. Reported by
902 - added test for this (Dave Rolsky)
904 * Moose::Meta::Attribute
905 - added support for meta_attr->does("ShortAlias") (sartak)
906 - added tests for this (sartak)
907 - moved the bulk of the `handles` handling to the new
908 install_delegation method (Stevan)
911 - Added BUILDARGS, a new step in new()
913 * Moose::Meta::Role::Application::RoleSummation
914 - fix typos no one ever sees (sartak)
916 * Moose::Util::TypeConstraints
917 * Moose::Meta::TypeConstraint
918 * Moose::Meta::TypeCoercion
919 - Attempt to work around the ??{ } vs. threads issue
921 - Some null_constraint optimizations
923 0.50 Thurs. Jun 11, 2008
924 - Fixed a version number issue by bumping all modules
927 0.49 Thurs. Jun 11, 2008
928 !! This version now approx. 20-25% !!
929 !! faster with new Class::MOP 0.59 !!
931 * Moose::Meta::Attribute
932 - fixed how the is => (ro|rw) works with
933 custom defined reader, writer and accessor
935 - added docs for this (TODO).
936 - added tests for this (Thanks to Penfold)
937 - added the custom attribute alias for regular
938 Moose attributes which is "Moose"
939 - fix builder and default both being used
944 Moose::Meta::Attribute
946 Moose::Meta::Role::Composite
947 Moose::Util::TypeConstraints
948 - switched usage of reftype to ref because
952 - changing add_package_symbol to use the new
956 - fixed how DEMOLISHALL is called so that it
957 can be overrided in subclasses (thanks to Sartak)
958 - added test for this (thanks to Sartak)
960 * Moose::Util::TypeConstraints
961 - move the ClassName type check code to
962 Class::MOP::is_class_loaded (thanks to Sartak)
964 * Moose::Cookbook::Recipe11
965 - add tests for this (thanks to tokuhirom)
967 0.48 Thurs. May 29, 2008
968 (early morning release engineering)--
970 - fixing the version in Moose::Meta::Method::Destructor
971 which was causing the indexer to choke
973 0.47 Thurs. May 29, 2008
974 (late night release engineering)--
976 - fixing the version is META.yml, no functional
977 changes in this release
979 0.46 Wed. May 28, 2008
980 !! This version now approx. 20-25% !!
981 !! faster with new Class::MOP 0.57 !!
984 - some optimizations of the &initialize method
985 since it is called so often by &meta
989 - now use the get_all_package_symbols from the
990 updated Class::MOP, test suite is now 10 seconds
993 * Moose::Meta::Method::Destructor
994 - is_needed can now also be called as a class
995 method for immutablization to check if the
996 destructor object even needs to be created
999 * Moose::Meta::Method::Destructor
1000 Moose::Meta::Method::Constructor
1001 - added more descriptive error message to help
1002 keep people from wasting time tracking an error
1003 that is easily fixed by upgrading.
1005 0.45 Saturday, May 24, 2008
1007 - Because of work in Class::MOP 0.57, all
1008 XS based functionality is now optional
1009 and a Pure Perl version is supplied
1010 - the CLASS_MOP_NO_XS environment variable
1011 can now be used to force non-XS versions
1013 - several of the packages have been tweaked
1014 to take care of this, mostly we added
1015 support for the package_name and name
1016 variables in all the Method metaclasses
1017 - before/around/after method modifiers now
1018 support regexp matching of names
1019 (thanks to Takatoshi Kitano)
1020 - tests added for this
1021 - NOTE: this only works for classes, it
1022 is currently not supported in roles,
1023 but, ... patches welcome
1024 - All usage of Carp::confess have been replaced
1025 by Carp::croak in the "keyword" functions since
1026 the stack trace is usually not helpful
1029 - All usage of Carp::confess have been replaced
1030 by Carp::croak in the "keyword" functions since
1031 the stack trace is usually not helpful
1032 - The 'has' keyword for roles now accepts the
1033 same array ref form that Moose.pm does
1034 (has [qw/foo bar/] => (is => 'rw', ...))
1035 - added test for this
1037 * Moose::Meta::Attribute
1038 - trigger on a ro-attribute is no longer an
1039 error, as it's useful to trigger off of the
1042 * Moose::Meta::Class
1043 - added same 'add_package_symbol' fix as in
1047 - does_role now handles non-Moose classes
1049 - added tests for this
1050 - added the 'add_method_modifier' function
1051 (thanks to Takatoshi Kitano)
1053 * Moose::Util::TypeConstraints
1054 - subtypes of parameterizable types now are
1055 themselves parameterizable types
1057 * Moose::Meta::Method::Constructor
1058 - fixed bug where trigger was not being
1059 called by the inlined immutable
1061 - added test for this (thanks to Caelum)
1063 * Moose::Meta::Role::Application::ToInstance
1064 - now uses the metaclass of the instance
1065 (if possible) to create the anon-class
1066 (thanks Jonathan Rockway)
1068 * Moose::Cookbook::Recipe22
1069 - added the meta-attribute trait recipe
1073 - fixed hash-ordering test bug that was
1074 causing occasional cpantester failures
1075 - renamed the t/000_recipe/*.t tests to be
1076 more descriptive (thanks to Sartak)
1078 0.44 Sat. May 10, 2008
1080 - made make_immutable warning cluck to
1081 show where the error is (thanks mst)
1084 - BUILDALL and DEMOLISHALL now call
1085 ->body when looping through the
1086 methods, to avoid the overloaded
1088 - fixed issue where DEMOLISHALL was
1089 eating the $@ values, and so not
1090 working correctly, it still kind of
1091 eats them, but so does vanilla perl
1092 - added tests for this
1094 * Moose::Cookbook::Recipe7
1095 - added new recipe for immutable
1096 functionality (thanks Dave Rolsky)
1098 * Moose::Cookbook::Recipe9
1099 - added new recipe for builder and
1100 lazy_build (thanks Dave Rolsky)
1102 * Moose::Cookbook::Recipe11
1103 - added new recipe for method aliasing
1104 and exclusion with Roles (thanks Dave Rolsky)
1107 - fixed Win32 test failure (thanks spicyjack)
1109 ~ removed Build.PL and Module::Build compat
1110 since Module::Install has done that.
1112 0.43 Wed. April, 30, 2008
1114 drink more coffee before
1115 doing release engineering
1117 - whoops, forgot to do the smolder tests,
1118 and we broke some of the custom meta-attr
1119 modules. This fixes that.
1121 0.42 Mon. April 28, 2008
1122 - some bad tests slipped by, nothing else
1123 changed in this release (cpantesters++)
1125 - upped the Class::MOP dependency to 0.55
1126 since we have tests which need the C3
1129 0.41 Mon. April 28, 2008
1130 ~~ numerous documentation updates ~~
1132 - Changed all usage of die to Carp::croak for better
1133 error reporting (initial patch by Tod Hagan)
1135 ** IMPORTANT NOTE **
1136 - the make_immutable keyword is now deprecated, don't
1137 use it in any new code and please fix your old code
1138 as well. There will be 2 releases, and then it will
1144 - refactored the way inner and super work to avoid
1145 any method/@ISA cache penalty (nothingmuch)
1147 * Moose::Meta::Class
1148 - fixing &new_object to make sure trigger gets the
1149 coerced value (spotted by Charles Alderman on the
1151 - added test for this
1153 * Moose::Meta::Method::Constructor
1154 - immutable classes which had non-lazy attributes were calling
1155 the default generating sub twice in the constructor. (bug
1156 found by Jesse Luehrs, fixed by Dave Rolsky)
1157 - added tests for this (Dave Rolsky)
1158 - fix typo in initialize_body method (nothingmuch)
1160 * Moose::Meta::Method::Destructor
1161 - fix typo in initialize_body method (nothingmuch)
1163 * Moose::Meta::Method::Overriden
1164 Moose::Meta::Method::Augmented
1165 - moved the logic for these into their own
1166 classes (nothingmuch)
1168 * Moose::Meta::Attribute
1169 - inherited attributes may now be extended without
1170 restriction on the type ('isa', 'does') (Sartak)
1171 - added tests for this (Sartak)
1172 - when an attribute property is malformed (such as lazy without
1173 a default), give the name of the attribute in the error
1175 - added the &applied_traits and &has_applied_traits methods
1176 to allow introspection of traits
1177 - added tests for this
1178 - moved 'trait' and 'metaclass' argument handling to here from
1180 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
1181 '+foo' syntax) (nothingmuch)
1182 - added tests for this (t0m)
1185 - localize $@ inside DEMOLISHALL to avoid it
1186 eating $@ (found by Ernesto)
1187 - added test for this (thanks to Ernesto)
1189 * Moose::Util::TypeConstraints
1190 - &find_type_constraint now DWIMs when given an
1191 type constraint object or name (nothingmuch)
1192 - &find_or_create_type_constraint superseded with a number of more
1194 - find_or_create_{isa,does}_type_constraint
1195 - find_or_parse_type_constraint
1197 * Moose::Meta::TypeConstraint
1198 Moose::Meta::TypeConstraint::Class
1199 Moose::Meta::TypeConstraint::Role
1200 Moose::Meta::TypeConstraint::Enum
1201 Moose::Meta::TypeConstraint::Union
1202 Moose::Meta::TypeConstraint::Parameterized
1203 - added the &equals method for comparing two type
1204 constraints (nothingmuch)
1205 - added tests for this (nothingmuch)
1207 * Moose::Meta::TypeConstraint
1208 - add the &parents method, which is just an alias to &parent.
1209 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
1211 * Moose::Meta::TypeConstraint::Class
1212 - added the class attribute for introspection purposes
1214 - added tests for this
1216 * Moose::Meta::TypeConstraint::Enum
1217 Moose::Meta::TypeConstraint::Role
1218 - broke these out into their own classes (nothingmuch)
1220 * Moose::Cookbook::Recipe*
1221 - fixed references to test file locations in the POD
1222 and updated up some text for new Moose features
1226 - Added &resolve_metaclass_alias, a helper function for finding an actual
1227 class for a short name (e.g. in the traits list)
1229 0.40 Fri. March 14, 2008
1230 - I hate Pod::Coverage
1232 0.39 Fri. March 14, 2008
1234 - documenting the use of '+name' with attributes
1235 that come from recently composed roles. It makes
1236 sense, people are using it, and so why not just
1237 officially support it.
1238 - fixing the 'extends' keyword so that it will not
1239 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1242 - added the perl -Moose=+Class::Name feature to allow
1243 monkeypatching of classes in one liners
1246 - fixing the 'apply_all_roles' keyword so that it will not
1247 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
1249 * Moose::Meta::Class
1250 - added ->create method which now supports roles (thanks to jrockway)
1251 - added tests for this
1252 - added ->create_anon_class which now supports roles and caching of
1253 the results (thanks to jrockway)
1254 - added tests for this
1255 - made ->does_role a little more forgiving when it is
1256 checking a Class::MOP era metaclasses.
1258 * Moose::Meta::Role::Application::ToInstance
1259 - it is now possible to pass extra params to be used when
1260 a role is applied to an the instance (rebless_params)
1261 - added tests for this
1263 * Moose::Util::TypeConstraints
1264 - class_type now accepts an optional second argument for a
1265 custom message. POD anotated accordingly (groditi)
1266 - added tests for this
1267 - it is now possible to make anon-enums by passing 'enum' an
1268 ARRAY ref instead of the $name => @values. Everything else
1270 - added tests for this
1273 - making test for using '+name' on attributes consumed
1274 from a role, it works and makes sense too.
1276 * Moose::Meta::Attribute
1277 - fix handles so that it doesn't return nothing
1278 when the method cannot be found, not sure why
1279 it ever did this originally, this means we now
1280 have slightly better support for AUTOLOADed
1282 - added more delegation tests
1283 - adding ->does method to this so as to better
1284 support traits and their introspection.
1285 - added tests for this
1288 - localizing the Data::Dumper configurations so
1289 that it does not pollute others (RT #33509)
1290 - made ->does a little more forgiving when it is
1291 passed Class::MOP era metaclasses.
1293 0.38 Fri. Feb. 15, 2008
1294 * Moose::Meta::Attribute
1295 - fixed initializer to correctly do
1296 type checking and coercion in the
1298 - added tests for this
1301 - fixed some finicky tests (thanks to konobi)
1303 0.37 Thurs. Feb. 14, 2008
1305 - fixed some details in Moose::init_meta
1306 and its superclass handling (thanks thepler)
1307 - added tests for this (thanks thepler)
1308 - 'has' now dies if you don't pass in name
1310 - added the 'make_immutable' keyword as a shortcut
1313 * Moose::Meta::Class
1314 Moose::Meta::Method::Constructor
1315 Moose::Meta::Attribute
1316 - making (init_arg => undef) work here too
1317 (thanks to nothingmuch)
1319 * Moose::Meta::Attribute
1320 Moose::Meta::Method::Constructor
1321 Moose::Meta::Method::Accessor
1322 - make lazy attributes respect attr initializers (rjbs)
1323 - added tests for this
1325 * Moose::Util::TypeConstraints
1326 Moose::Util::TypeConstraints::OptimizedConstraints
1327 Moose::Meta::TypeConstraints
1328 Moose::Meta::Attribute
1329 Moose::Meta::Method::Constructor
1330 Moose::Meta::Method::Accessor
1331 - making type errors use the
1332 assigned message (thanks to Sartak)
1333 - added tests for this
1335 * Moose::Meta::Method::Destructor
1336 - making sure DESTROY gets inlined properly
1337 with successive DEMOLISH calls (thanks to manito)
1339 * Moose::Meta::Attribute
1340 Moose::Meta::Method::Accessor
1341 - fixed handling of undef with type constraints
1343 - added tests for this
1346 - added &get_all_init_args and &get_all_attribute_values
1347 (thanks to Sartak and nothingmuch)
1349 0.36 Sat. Jan. 26, 2008
1351 Moose::Meta::Attribute
1352 - role type tests now support when roles are
1353 applied to non-Moose classes (found by ash)
1354 - added tests for this (thanks to ash)
1355 - couple extra tests to boost code coverage
1357 * Moose::Meta::Method::Constructor
1358 - improved fix for handling Class::MOP attributes
1359 - added test for this
1361 * Moose::Meta::Class
1362 - handled the add_attribute($attribute_meta_object)
1364 - added test for this
1366 0.35 Tues. Jan. 22, 2008
1367 * Moose::Meta::Method::Constructor
1368 - fix to make sure even Class::MOP attributes
1369 are handled correctly (Thanks to Dave Rolsky)
1370 - added test for this (also Dave Rolsky)
1372 * Moose::Meta::Class
1373 - improved error message on _apply_all_roles,
1374 you should now use Moose::Util::apply_all_roles
1375 and you shouldnt have been using a _ prefixed
1376 method in the first place ;)
1378 0.34 Mon. Jan. 21, 2008
1379 ~~~ more misc. doc. fixes ~~~
1380 ~~ updated copyright dates ~~
1382 Moose is now a postmodern object system :)
1383 - (see the POD for details)
1385 * <<Role System Refactoring>>
1386 - this release contains a major reworking and
1387 cleanup of the role system
1388 - 100% backwards compat.
1389 - Role application now restructured into seperate
1390 classes based on type of applicants
1391 - Role summation (combining of more than one role)
1392 is much cleaner and anon-classes are no longer
1393 used in this process
1394 - new Composite role metaclass
1395 - runtime application of roles to instances
1396 is now more efficient and re-uses generated
1397 classes when applicable
1399 * <<New Role composition features>>
1400 - methods can now be excluded from a given role
1402 - methods can now be aliased to another name (and
1403 still retain the original as well)
1405 * Moose::Util::TypeConstraints::OptimizedConstraints
1406 - added this module (see above)
1408 * Moose::Meta::Class
1409 - fixed the &_process_attribute method to be called
1410 by &add_attribute, so that the API is now correct
1412 * Moose::Meta::Method::Accessor
1413 - fixed bug when passing a list of values to
1414 an accessor would get (incorrectly) ignored.
1415 Thanks to Sartak for finding this ;)
1416 - added tests for this (Sartak again)
1418 * Moose::Meta::Method::Accessor
1419 Moose::Meta::Method::Constructor
1420 Moose::Meta::Attribute
1421 Moose::Meta::TypeConstraint
1422 Moose::Meta::TypeCoercion
1423 - lots of cleanup of such things as:
1425 - type constraint handling
1426 - error handling/messages
1427 (thanks to nothingmuch)
1429 * Moose::Meta::TypeConstraint::Parameterizable
1430 - added this module to support the refactor
1431 in Moose::Meta::TypeConstraint::Parameterized
1433 * Moose::Meta::TypeConstraint::Parameterized
1434 - refactored how these types are handled so they
1435 are more generic and not confined to ArrayRef
1439 - shortened some file names for better VMS support (RT #32381)
1441 0.33 Fri. Dec. 14, 2007
1442 !! Moose now loads 2 x faster !!
1443 !! with new Class::MOP 0.49 !!
1445 ++ new oose.pm module to make command line
1446 Moose-ness easier (see POD docs for more)
1448 * Moose::Meta::Class
1450 - several tweaks to take advantage of the
1451 new method map caching in Class::MOP
1453 * Moose::Meta::TypeConstraint::Parameterized
1454 - allow subtypes of ArrayRef and HashRef to
1455 be used as a container (sartak)
1456 - added tests for this
1457 - basic support for coercion to ArrayRef and
1458 HashRef for containers (sartak)
1459 - added tests for this
1461 * Moose::Meta::TypeCoercion
1462 - coercions will now create subtypes as needed
1463 so you can now add coercions to parameterized
1464 types without having to explictly define them
1465 - added tests for this
1467 * Moose::Meta::Method::Accessor
1468 - allow subclasses to decide whether we need
1469 to copy the value into a new variable (sartak)
1471 0.32 Tues. Dec. 4, 2007
1472 * Moose::Util::TypeConstraints
1473 - fixing how subtype aliases of unions work
1474 they should inherit the parent's coercion
1475 - added tests for this
1476 - you can now define multiple coercions on
1477 a single type at different times instead of
1478 having to do it all in one place
1479 - added tests for this
1481 * Moose::Meta::TypeConstraint
1482 - there is now a default constraint of sub { 1 }
1483 instead of Moose::Util::TypeConstraints setting
1486 * Moose::Meta::TypeCoercion
1487 * Moose::Meta::TypeCoercion::Union
1488 - added the &has_coercion_for_type and
1489 &add_type_coercions methods to support the
1490 new features above (although you cannot add
1491 more type coercions for Union types)
1493 0.31 Mon. Nov. 26, 2007
1494 * Moose::Meta::Attribute
1495 - made the +attr syntax handle extending types with
1496 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
1497 now works if the original foo is an ArrayRef.
1498 - added tests for this.
1499 - delegation now works even if the attribute does not
1500 have a reader method using the get_read_method_ref
1501 method from Class::MOP::Attribute.
1502 - added tests for this
1503 - added docs for this
1505 * Moose::Util::TypeConstraints
1506 - passing no "additional attribute info" to
1507 &find_or_create_type_constraint will no longer
1508 attempt to create an __ANON__ type for you,
1509 instead it will just return undef.
1510 - added docs for this
1512 0.30 Fri. Nov. 23, 2007
1513 * Moose::Meta::Method::Constructor
1514 -builder related bug in inlined constructor. (groditi)
1516 * Moose::Meta::Method::Accessor
1517 - genereate unnecessary calls to predicates and refactor
1518 code generation for runtime speed (groditi)
1520 * Moose::Util::TypeConstraints
1521 - fix ClassName constraint to introspect symbol table (mst)
1522 - added more tests for this (mst)
1523 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
1524 with work correctly.
1525 - added tests for this
1528 - adding the link to Recipie 11 (written by Sartak)
1529 - adding test for SYNOPSIS code
1532 - New tests for builder bug. Upon instantiation, if an
1533 attribute had a builder, no value and was not lazy the
1534 builder default was not getting run, oops. (groditi)
1536 0.29 Tues. Nov. 13, 2007
1537 * Moose::Meta::Attribute
1538 - Fix error message on missing builder method (groditi)
1540 * Moose::Meta::Method::Accessor
1541 - Fix error message on missing builder method (groditi)
1544 - Add test to check for the correct error message when
1545 builder method is missing (groditi)
1547 0.28 Tues. Nov. 13, 2007
1548 - 0.27 packaged incorrectly (groditi)
1550 0.27 Tues. Nov. 13, 2007
1551 * Moose::Meta::Attribute
1552 - Added support for the new builder option (groditi)
1553 - Added support for lazy_build option (groditi)
1554 - Changed slot initialization for predicate changes (groditi)
1556 * Moose::Meta::Method::Accessor
1557 - Added support for lazy_build option (groditi)
1558 - Fix inline methods to work with corrected predicate
1561 * Moose::Meta::Method::Constructor
1562 - Added support for lazy_build option (groditi)
1565 - tests for builder and lazy_build (groditi)
1567 * fixing some misc. bits in the docs that
1568 got mentioned on CPAN Forum & perlmonks
1571 - fixed how required methods are handled
1572 when they encounter overriden or modified
1573 methods from a class (thanks to confound).
1574 - added tests for this
1576 * Moose::Util::TypeConstraint
1577 - fixed the type notation parser so that
1578 the | always creates a union and so is
1579 no longer a valid type char (thanks to
1580 konobi, mugwump and #moose for working
1582 - added more tests for this
1584 0.26 Thurs. Sept. 27, 2007
1587 * Parameterized Types
1588 We now support parameterized collection types, such as:
1589 ArrayRef[Int] # array or integers
1590 HashRef[Object] # a hash with object values
1591 They can also be nested:
1592 ArrayRef[HashRef[RegexpRef]] # an array of hashes with regex values
1593 And work with the type unions as well:
1594 ArrayRef[Int | Str] # array of integers of strings
1596 * Better Framework Extendability
1597 Moose.pm is now "extendable" such that it is now much
1598 easier to extend the framework and add your own keywords
1599 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
1600 section of the Moose.pm docs.
1603 In an effort to begin documenting some of the various
1604 details of Moose as well as some common idioms, we have
1605 created Moose::Cookbook::Snacks as a place to find
1606 small (easily digestable) nuggets of Moose code.
1609 ~ Several doc updates/cleanup thanks to castaway ~
1611 - converted build system to use Module::Install instead of
1612 Module::Build (thanks to jrockway)
1615 - added all the meta classes to the immutable list and
1616 set it to inline the accessors
1617 - fix import to allow Sub::Exporter like { into => }
1618 and { into_level => } (perigrin)
1619 - exposed and documented init_meta() to allow better
1620 embedding and extending of Moose (perigrin)
1623 - complete re-organization of the test suite
1624 - added some new tests as well
1625 - finally re-enabled the Moose::POOP test since
1626 the new version of DBM::Deep now works again
1629 * Moose::Meta::Class
1630 - fixed very odd and very nasty recursion bug with
1632 - added tests for this (eilara)
1634 * Moose::Meta::Attribute
1635 Moose::Meta::Method::Constructor
1636 Moose::Meta::Method::Accessor
1637 - fixed issue with overload::Overloaded getting called
1638 on non-blessed items. (RT #29269)
1639 - added tests for this
1641 * Moose::Meta::Method::Accessor
1642 - fixed issue with generated accessor code making
1643 assumptions about hash based classes (thanks to dexter)
1645 * Moose::Coookbook::Snacks
1646 - these are bits of documentation, not quite as big as
1647 Recipes but which have no clear place in the module docs.
1648 So they are Snacks! (horray for castaway++)
1650 * Moose::Cookbook::Recipe4
1651 - updated it to use the new ArrayRef[MyType] construct
1652 - updated the accompanying test as well
1654 +++ Major Refactor of the Type Constraint system +++
1655 +++ with new features added as well +++
1657 * Moose::Util::TypeConstraint
1658 - no longer uses package variable to keep track of
1659 the type constraints, now uses the an instance of
1660 Moose::Meta::TypeConstraint::Registry to do it
1661 - added more sophisticated type notation parsing
1663 - added tests for this
1665 * Moose::Meta::TypeConstraint
1666 - some minor adjustments to make subclassing easier
1667 - added the package_defined_in attribute so that we
1668 can track where the type constraints are created
1670 * Moose::Meta::TypeConstraint::Union
1671 - this is now been refactored to be a subclass of
1672 Moose::Meta::TypeConstraint
1674 * Moose::Meta::TypeCoercion::Union
1675 - this has been added to service the newly refactored
1676 Moose::Meta::TypeConstraint::Union and is itself
1677 a subclass of Moose::Meta::TypeCoercion
1679 * Moose::Meta::TypeConstraint::Parameterized
1680 - added this module (taken from MooseX::AttributeHelpers)
1681 to help construct nested collection types
1682 - added tests for this
1684 * Moose::Meta::TypeConstraint::Registry
1685 - added this class to keep track of type constraints
1687 0.25 Mon. Aug. 13, 2007
1689 - Documentation update to reference Moose::Util::TypeConstraints
1690 under 'isa' in 'has' for how to define a new type
1691 (thanks to shlomif).
1693 * Moose::Meta::Attribute
1694 - required attributes now will no longer accept undef
1695 from the constructor, even if there is a default and lazy
1696 - added tests for this
1697 - default subroutines must return a value which passes the
1699 - added tests for this
1701 * Moose::Meta::Attribute
1702 * Moose::Meta::Method::Constructor
1703 * Moose::Meta::Method::Accessor
1704 - type-constraint tests now handle overloaded objects correctly
1705 in the error message
1706 - added tests for this (thanks to EvanCarroll)
1708 * Moose::Meta::TypeConstraint::Union
1709 - added (has_)hand_optimized_constraint to this class so that
1710 it behaves as the regular Moose::Meta::TypeConstraint does.
1713 - large refactoring of this code
1714 - added several more tests
1715 - tests for subtle conflict resolition issues
1716 added, but not currently running
1719 * Moose::Cookbook::Recipe7
1720 - added new recipe for augment/inner functionality
1722 - added test for this
1725 - a formal definition of roles (still in progress)
1728 - utilities for easier working with Moose classes
1729 - added tests for these
1732 - This contains Moose specific test functions
1733 - added tests for these
1735 0.24 Tues. July 3, 2007
1736 ~ Some doc updates/cleanup ~
1738 * Moose::Meta::Attribute
1739 - added support for roles to be given as parameters
1740 to the 'handles' option.
1741 - added tests and docs for this
1742 - the has '+foo' attribute form now accepts changes to
1743 the lazy option, and the addition of a handles option
1744 (but not changing the handles option)
1745 - added tests and docs for this
1748 - required methods are now fetched using find_method_by_name
1749 so that required methods can come from superclasses
1750 - adjusted tests for this
1752 0.23 Mon. June 18, 2007
1753 * Moose::Meta::Method::Constructor
1754 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
1755 * Moose::Meta::Class
1756 - Modify make_immutable to work with the new Class::MOP immutable
1757 mechanism + POD + very basic test (groditi)
1758 * Moose::Meta::Attribute
1759 - Fix handles to use goto() so that caller() comes out properly on
1760 the other side (perigrin)
1762 0.22 Thurs. May 31, 2007
1763 * Moose::Util::TypeConstraints
1764 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
1765 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
1766 prototypes for functions
1767 - added the ClassName type constraint, this checks for strings
1768 which will respond true to ->isa(UNIVERSAL).
1769 - added tests and docs for this
1770 - subtyping just in name now works correctly by making the
1771 default for where be { 1 }
1772 - added test for this
1774 * Moose::Meta::Method::Accessor
1775 - coerce and lazy now work together correctly, thanks to
1776 merlyn for finding this bug
1777 - tests added for this
1778 - fix reader presedence bug in Moose::Meta::Attribute + tests
1781 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
1782 a HASH-ref and missed. This produces better error messages then
1783 having it die cause undef is not a HASH.
1784 - added tests for this
1786 0.21 Thursday, May 2nd, 2007
1788 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
1789 - modified unimport to remove super and inner along with the rest
1790 - altered unimport tests to handle this
1793 - altered super export to populate SUPER_SLOT
1795 * Moose::Meta::Class
1796 - altered augment and override modifier application to use *_SLOT
1797 - modified tests for these to unimport one test class each to test
1800 - fixed issue where custom attribute metaclasses
1801 where not handled correctly in roles
1802 - added tests for this
1804 * Moose::Meta::Class
1805 - fixed issue where extending metaclasses with
1806 roles would blow up. Thanks to Aankhen`` for
1807 finding this insidious error, and it's solution.
1809 ~~ lots of spelling and grammer fixes in the docs,
1810 many many thanks to rlb3 and Aankhen for these :)
1812 0.20 Friday, April 6th, 2007
1813 >> I messed up the SKIP logic in one test
1814 so this release is just to fix that.
1817 - 'has' now also accepts an ARRAY ref
1818 to create multiple attrs (see docs)
1819 (thanks to konobi for this)
1820 - added tests and docs
1822 0.19 Thurs. April 5th, 2007
1823 ~~ More documentation updates ~~
1825 * Moose::Util::TypeConstraints
1826 - 'type' now supports messages as well
1827 thanks to phaylon for finding this
1828 - added tests for this
1829 - added &list_all_type_constraints and
1830 &list_all_builtin_type_constraints
1831 functions to facilitate introspection.
1833 * Moose::Meta::Attribute
1834 - fixed regexp 'handles' declarations
1835 to build the list of delegated methods
1836 correctly (and not override important
1837 things like &new) thanks to ashleyb
1839 - added tests and docs for this
1840 - added the 'documentation' attributes
1841 so that you can actually document your
1842 attributes and inspect them through the
1844 - added tests and docs for this
1846 * Moose::Meta::Class
1847 - when loading custom attribute metaclasses
1848 it will first look in for the class in the
1849 Moose::Meta::Attribute::Custom::$name, and
1850 then default to just loading $name.
1851 - added tests and docs for this
1853 * Moose::Meta::TypeConstraint
1854 - type constraints now stringify to their names.
1855 - added test for this
1858 - added tests to assure we work with Module::Refresh
1859 - added stricter test skip logic in the Moose POOP
1860 test, ask Rob Kinyon why.
1861 - *cough* DBM::Deep 1.0 backwards compatibility sucks *cough* ;)
1863 0.18 Sat. March 10, 2007
1864 ~~ Many, many documentation updates ~~
1867 - We now use Class::MOP::load_class to
1869 - added tests to show types and subtypes
1870 working with Declare::Constraints::Simple
1871 and Test::Deep as constraint engines.
1874 !! You must have Class::MOP 0.37_001 !!
1875 !! for this developer release to work !!
1877 This release was primarily adding the immutable
1878 feature to Moose. An immutable class is one which
1879 you promise not to alter. When you set the class
1880 as immutable it will perform various bits of
1881 memoization and inline certain part of the code
1882 (constructors, destructors and accessors). This
1883 minimizes (and in some cases totally eliminates)
1884 one of Moose's biggest performance hits. This
1885 feature is not on by default, and is 100% optional.
1886 It has several configurable bits as well, so you
1887 can pick and choose to your specific needs.
1889 The changes involved in this were fairly wide and
1890 highly specific, but 100% backwards compatible, so
1891 I am not going to enumerate them here. If you are
1892 truely interested in what was changed, please do
1895 0.17 Tues. Nov. 14, 2006
1896 * Moose::Meta::Method::Accessor
1897 - bugfix for read-only accessors which
1898 are have a type constraint and lazy.
1899 Thanks to chansen for finding it.
1901 0.16 Tues. Nov. 14, 2006
1903 There are some speed improvements in this release,
1904 but they are only the begining, so stay tuned.
1907 - BUILDALL and DEMOLISHALL no longer get
1908 called unless they actually need to be.
1909 This gave us a signifigant speed boost
1910 for the cases when there is no BUILD or
1911 DEMOLISH method present.
1913 * Moose::Util::TypeConstraints
1914 * Moose::Meta::TypeConstraint
1915 - added an 'optimize_as' option to the
1916 type constraint, which allows for a
1917 hand optimized version of the type
1918 constraint to be used when possible.
1919 - Any internally created type constraints
1920 now provide an optimized version as well.
1922 0.15 Sun. Nov. 5, 2006
1924 This version of Moose *must* have Class::MOP 0.36 in order
1925 to work correctly. A number of small internal tweaks have
1926 been made in order to be compatible with that release.
1928 * Moose::Util::TypeConstraints
1929 - added &unimport so that you can clean out
1930 your class namespace of these exported
1933 * Moose::Meta::Class
1934 - fixed minor issue which occasionally
1935 comes up during global destruction
1937 - moved Moose::Meta::Method::Overriden into
1941 - moved Moose::Meta::Role::Method into
1944 * Moose::Meta::Attribute
1945 - changed how we do type checks so that
1946 we reduce the overall cost, but still
1949 - moved accessor generation methods to
1950 Moose::Meta::Method::Accessor to
1951 conform to the API changes from
1954 * Moose::Meta::TypeConstraint
1955 - changed how constraints are compiled
1956 so that we do less recursion and more
1957 iteration. This makes the type check
1959 - moved Moose::Meta::TypeConstraint::Union
1962 * Moose::Meta::Method::Accessor
1963 - created this from methods formerly found in
1964 Moose::Meta::Attribute
1966 * Moose::Meta::Role::Method
1967 - moved this from Moose::Meta::Role
1969 * Moose::Meta::Method::Overriden
1970 - moved this from Moose::Meta::Class
1972 * Moose::Meta::TypeConstraint::Union
1973 - moved this from Moose::Meta::TypeConstraint
1975 0.14 Mon. Oct. 9, 2006
1977 * Moose::Meta::Attribute
1978 - fixed lazy attributes which were not getting
1979 checked with the type constraint (thanks ashley)
1980 - added tests for this
1981 - removed the over-enthusiastic DWIMery of the
1982 automatic ArrayRef and HashRef defaults, it
1983 broke predicates in an ugly way.
1984 - removed tests for this
1986 0.13 Sat. Sept. 30, 2006
1988 This version of Moose *must* have Class::MOP 0.35 in order
1989 to work correctly. A number of small internal tweaks have
1990 been made in order to be compatible with that release.
1993 - Removed the use of UNIVERSAL::require to be a better
1994 symbol table citizen and remove a dependency
1995 (thanks Adam Kennedy)
1997 **~~ removed experimental & undocumented feature ~~**
1998 - commented out the 'method' and 'self' keywords, see the
1999 comments for more info.
2002 - added a FAQ and WTF files to document frequently
2003 asked questions and common problems
2005 * Moose::Util::TypeConstraints
2006 - added GlobRef and FileHandle type constraint
2007 - added tests for this
2009 * Moose::Meta::Attribute
2010 - if your attribute 'isa' ArrayRef of HashRef, and you have
2011 not explicitly set a default, then make the default DWIM.
2012 This will also work for subtypes of ArrayRef and HashRef
2014 - you can now auto-deref subtypes of ArrayRef or HashRef too.
2015 - new test added for this (thanks to ashley)
2018 - added basic support for runtime role composition
2019 but this is still *highly experimental*, so feedback
2020 is much appreciated :)
2021 - added tests for this
2023 * Moose::Meta::TypeConstraint
2024 - the type constraint now handles the coercion process
2025 through delegation, this is to support the coercion
2028 * Moose::Meta::TypeConstraint::Union
2029 - it is now possible for coercions to be performed
2031 - added tests for this (thanks to konobi)
2033 * Moose::Meta::TypeCoercion
2034 - properly capturing error when type constraint
2038 - Scalar::Util 1.18 is bad on Win32, so temporarily
2039 only require version 1.17 for Win32 and cygwin.
2040 (thanks Adam Kennedy)
2042 0.12 Sat. Sept. 1, 2006
2044 - Recipe5 (subtypes & coercion) has been written
2047 - fixed "bad meta" error message to be more descriptive
2048 - fixed &unimport to not remove the &inner and &super
2049 keywords because we need to localize them.
2050 - fixed number of spelling/grammer issues, thanks Theory :)
2052 **~~ experimental & undocumented feature ~~**
2053 - added the method and self keywords, they are basically
2054 just sugar, and they may not stay around.
2057 - added &dump method to easily Data::Dumper
2060 * Moose::Meta::TypeConstraint
2061 - added the &is_a_type_of method to check both the current
2062 and the subtype of a method (similar to &isa with classes)
2065 - this is now a subclass of Class::MOP::Module, and no longer
2066 creates the _role_meta ugliness of before.
2067 - fixed tests to reflect this change
2069 0.11 Wed. July 12, 2006
2071 - added an &unimport method to remove all the keywords
2072 that Moose will import, simply add 'no Moose' to the
2073 bottom of your class file.
2076 - fixed some test failures caused by a forgotten test
2079 0.10 Thurs. July 6, 2006
2081 - improved error message when loading modules so
2082 it is less confusing when you load a role.
2083 - added &calculate_all_roles method to
2084 Moose::Meta::Class and Moose::Meta::Role
2087 This module has been tested against Class::MOP 0.30
2088 but it does not yet utilize the optimizations
2089 it makes available. Stay tuned for that ;)
2091 0.09_03 Fri. June 23, 2006
2092 ++ DEVELOPER RELEASE ++
2094 - 'use strict' and 'use warnings' are no longer
2095 needed in Moose classes, Moose itself will
2096 turn them on for you.
2097 - added tests for this
2098 - moved code from exported subs to private methods
2099 in Moose::Meta::Class
2102 - as with Moose, strict and warnings are
2103 automatically turned on for you.
2104 - added tests for this
2107 - now handles an edge case for override errors
2108 - added tests for this
2109 - added some more edge case tests
2111 0.09_02 Tues. May 16, 2006
2112 ++ DEVELOPER RELEASE ++
2114 - added prototypes to the exported subs
2118 - added prototypes to the exported subs
2121 * Moose::Util::TypeConstraints
2122 - cleaned up prototypes for the subs
2125 0.09_01 Fri. May 12, 2006
2126 ++ DEVELOPER RELEASE ++
2127 - This release works in combination with
2128 Class::MOP 0.29_01, it is a developer
2129 release because it uses the a new
2130 instance sub-protocol and a fairly
2131 complete Role implementation. It has
2132 not yet been optimized, so it slower
2133 the the previous CPAN version. This
2134 release also lacks good updated docs,
2135 the official release will have updated docs.
2138 - refactored the keyword exports
2139 - 'with' now checks Role validaity and
2140 accepts more than one Role at a time
2141 - 'extends' makes metaclass adjustments as
2142 needed to ensure metaclass compatibility
2145 - refactored the keyword exports
2146 - 'with' now checks Role validaity and
2147 accepts more than one Role at a time
2149 * Moose::Util::TypeConstraints
2150 - added the 'enum' keyword for simple
2151 string enumerations which can be used as
2153 - see example of usage in t/202_example.t
2156 - more careful checking of params to new()
2159 - much work done on the role composition
2160 - many new tests for conflict detection
2161 and composition edge cases
2162 - not enough documentation, I suggest
2163 looking at the tests
2165 * Moose::Meta::Instance
2166 - added new Instance metaclass to support
2167 the new Class::MOP instance protocol
2169 * Moose::Meta::Class
2170 - some small changes to support the new
2172 - some small additions to support Roles
2174 * Moose::Meta::Attribute
2175 - some improvements to the accessor generation code
2177 - some small changes to support the new
2179 - (still somewhat) experimental delegation support
2180 with the 'handles' option
2181 - added several tests for this
2182 - no docs for this yet
2184 0.05 Thurs. April 27, 2006
2186 - keywords are now exported with Sub::Exporter
2187 thanks to chansen for this commit
2188 - has keyword now takes a 'metaclass' option
2189 to support custom attribute meta-classes
2190 on a per-attribute basis
2191 - added tests for this
2192 - the 'has' keyword not accepts inherited slot
2193 specifications (has '+foo'). This is still an
2194 experimental feature and probably not finished
2195 see t/038_attribute_inherited_slot_specs.t for
2196 more details, or ask about it on #moose
2197 - added tests for this
2200 - keywords are now exported with Sub::Exporter
2202 * Moose::Utils::TypeConstraints
2203 - reorganized the type constraint hierarchy, thanks
2204 to nothingmuch and chansen for his help and advice
2206 - added some tests for this
2207 - keywords are now exported with Sub::Exporter
2208 thanks to chansen for this commit
2210 * Moose::Meta::Class
2211 - due to changes in Class::MOP, we had to change
2212 construct_instance (for the better)
2214 * Moose::Meta::Attribute
2215 - due to changes in Class::MOP, we had to add the
2216 initialize_instance_slot method (it's a good thing)
2218 * Moose::Meta::TypeConstraint
2219 - added type constraint unions
2220 - added tests for this
2221 - added the is_subtype_of predicate method
2222 - added tests for this
2224 0.04 Sun. April 16th, 2006
2226 - Roles can now consume other roles
2227 - added tests for this
2228 - Roles can specify required methods now with
2229 the requires() keyword
2230 - added tests for this
2233 - ripped out much of it's guts ,.. much cleaner now
2234 - added required methods and correct handling of
2235 them in apply() for both classes and roles
2236 - added tests for this
2237 - no longer adds a does() method to consuming classes
2238 it relys on the one in Moose::Object
2239 - added roles attribute and some methods to support
2240 roles consuming roles
2242 * Moose::Meta::Attribute
2243 - added support for triggers on attributes
2244 - added tests for this
2245 - added support for does option on an attribute
2246 - added tests for this
2248 * Moose::Meta::Class
2249 - added support for attribute triggers in the
2251 - added tests for this
2254 - Moose no longer creates a subtype for your class
2255 if a subtype of the same name already exists, this
2256 should DWIM in 99.9999% of all cases
2258 * Moose::Util::TypeConstraints
2259 - fixed bug where incorrect subtype conflicts were
2261 - added test for this
2264 - this class can now be extended with 'use base' if
2265 you need it, it properly loads the metaclass class now
2266 - added test for this
2268 0.03_02 Wed. April 12, 2006
2270 - you must now explictly use Moose::Util::TypeConstraints
2271 it no longer gets exported for you automatically
2274 - new() now accepts hash-refs as well as key/value lists
2275 - added does() method to check for Roles
2276 - added tests for this
2278 * Moose::Meta::Class
2279 - added roles attribute along with the add_role() and
2281 - added tests for this
2284 - now adds a does() method to consuming classes
2285 which tests the class's hierarchy for roles
2286 - added tests for this
2288 0.03_01 Mon. April 10, 2006
2290 - added new Role recipe (no content yet, only code)
2293 - added 'with' keyword for Role support
2294 - added test and docs for this
2295 - fixed subtype quoting bug
2296 - added test for this
2300 - added test and docs
2302 * Moose::Util::TypeConstraints
2303 - added the message keyword to add custom
2304 error messages to type constraints
2307 - the meta role to support Moose::Role
2308 - added tests and docs
2310 * Moose::Meta::Class
2311 - moved a number of things from Moose.pm
2312 to here, they should have been here
2315 * Moose::Meta::Attribute
2316 - moved the attribute option macros here
2317 instead of putting them in Moose.pm
2319 * Moose::Meta::TypeConstraint
2320 - added the message attributes and the
2322 - added tests and docs for this
2324 0.03 Thurs. March 30, 2006
2326 - added the Moose::Cookbook with 5 recipes,
2327 describing all the stuff Moose can do.
2330 - fixed an issue with &extends super class loading
2331 it now captures errors and deals with inline
2332 packages correctly (bug found by mst, solution
2334 - added super/override & inner/augment features
2335 - added tests and docs for these
2338 - BUILDALL now takes a reference of the %params
2339 that are passed to &new, and passes that to
2342 * Moose::Util::TypeConstraints
2343 - Type constraints now survive runtime reloading
2344 - added test for this
2346 * Moose::Meta::Class
2347 - fixed the way attribute defaults are handled
2348 during instance construction (bug found by chansen)
2350 * Moose::Meta::Attribute
2351 - read-only attributes now actually enforce their
2352 read-only-ness (this corrected in Class::MOP as
2355 0.02 Tues. March 21, 2006
2357 - many more tests, fixing some bugs and
2359 - &extends now loads the base module with
2361 - added UNIVERSAL::require to the
2364 - each new Moose class will also create
2365 and register a subtype of Object which
2366 correspond to the new Moose class.
2367 - the 'isa' option in &has now only
2368 accepts strings, and will DWIM in
2371 * Moose::Util::TypeConstraints
2372 - added type coercion features
2373 - added tests for this
2374 - added support for this in attributes
2375 and instance construction
2377 - type construction no longer creates a
2378 function, it registers the type instead.
2379 - added several functions to get the
2383 - BUILDALL and DEMOLISHALL were broken
2384 because of a mis-named hash key, Whoops :)
2386 * Moose::Meta::Attribute
2387 - adding support for coercion in the
2388 autogenerated accessors
2390 * Moose::Meta::Class
2391 - adding support for coercion in the
2392 instance construction
2394 * Moose::Meta::TypeConstraint
2395 * Moose::Meta::TypeCoercion
2396 - type constraints and coercions are now
2397 full fledges meta-objects
2399 0.01 Wed. March 15, 2006
2400 - Moooooooooooooooooose!!!