1 Revision history for Perl extension Moose
6 0.39 Fri. March 14, 2008
8 - documenting the use of '+name' with attributes
9 that come from recently composed roles. It makes
10 sense, people are using it, and so why not just
11 officially support it.
12 - fixing the 'extends' keyword so that it will not
13 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
16 - added the perl -Moose=+Class::Name feature to allow
17 monkeypatching of classes in one liners
20 - fixing the 'apply_all_roles' keyword so that it will not
21 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
24 - added ->create method which now supports roles (thanks to jrockway)
25 - added tests for this
26 - added ->create_anon_class which now supports roles and caching of
27 the results (thanks to jrockway)
28 - added tests for this
29 - made ->does_role a little more forgiving when it is
30 checking a Class::MOP era metaclasses.
32 * Moose::Meta::Role::Application::ToInstance
33 - it is now possible to pass extra params to be used when
34 a role is applied to an the instance (rebless_params)
35 - added tests for this
37 * Moose::Util::TypeConstraints
38 - class_type now accepts an optional second argument for a
39 custom message. POD anotated accordingly (groditi)
40 - added tests for this
41 - it is now possible to make anon-enums by passing 'enum' an
42 ARRAY ref instead of the $name => @values. Everything else
44 - added tests for this
47 - making test for using '+name' on attributes consumed
48 from a role, it works and makes sense too.
50 * Moose::Meta::Attribute
51 - fix handles so that it doesn't return nothing
52 when the method cannot be found, not sure why
53 it ever did this originally, this means we now
54 have slightly better support for AUTOLOADed
56 - added more delegation tests
57 - adding ->does method to this so as to better
58 support traits and their introspection.
59 - added tests for this
62 - localizing the Data::Dumper configurations so
63 that it does not pollute others (RT #33509)
64 - made ->does a little more forgiving when it is
65 passed Class::MOP era metaclasses.
67 0.38 Fri. Feb. 15, 2008
68 * Moose::Meta::Attribute
69 - fixed initializer to correctly do
70 type checking and coercion in the
72 - added tests for this
75 - fixed some finicky tests (thanks to konobi)
77 0.37 Thurs. Feb. 14, 2008
79 - fixed some details in Moose::init_meta
80 and its superclass handling (thanks thepler)
81 - added tests for this (thanks thepler)
82 - 'has' now dies if you don't pass in name
84 - added the 'make_immutable' keyword as a shortcut
88 Moose::Meta::Method::Constructor
89 Moose::Meta::Attribute
90 - making (init_arg => undef) work here too
91 (thanks to nothingmuch)
93 * Moose::Meta::Attribute
94 Moose::Meta::Method::Constructor
95 Moose::Meta::Method::Accessor
96 - make lazy attributes respect attr initializers (rjbs)
97 - added tests for this
99 * Moose::Util::TypeConstraints
100 Moose::Util::TypeConstraints::OptimizedConstraints
101 Moose::Meta::TypeConstraints
102 Moose::Meta::Attribute
103 Moose::Meta::Method::Constructor
104 Moose::Meta::Method::Accessor
105 - making type errors use the
106 assigned message (thanks to Sartak)
107 - added tests for this
109 * Moose::Meta::Method::Destructor
110 - making sure DESTROY gets inlined properly
111 with successive DEMOLISH calls (thanks to manito)
113 * Moose::Meta::Attribute
114 Moose::Meta::Method::Accessor
115 - fixed handling of undef with type constraints
117 - added tests for this
120 - added &get_all_init_args and &get_all_attribute_values
121 (thanks to Sartak and nothingmuch)
123 0.36 Sat. Jan. 26, 2008
125 Moose::Meta::Attribute
126 - role type tests now support when roles are
127 applied to non-Moose classes (found by ash)
128 - added tests for this (thanks to ash)
129 - couple extra tests to boost code coverage
131 * Moose::Meta::Method::Constructor
132 - improved fix for handling Class::MOP attributes
133 - added test for this
136 - handled the add_attribute($attribute_meta_object)
138 - added test for this
140 0.35 Tues. Jan. 22, 2008
141 * Moose::Meta::Method::Constructor
142 - fix to make sure even Class::MOP attributes
143 are handled correctly (Thanks to Dave Rolsky)
144 - added test for this (also Dave Rolsky)
147 - improved error message on _apply_all_roles,
148 you should now use Moose::Util::apply_all_roles
149 and you shouldnt have been using a _ prefixed
150 method in the first place ;)
152 0.34 Mon. Jan. 21, 2008
153 ~~~ more misc. doc. fixes ~~~
154 ~~ updated copyright dates ~~
156 Moose is now a postmodern object system :)
157 - (see the POD for details)
159 * <<Role System Refactoring>>
160 - this release contains a major reworking and
161 cleanup of the role system
162 - 100% backwards compat.
163 - Role application now restructured into seperate
164 classes based on type of applicants
165 - Role summation (combining of more than one role)
166 is much cleaner and anon-classes are no longer
168 - new Composite role metaclass
169 - runtime application of roles to instances
170 is now more efficient and re-uses generated
171 classes when applicable
173 * <<New Role composition features>>
174 - methods can now be excluded from a given role
176 - methods can now be aliased to another name (and
177 still retain the original as well)
179 * Moose::Util::TypeConstraints::OptimizedConstraints
180 - added this module (see above)
183 - fixed the &_process_attribute method to be called
184 by &add_attribute, so that the API is now correct
186 * Moose::Meta::Method::Accessor
187 - fixed bug when passing a list of values to
188 an accessor would get (incorrectly) ignored.
189 Thanks to Sartak for finding this ;)
190 - added tests for this (Sartak again)
192 * Moose::Meta::Method::Accessor
193 Moose::Meta::Method::Constructor
194 Moose::Meta::Attribute
195 Moose::Meta::TypeConstraint
196 Moose::Meta::TypeCoercion
197 - lots of cleanup of such things as:
199 - type constraint handling
200 - error handling/messages
201 (thanks to nothingmuch)
203 * Moose::Meta::TypeConstraint::Parameterizable
204 - added this module to support the refactor
205 in Moose::Meta::TypeConstraint::Parameterized
207 * Moose::Meta::TypeConstraint::Parameterized
208 - refactored how these types are handled so they
209 are more generic and not confined to ArrayRef
213 - shortened some file names for better VMS support (RT #32381)
215 0.33 Fri. Dec. 14, 2007
216 !! Moose now loads 2 x faster !!
217 !! with new Class::MOP 0.49 !!
219 ++ new oose.pm module to make command line
220 Moose-ness easier (see POD docs for more)
224 - several tweaks to take advantage of the
225 new method map caching in Class::MOP
227 * Moose::Meta::TypeConstraint::Parameterized
228 - allow subtypes of ArrayRef and HashRef to
229 be used as a container (sartak)
230 - added tests for this
231 - basic support for coercion to ArrayRef and
232 HashRef for containers (sartak)
233 - added tests for this
235 * Moose::Meta::TypeCoercion
236 - coercions will now create subtypes as needed
237 so you can now add coercions to parameterized
238 types without having to explictly define them
239 - added tests for this
241 * Moose::Meta::Method::Accessor
242 - allow subclasses to decide whether we need
243 to copy the value into a new variable (sartak)
245 0.32 Tues. Dec. 4, 2007
246 * Moose::Util::TypeConstraints
247 - fixing how subtype aliases of unions work
248 they should inherit the parent's coercion
249 - added tests for this
250 - you can now define multiple coercions on
251 a single type at different times instead of
252 having to do it all in one place
253 - added tests for this
255 * Moose::Meta::TypeConstraint
256 - there is now a default constraint of sub { 1 }
257 instead of Moose::Util::TypeConstraints setting
260 * Moose::Meta::TypeCoercion
261 * Moose::Meta::TypeCoercion::Union
262 - added the &has_coercion_for_type and
263 &add_type_coercions methods to support the
264 new features above (although you cannot add
265 more type coercions for Union types)
267 0.31 Mon. Nov. 26, 2007
268 * Moose::Meta::Attribute
269 - made the +attr syntax handle extending types with
270 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
271 now works if the original foo is an ArrayRef.
272 - added tests for this.
273 - delegation now works even if the attribute does not
274 have a reader method using the get_read_method_ref
275 method from Class::MOP::Attribute.
276 - added tests for this
277 - added docs for this
279 * Moose::Util::TypeConstraints
280 - passing no "additional attribute info" to
281 &find_or_create_type_constraint will no longer
282 attempt to create an __ANON__ type for you,
283 instead it will just return undef.
284 - added docs for this
286 0.30 Fri. Nov. 23, 2007
287 * Moose::Meta::Method::Constructor
288 -builder related bug in inlined constructor. (groditi)
290 * Moose::Meta::Method::Accessor
291 - genereate unnecessary calls to predicates and refactor
292 code generation for runtime speed (groditi)
294 * Moose::Util::TypeConstraints
295 - fix ClassName constraint to introspect symbol table (mst)
296 - added more tests for this (mst)
297 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
299 - added tests for this
302 - adding the link to Recipie 11 (written by Sartak)
303 - adding test for SYNOPSIS code
306 - New tests for builder bug. Upon instantiation, if an
307 attribute had a builder, no value and was not lazy the
308 builder default was not getting run, oops. (groditi)
310 0.29 Tues. Nov. 13, 2007
311 * Moose::Meta::Attribute
312 - Fix error message on missing builder method (groditi)
314 * Moose::Meta::Method::Accessor
315 - Fix error message on missing builder method (groditi)
318 - Add test to check for the correct error message when
319 builder method is missing (groditi)
321 0.28 Tues. Nov. 13, 2007
322 - 0.27 packaged incorrectly (groditi)
324 0.27 Tues. Nov. 13, 2007
325 * Moose::Meta::Attribute
326 - Added support for the new builder option (groditi)
327 - Added support for lazy_build option (groditi)
328 - Changed slot initialization for predicate changes (groditi)
330 * Moose::Meta::Method::Accessor
331 - Added support for lazy_build option (groditi)
332 - Fix inline methods to work with corrected predicate
335 * Moose::Meta::Method::Constructor
336 - Added support for lazy_build option (groditi)
339 - tests for builder and lazy_build (groditi)
341 * fixing some misc. bits in the docs that
342 got mentioned on CPAN Forum & perlmonks
345 - fixed how required methods are handled
346 when they encounter overriden or modified
347 methods from a class (thanks to confound).
348 - added tests for this
350 * Moose::Util::TypeConstraint
351 - fixed the type notation parser so that
352 the | always creates a union and so is
353 no longer a valid type char (thanks to
354 konobi, mugwump and #moose for working
356 - added more tests for this
358 0.26 Thurs. Sept. 27, 2007
361 * Parameterized Types
362 We now support parameterized collection types, such as:
363 ArrayRef[Int] # array or integers
364 HashRef[Object] # a hash with object values
365 They can also be nested:
366 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
367 And work with the type unions as well:
368 ArrayRef[Int | Str] # array of integers of strings
370 * Better Framework Extendability
371 Moose.pm is now "extendable" such that it is now much
372 easier to extend the framework and add your own keywords
373 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
374 section of the Moose.pm docs.
377 In an effort to begin documenting some of the various
378 details of Moose as well as some common idioms, we have
379 created Moose::Cookbook::Snacks as a place to find
380 small (easily digestable) nuggets of Moose code.
383 ~ Several doc updates/cleanup thanks to castaway ~
385 - converted build system to use Module::Install instead of
386 Module::Build (thanks to jrockway)
389 - added all the meta classes to the immutable list and
390 set it to inline the accessors
391 - fix import to allow Sub::Exporter like { into => }
392 and { into_level => } (perigrin)
393 - exposed and documented init_meta() to allow better
394 embedding and extending of Moose (perigrin)
397 - complete re-organization of the test suite
398 - added some new tests as well
399 - finally re-enabled the Moose::POOP test since
400 the new version of DBM::Deep now works again
404 - fixed very odd and very nasty recursion bug with
406 - added tests for this (eilara)
408 * Moose::Meta::Attribute
409 Moose::Meta::Method::Constructor
410 Moose::Meta::Method::Accessor
411 - fixed issue with overload::Overloaded getting called
412 on non-blessed items. (RT #29269)
413 - added tests for this
415 * Moose::Meta::Method::Accessor
416 - fixed issue with generated accessor code making
417 assumptions about hash based classes (thanks to dexter)
419 * Moose::Coookbook::Snacks
420 - these are bits of documentation, not quite as big as
421 Recipes but which have no clear place in the module docs.
422 So they are Snacks! (horray for castaway++)
424 * Moose::Cookbook::Recipe4
425 - updated it to use the new ArrayRef[MyType] construct
426 - updated the accompanying test as well
428 +++ Major Refactor of the Type Constraint system +++
429 +++ with new features added as well +++
431 * Moose::Util::TypeConstraint
432 - no longer uses package variable to keep track of
433 the type constraints, now uses the an instance of
434 Moose::Meta::TypeConstraint::Registry to do it
435 - added more sophisticated type notation parsing
437 - added tests for this
439 * Moose::Meta::TypeConstraint
440 - some minor adjustments to make subclassing easier
441 - added the package_defined_in attribute so that we
442 can track where the type constraints are created
444 * Moose::Meta::TypeConstraint::Union
445 - this is now been refactored to be a subclass of
446 Moose::Meta::TypeConstraint
448 * Moose::Meta::TypeCoercion::Union
449 - this has been added to service the newly refactored
450 Moose::Meta::TypeConstraint::Union and is itself
451 a subclass of Moose::Meta::TypeCoercion
453 * Moose::Meta::TypeConstraint::Parameterized
454 - added this module (taken from MooseX::AttributeHelpers)
455 to help construct nested collection types
456 - added tests for this
458 * Moose::Meta::TypeConstraint::Registry
459 - added this class to keep track of type constraints
461 0.25 Mon. Aug. 13, 2007
463 - Documentation update to reference Moose::Util::TypeConstraints
464 under 'isa' in 'has' for how to define a new type
467 * Moose::Meta::Attribute
468 - required attributes now will no longer accept undef
469 from the constructor, even if there is a default and lazy
470 - added tests for this
471 - default subroutines must return a value which passes the
473 - added tests for this
475 * Moose::Meta::Attribute
476 * Moose::Meta::Method::Constructor
477 * Moose::Meta::Method::Accessor
478 - type-constraint tests now handle overloaded objects correctly
480 - added tests for this (thanks to EvanCarroll)
482 * Moose::Meta::TypeConstraint::Union
483 - added (has_)hand_optimized_constraint to this class so that
484 it behaves as the regular Moose::Meta::TypeConstraint does.
487 - large refactoring of this code
488 - added several more tests
489 - tests for subtle conflict resolition issues
490 added, but not currently running
493 * Moose::Cookbook::Recipe7
494 - added new recipe for augment/inner functionality
496 - added test for this
499 - a formal definition of roles (still in progress)
502 - utilities for easier working with Moose classes
503 - added tests for these
506 - This contains Moose specific test functions
507 - added tests for these
509 0.24 Tues. July 3, 2007
510 ~ Some doc updates/cleanup ~
512 * Moose::Meta::Attribute
513 - added support for roles to be given as parameters
514 to the 'handles' option.
515 - added tests and docs for this
516 - the has '+foo' attribute form now accepts changes to
517 the lazy option, and the addition of a handles option
518 (but not changing the handles option)
519 - added tests and docs for this
522 - required methods are now fetched using find_method_by_name
523 so that required methods can come from superclasses
524 - adjusted tests for this
526 0.23 Mon. June 18, 2007
527 * Moose::Meta::Method::Constructor
528 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
530 - Modify make_immutable to work with the new Class::MOP immutable
531 mechanism + POD + very basic test (groditi)
532 * Moose::Meta::Attribute
533 - Fix handles to use goto() so that caller() comes out properly on
534 the other side (perigrin)
536 0.22 Thurs. May 31, 2007
537 * Moose::Util::TypeConstraints
538 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
539 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
540 prototypes for functions
541 - added the ClassName type constraint, this checks for strings
542 which will respond true to ->isa(UNIVERSAL).
543 - added tests and docs for this
544 - subtyping just in name now works correctly by making the
545 default for where be { 1 }
546 - added test for this
548 * Moose::Meta::Method::Accessor
549 - coerce and lazy now work together correctly, thanks to
550 merlyn for finding this bug
551 - tests added for this
552 - fix reader presedence bug in Moose::Meta::Attribute + tests
555 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
556 a HASH-ref and missed. This produces better error messages then
557 having it die cause undef is not a HASH.
558 - added tests for this
560 0.21 Thursday, May 2nd, 2007
562 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
563 - modified unimport to remove super and inner along with the rest
564 - altered unimport tests to handle this
567 - altered super export to populate SUPER_SLOT
570 - altered augment and override modifier application to use *_SLOT
571 - modified tests for these to unimport one test class each to test
574 - fixed issue where custom attribute metaclasses
575 where not handled correctly in roles
576 - added tests for this
579 - fixed issue where extending metaclasses with
580 roles would blow up. Thanks to Aankhen`` for
581 finding this insidious error, and it's solution.
583 ~~ lots of spelling and grammer fixes in the docs,
584 many many thanks to rlb3 and Aankhen for these :)
586 0.20 Friday, April 6th, 2007
587 >> I messed up the SKIP logic in one test
588 so this release is just to fix that.
591 - 'has' now also accepts an ARRAY ref
592 to create multiple attrs (see docs)
593 (thanks to konobi for this)
594 - added tests and docs
596 0.19 Thurs. April 5th, 2007
597 ~~ More documentation updates ~~
599 * Moose::Util::TypeConstraints
600 - 'type' now supports messages as well
601 thanks to phaylon for finding this
602 - added tests for this
603 - added &list_all_type_constraints and
604 &list_all_builtin_type_constraints
605 functions to facilitate introspection.
607 * Moose::Meta::Attribute
608 - fixed regexp 'handles' declarations
609 to build the list of delegated methods
610 correctly (and not override important
611 things like &new) thanks to ashleyb
613 - added tests and docs for this
614 - added the 'documentation' attributes
615 so that you can actually document your
616 attributes and inspect them through the
618 - added tests and docs for this
621 - when loading custom attribute metaclasses
622 it will first look in for the class in the
623 Moose::Meta::Attribute::Custom::$name, and
624 then default to just loading $name.
625 - added tests and docs for this
627 * Moose::Meta::TypeConstraint
628 - type constraints now stringify to their names.
629 - added test for this
632 - added tests to assure we work with Module::Refresh
633 - added stricter test skip logic in the Moose POOP
634 test, ask Rob Kinyon why.
635 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
637 0.18 Sat. March 10, 2007
638 ~~ Many, many documentation updates ~~
641 - We now use Class::MOP::load_class to
643 - added tests to show types and subtypes
644 working with Declare::Constraints::Simple
645 and Test::Deep as constraint engines.
648 !! You must have Class::MOP 0.37_001 !!
649 !! for this developer release to work !!
651 This release was primarily adding the immutable
652 feature to Moose. An immutable class is one which
653 you promise not to alter. When you set the class
654 as immutable it will perform various bits of
655 memoization and inline certain part of the code
656 (constructors, destructors and accessors). This
657 minimizes (and in some cases totally eliminates)
658 one of Moose's biggest performance hits. This
659 feature is not on by default, and is 100% optional.
660 It has several configurable bits as well, so you
661 can pick and choose to your specific needs.
663 The changes involved in this were fairly wide and
664 highly specific, but 100% backwards compatible, so
665 I am not going to enumerate them here. If you are
666 truely interested in what was changed, please do
669 0.17 Tues. Nov. 14, 2006
670 * Moose::Meta::Method::Accessor
671 - bugfix for read-only accessors which
672 are have a type constraint and lazy.
673 Thanks to chansen for finding it.
675 0.16 Tues. Nov. 14, 2006
677 There are some speed improvements in this release,
678 but they are only the begining, so stay tuned.
681 - BUILDALL and DEMOLISHALL no longer get
682 called unless they actually need to be.
683 This gave us a signifigant speed boost
684 for the cases when there is no BUILD or
685 DEMOLISH method present.
687 * Moose::Util::TypeConstraints
688 * Moose::Meta::TypeConstraint
689 - added an 'optimize_as' option to the
690 type constraint, which allows for a
691 hand optimized version of the type
692 constraint to be used when possible.
693 - Any internally created type constraints
694 now provide an optimized version as well.
696 0.15 Sun. Nov. 5, 2006
698 This version of Moose *must* have Class::MOP 0.36 in order
699 to work correctly. A number of small internal tweaks have
700 been made in order to be compatible with that release.
702 * Moose::Util::TypeConstraints
703 - added &unimport so that you can clean out
704 your class namespace of these exported
708 - fixed minor issue which occasionally
709 comes up during global destruction
711 - moved Moose::Meta::Method::Overriden into
715 - moved Moose::Meta::Role::Method into
718 * Moose::Meta::Attribute
719 - changed how we do type checks so that
720 we reduce the overall cost, but still
723 - moved accessor generation methods to
724 Moose::Meta::Method::Accessor to
725 conform to the API changes from
728 * Moose::Meta::TypeConstraint
729 - changed how constraints are compiled
730 so that we do less recursion and more
731 iteration. This makes the type check
733 - moved Moose::Meta::TypeConstraint::Union
736 * Moose::Meta::Method::Accessor
737 - created this from methods formerly found in
738 Moose::Meta::Attribute
740 * Moose::Meta::Role::Method
741 - moved this from Moose::Meta::Role
743 * Moose::Meta::Method::Overriden
744 - moved this from Moose::Meta::Class
746 * Moose::Meta::TypeConstraint::Union
747 - moved this from Moose::Meta::TypeConstraint
749 0.14 Mon. Oct. 9, 2006
751 * Moose::Meta::Attribute
752 - fixed lazy attributes which were not getting
753 checked with the type constraint (thanks ashley)
754 - added tests for this
755 - removed the over-enthusiastic DWIMery of the
756 automatic ArrayRef and HashRef defaults, it
757 broke predicates in an ugly way.
758 - removed tests for this
760 0.13 Sat. Sept. 30, 2006
762 This version of Moose *must* have Class::MOP 0.35 in order
763 to work correctly. A number of small internal tweaks have
764 been made in order to be compatible with that release.
767 - Removed the use of UNIVERSAL::require to be a better
768 symbol table citizen and remove a dependency
769 (thanks Adam Kennedy)
771 **~~ removed experimental & undocumented feature ~~**
772 - commented out the 'method' and 'self' keywords, see the
773 comments for more info.
776 - added a FAQ and WTF files to document frequently
777 asked questions and common problems
779 * Moose::Util::TypeConstraints
780 - added GlobRef and FileHandle type constraint
781 - added tests for this
783 * Moose::Meta::Attribute
784 - if your attribute 'isa' ArrayRef of HashRef, and you have
785 not explicitly set a default, then make the default DWIM.
786 This will also work for subtypes of ArrayRef and HashRef
788 - you can now auto-deref subtypes of ArrayRef or HashRef too.
789 - new test added for this (thanks to ashley)
792 - added basic support for runtime role composition
793 but this is still *highly experimental*, so feedback
794 is much appreciated :)
795 - added tests for this
797 * Moose::Meta::TypeConstraint
798 - the type constraint now handles the coercion process
799 through delegation, this is to support the coercion
802 * Moose::Meta::TypeConstraint::Union
803 - it is now possible for coercions to be performed
805 - added tests for this (thanks to konobi)
807 * Moose::Meta::TypeCoercion
808 - properly capturing error when type constraint
812 - Scalar::Util 1.18 is bad on Win32, so temporarily
813 only require version 1.17 for Win32 and cygwin.
814 (thanks Adam Kennedy)
816 0.12 Sat. Sept. 1, 2006
818 - Recipe5 (subtypes & coercion) has been written
821 - fixed "bad meta" error message to be more descriptive
822 - fixed &unimport to not remove the &inner and &super
823 keywords because we need to localize them.
824 - fixed number of spelling/grammer issues, thanks Theory :)
826 **~~ experimental & undocumented feature ~~**
827 - added the method and self keywords, they are basically
828 just sugar, and they may not stay around.
831 - added &dump method to easily Data::Dumper
834 * Moose::Meta::TypeConstraint
835 - added the &is_a_type_of method to check both the current
836 and the subtype of a method (similar to &isa with classes)
839 - this is now a subclass of Class::MOP::Module, and no longer
840 creates the _role_meta ugliness of before.
841 - fixed tests to reflect this change
843 0.11 Wed. July 12, 2006
845 - added an &unimport method to remove all the keywords
846 that Moose will import, simply add 'no Moose' to the
847 bottom of your class file.
850 - fixed some test failures caused by a forgotten test
853 0.10 Thurs. July 6, 2006
855 - improved error message when loading modules so
856 it is less confusing when you load a role.
857 - added &calculate_all_roles method to
858 Moose::Meta::Class and Moose::Meta::Role
861 This module has been tested against Class::MOP 0.30
862 but it does not yet utilize the optimizations
863 it makes available. Stay tuned for that ;)
865 0.09_03 Fri. June 23, 2006
866 ++ DEVELOPER RELEASE ++
868 - 'use strict' and 'use warnings' are no longer
869 needed in Moose classes, Moose itself will
870 turn them on for you.
871 - added tests for this
872 - moved code from exported subs to private methods
873 in Moose::Meta::Class
876 - as with Moose, strict and warnings are
877 automatically turned on for you.
878 - added tests for this
881 - now handles an edge case for override errors
882 - added tests for this
883 - added some more edge case tests
885 0.09_02 Tues. May 16, 2006
886 ++ DEVELOPER RELEASE ++
888 - added prototypes to the exported subs
892 - added prototypes to the exported subs
895 * Moose::Util::TypeConstraints
896 - cleaned up prototypes for the subs
899 0.09_01 Fri. May 12, 2006
900 ++ DEVELOPER RELEASE ++
901 - This release works in combination with
902 Class::MOP 0.29_01, it is a developer
903 release because it uses the a new
904 instance sub-protocol and a fairly
905 complete Role implementation. It has
906 not yet been optimized, so it slower
907 the the previous CPAN version. This
908 release also lacks good updated docs,
909 the official release will have updated docs.
912 - refactored the keyword exports
913 - 'with' now checks Role validaity and
914 accepts more than one Role at a time
915 - 'extends' makes metaclass adjustments as
916 needed to ensure metaclass compatability
919 - refactored the keyword exports
920 - 'with' now checks Role validaity and
921 accepts more than one Role at a time
923 * Moose::Util::TypeConstraints
924 - added the 'enum' keyword for simple
925 string enumerations which can be used as
927 - see example of usage in t/202_example.t
930 - more careful checking of params to new()
933 - much work done on the role composition
934 - many new tests for conflict detection
935 and composition edge cases
936 - not enough documentation, I suggest
939 * Moose::Meta::Instance
940 - added new Instance metaclass to support
941 the new Class::MOP instance protocol
944 - some small changes to support the new
946 - some small additions to support Roles
948 * Moose::Meta::Attribute
949 - some improvements to the accessor generation code
951 - some small changes to support the new
953 - (still somewhat) experimental delegation support
954 with the 'handles' option
955 - added several tests for this
956 - no docs for this yet
958 0.05 Thurs. April 27, 2006
960 - keywords are now exported with Sub::Exporter
961 thanks to chansen for this commit
962 - has keyword now takes a 'metaclass' option
963 to support custom attribute meta-classes
964 on a per-attribute basis
965 - added tests for this
966 - the 'has' keyword not accepts inherited slot
967 specifications (has '+foo'). This is still an
968 experimental feature and probably not finished
969 see t/038_attribute_inherited_slot_specs.t for
970 more details, or ask about it on #moose
971 - added tests for this
974 - keywords are now exported with Sub::Exporter
976 * Moose::Utils::TypeConstraints
977 - reorganized the type constraint hierarchy, thanks
978 to nothingmuch and chansen for his help and advice
980 - added some tests for this
981 - keywords are now exported with Sub::Exporter
982 thanks to chansen for this commit
985 - due to changes in Class::MOP, we had to change
986 construct_instance (for the better)
988 * Moose::Meta::Attribute
989 - due to changes in Class::MOP, we had to add the
990 initialize_instance_slot method (it's a good thing)
992 * Moose::Meta::TypeConstraint
993 - added type constraint unions
994 - added tests for this
995 - added the is_subtype_of predicate method
996 - added tests for this
998 0.04 Sun. April 16th, 2006
1000 - Roles can now consume other roles
1001 - added tests for this
1002 - Roles can specify required methods now with
1003 the requires() keyword
1004 - added tests for this
1007 - ripped out much of it's guts ,.. much cleaner now
1008 - added required methods and correct handling of
1009 them in apply() for both classes and roles
1010 - added tests for this
1011 - no longer adds a does() method to consuming classes
1012 it relys on the one in Moose::Object
1013 - added roles attribute and some methods to support
1014 roles consuming roles
1016 * Moose::Meta::Attribute
1017 - added support for triggers on attributes
1018 - added tests for this
1019 - added support for does option on an attribute
1020 - added tests for this
1022 * Moose::Meta::Class
1023 - added support for attribute triggers in the
1025 - added tests for this
1028 - Moose no longer creates a subtype for your class
1029 if a subtype of the same name already exists, this
1030 should DWIM in 99.9999% of all cases
1032 * Moose::Util::TypeConstraints
1033 - fixed bug where incorrect subtype conflicts were
1035 - added test for this
1038 - this class can now be extended with 'use base' if
1039 you need it, it properly loads the metaclass class now
1040 - added test for this
1042 0.03_02 Wed. April 12, 2006
1044 - you must now explictly use Moose::Util::TypeConstraints
1045 it no longer gets exported for you automatically
1048 - new() now accepts hash-refs as well as key/value lists
1049 - added does() method to check for Roles
1050 - added tests for this
1052 * Moose::Meta::Class
1053 - added roles attribute along with the add_role() and
1055 - added tests for this
1058 - now adds a does() method to consuming classes
1059 which tests the class's hierarchy for roles
1060 - added tests for this
1062 0.03_01 Mon. April 10, 2006
1064 - added new Role recipe (no content yet, only code)
1067 - added 'with' keyword for Role support
1068 - added test and docs for this
1069 - fixed subtype quoting bug
1070 - added test for this
1074 - added test and docs
1076 * Moose::Util::TypeConstraints
1077 - added the message keyword to add custom
1078 error messages to type constraints
1081 - the meta role to support Moose::Role
1082 - added tests and docs
1084 * Moose::Meta::Class
1085 - moved a number of things from Moose.pm
1086 to here, they should have been here
1089 * Moose::Meta::Attribute
1090 - moved the attribute option macros here
1091 instead of putting them in Moose.pm
1093 * Moose::Meta::TypeConstraint
1094 - added the message attributes and the
1096 - added tests and docs for this
1098 0.03 Thurs. March 30, 2006
1100 - added the Moose::Cookbook with 5 recipes,
1101 describing all the stuff Moose can do.
1104 - fixed an issue with &extends super class loading
1105 it now captures errors and deals with inline
1106 packages correctly (bug found by mst, solution
1108 - added super/override & inner/augment features
1109 - added tests and docs for these
1112 - BUILDALL now takes a reference of the %params
1113 that are passed to &new, and passes that to
1116 * Moose::Util::TypeConstraints
1117 - Type constraints now survive runtime reloading
1118 - added test for this
1120 * Moose::Meta::Class
1121 - fixed the way attribute defaults are handled
1122 during instance construction (bug found by chansen)
1124 * Moose::Meta::Attribute
1125 - read-only attributes now actually enforce their
1126 read-only-ness (this corrected in Class::MOP as
1129 0.02 Tues. March 21, 2006
1131 - many more tests, fixing some bugs and
1133 - &extends now loads the base module with
1135 - added UNIVERSAL::require to the
1138 - each new Moose class will also create
1139 and register a subtype of Object which
1140 correspond to the new Moose class.
1141 - the 'isa' option in &has now only
1142 accepts strings, and will DWIM in
1145 * Moose::Util::TypeConstraints
1146 - added type coercion features
1147 - added tests for this
1148 - added support for this in attributes
1149 and instance construction
1151 - type construction no longer creates a
1152 function, it registers the type instead.
1153 - added several functions to get the
1157 - BUILDALL and DEMOLISHALL were broken
1158 because of a mis-named hash key, Whoops :)
1160 * Moose::Meta::Attribute
1161 - adding support for coercion in the
1162 autogenerated accessors
1164 * Moose::Meta::Class
1165 - adding support for coercion in the
1166 instance construction
1168 * Moose::Meta::TypeConstraint
1169 * Moose::Meta::TypeCoercion
1170 - type constraints and coercions are now
1171 full fledges meta-objects
1173 0.01 Wed. March 15, 2006
1174 - Moooooooooooooooooose!!!