1 Revision history for Perl extension Moose
4 ~~ numerous documentation updates ~~
7 - the make_immutable keyword is now deprecated, don't
8 use it in any new code and please fix your old code
9 as well. There will be 2 releases, and then it will
12 * Moose::Meta::Method::Constructor
13 - immutable classes which had non-lazy attributes were calling
14 the default generating sub twice in the constructor. (bug
15 found by Jesse Luehrs, fixed by Dave Rolsky)
16 - added tests for this (Dave Rolsky)
18 0.40 Fri. March 14, 2008
19 - I hate Pod::Coverage
21 0.39 Fri. March 14, 2008
23 - documenting the use of '+name' with attributes
24 that come from recently composed roles. It makes
25 sense, people are using it, and so why not just
26 officially support it.
27 - fixing the 'extends' keyword so that it will not
28 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
31 - added the perl -Moose=+Class::Name feature to allow
32 monkeypatching of classes in one liners
35 - fixing the 'apply_all_roles' keyword so that it will not
36 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
39 - added ->create method which now supports roles (thanks to jrockway)
40 - added tests for this
41 - added ->create_anon_class which now supports roles and caching of
42 the results (thanks to jrockway)
43 - added tests for this
44 - made ->does_role a little more forgiving when it is
45 checking a Class::MOP era metaclasses.
47 * Moose::Meta::Role::Application::ToInstance
48 - it is now possible to pass extra params to be used when
49 a role is applied to an the instance (rebless_params)
50 - added tests for this
52 * Moose::Util::TypeConstraints
53 - class_type now accepts an optional second argument for a
54 custom message. POD anotated accordingly (groditi)
55 - added tests for this
56 - it is now possible to make anon-enums by passing 'enum' an
57 ARRAY ref instead of the $name => @values. Everything else
59 - added tests for this
62 - making test for using '+name' on attributes consumed
63 from a role, it works and makes sense too.
65 * Moose::Meta::Attribute
66 - fix handles so that it doesn't return nothing
67 when the method cannot be found, not sure why
68 it ever did this originally, this means we now
69 have slightly better support for AUTOLOADed
71 - added more delegation tests
72 - adding ->does method to this so as to better
73 support traits and their introspection.
74 - added tests for this
77 - localizing the Data::Dumper configurations so
78 that it does not pollute others (RT #33509)
79 - made ->does a little more forgiving when it is
80 passed Class::MOP era metaclasses.
82 0.38 Fri. Feb. 15, 2008
83 * Moose::Meta::Attribute
84 - fixed initializer to correctly do
85 type checking and coercion in the
87 - added tests for this
90 - fixed some finicky tests (thanks to konobi)
92 0.37 Thurs. Feb. 14, 2008
94 - fixed some details in Moose::init_meta
95 and its superclass handling (thanks thepler)
96 - added tests for this (thanks thepler)
97 - 'has' now dies if you don't pass in name
99 - added the 'make_immutable' keyword as a shortcut
103 Moose::Meta::Method::Constructor
104 Moose::Meta::Attribute
105 - making (init_arg => undef) work here too
106 (thanks to nothingmuch)
108 * Moose::Meta::Attribute
109 Moose::Meta::Method::Constructor
110 Moose::Meta::Method::Accessor
111 - make lazy attributes respect attr initializers (rjbs)
112 - added tests for this
114 * Moose::Util::TypeConstraints
115 Moose::Util::TypeConstraints::OptimizedConstraints
116 Moose::Meta::TypeConstraints
117 Moose::Meta::Attribute
118 Moose::Meta::Method::Constructor
119 Moose::Meta::Method::Accessor
120 - making type errors use the
121 assigned message (thanks to Sartak)
122 - added tests for this
124 * Moose::Meta::Method::Destructor
125 - making sure DESTROY gets inlined properly
126 with successive DEMOLISH calls (thanks to manito)
128 * Moose::Meta::Attribute
129 Moose::Meta::Method::Accessor
130 - fixed handling of undef with type constraints
132 - added tests for this
135 - added &get_all_init_args and &get_all_attribute_values
136 (thanks to Sartak and nothingmuch)
138 0.36 Sat. Jan. 26, 2008
140 Moose::Meta::Attribute
141 - role type tests now support when roles are
142 applied to non-Moose classes (found by ash)
143 - added tests for this (thanks to ash)
144 - couple extra tests to boost code coverage
146 * Moose::Meta::Method::Constructor
147 - improved fix for handling Class::MOP attributes
148 - added test for this
151 - handled the add_attribute($attribute_meta_object)
153 - added test for this
155 0.35 Tues. Jan. 22, 2008
156 * Moose::Meta::Method::Constructor
157 - fix to make sure even Class::MOP attributes
158 are handled correctly (Thanks to Dave Rolsky)
159 - added test for this (also Dave Rolsky)
162 - improved error message on _apply_all_roles,
163 you should now use Moose::Util::apply_all_roles
164 and you shouldnt have been using a _ prefixed
165 method in the first place ;)
167 0.34 Mon. Jan. 21, 2008
168 ~~~ more misc. doc. fixes ~~~
169 ~~ updated copyright dates ~~
171 Moose is now a postmodern object system :)
172 - (see the POD for details)
174 * <<Role System Refactoring>>
175 - this release contains a major reworking and
176 cleanup of the role system
177 - 100% backwards compat.
178 - Role application now restructured into seperate
179 classes based on type of applicants
180 - Role summation (combining of more than one role)
181 is much cleaner and anon-classes are no longer
183 - new Composite role metaclass
184 - runtime application of roles to instances
185 is now more efficient and re-uses generated
186 classes when applicable
188 * <<New Role composition features>>
189 - methods can now be excluded from a given role
191 - methods can now be aliased to another name (and
192 still retain the original as well)
194 * Moose::Util::TypeConstraints::OptimizedConstraints
195 - added this module (see above)
198 - fixed the &_process_attribute method to be called
199 by &add_attribute, so that the API is now correct
201 * Moose::Meta::Method::Accessor
202 - fixed bug when passing a list of values to
203 an accessor would get (incorrectly) ignored.
204 Thanks to Sartak for finding this ;)
205 - added tests for this (Sartak again)
207 * Moose::Meta::Method::Accessor
208 Moose::Meta::Method::Constructor
209 Moose::Meta::Attribute
210 Moose::Meta::TypeConstraint
211 Moose::Meta::TypeCoercion
212 - lots of cleanup of such things as:
214 - type constraint handling
215 - error handling/messages
216 (thanks to nothingmuch)
218 * Moose::Meta::TypeConstraint::Parameterizable
219 - added this module to support the refactor
220 in Moose::Meta::TypeConstraint::Parameterized
222 * Moose::Meta::TypeConstraint::Parameterized
223 - refactored how these types are handled so they
224 are more generic and not confined to ArrayRef
228 - shortened some file names for better VMS support (RT #32381)
230 0.33 Fri. Dec. 14, 2007
231 !! Moose now loads 2 x faster !!
232 !! with new Class::MOP 0.49 !!
234 ++ new oose.pm module to make command line
235 Moose-ness easier (see POD docs for more)
239 - several tweaks to take advantage of the
240 new method map caching in Class::MOP
242 * Moose::Meta::TypeConstraint::Parameterized
243 - allow subtypes of ArrayRef and HashRef to
244 be used as a container (sartak)
245 - added tests for this
246 - basic support for coercion to ArrayRef and
247 HashRef for containers (sartak)
248 - added tests for this
250 * Moose::Meta::TypeCoercion
251 - coercions will now create subtypes as needed
252 so you can now add coercions to parameterized
253 types without having to explictly define them
254 - added tests for this
256 * Moose::Meta::Method::Accessor
257 - allow subclasses to decide whether we need
258 to copy the value into a new variable (sartak)
260 0.32 Tues. Dec. 4, 2007
261 * Moose::Util::TypeConstraints
262 - fixing how subtype aliases of unions work
263 they should inherit the parent's coercion
264 - added tests for this
265 - you can now define multiple coercions on
266 a single type at different times instead of
267 having to do it all in one place
268 - added tests for this
270 * Moose::Meta::TypeConstraint
271 - there is now a default constraint of sub { 1 }
272 instead of Moose::Util::TypeConstraints setting
275 * Moose::Meta::TypeCoercion
276 * Moose::Meta::TypeCoercion::Union
277 - added the &has_coercion_for_type and
278 &add_type_coercions methods to support the
279 new features above (although you cannot add
280 more type coercions for Union types)
282 0.31 Mon. Nov. 26, 2007
283 * Moose::Meta::Attribute
284 - made the +attr syntax handle extending types with
285 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
286 now works if the original foo is an ArrayRef.
287 - added tests for this.
288 - delegation now works even if the attribute does not
289 have a reader method using the get_read_method_ref
290 method from Class::MOP::Attribute.
291 - added tests for this
292 - added docs for this
294 * Moose::Util::TypeConstraints
295 - passing no "additional attribute info" to
296 &find_or_create_type_constraint will no longer
297 attempt to create an __ANON__ type for you,
298 instead it will just return undef.
299 - added docs for this
301 0.30 Fri. Nov. 23, 2007
302 * Moose::Meta::Method::Constructor
303 -builder related bug in inlined constructor. (groditi)
305 * Moose::Meta::Method::Accessor
306 - genereate unnecessary calls to predicates and refactor
307 code generation for runtime speed (groditi)
309 * Moose::Util::TypeConstraints
310 - fix ClassName constraint to introspect symbol table (mst)
311 - added more tests for this (mst)
312 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
314 - added tests for this
317 - adding the link to Recipie 11 (written by Sartak)
318 - adding test for SYNOPSIS code
321 - New tests for builder bug. Upon instantiation, if an
322 attribute had a builder, no value and was not lazy the
323 builder default was not getting run, oops. (groditi)
325 0.29 Tues. Nov. 13, 2007
326 * Moose::Meta::Attribute
327 - Fix error message on missing builder method (groditi)
329 * Moose::Meta::Method::Accessor
330 - Fix error message on missing builder method (groditi)
333 - Add test to check for the correct error message when
334 builder method is missing (groditi)
336 0.28 Tues. Nov. 13, 2007
337 - 0.27 packaged incorrectly (groditi)
339 0.27 Tues. Nov. 13, 2007
340 * Moose::Meta::Attribute
341 - Added support for the new builder option (groditi)
342 - Added support for lazy_build option (groditi)
343 - Changed slot initialization for predicate changes (groditi)
345 * Moose::Meta::Method::Accessor
346 - Added support for lazy_build option (groditi)
347 - Fix inline methods to work with corrected predicate
350 * Moose::Meta::Method::Constructor
351 - Added support for lazy_build option (groditi)
354 - tests for builder and lazy_build (groditi)
356 * fixing some misc. bits in the docs that
357 got mentioned on CPAN Forum & perlmonks
360 - fixed how required methods are handled
361 when they encounter overriden or modified
362 methods from a class (thanks to confound).
363 - added tests for this
365 * Moose::Util::TypeConstraint
366 - fixed the type notation parser so that
367 the | always creates a union and so is
368 no longer a valid type char (thanks to
369 konobi, mugwump and #moose for working
371 - added more tests for this
373 0.26 Thurs. Sept. 27, 2007
376 * Parameterized Types
377 We now support parameterized collection types, such as:
378 ArrayRef[Int] # array or integers
379 HashRef[Object] # a hash with object values
380 They can also be nested:
381 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
382 And work with the type unions as well:
383 ArrayRef[Int | Str] # array of integers of strings
385 * Better Framework Extendability
386 Moose.pm is now "extendable" such that it is now much
387 easier to extend the framework and add your own keywords
388 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
389 section of the Moose.pm docs.
392 In an effort to begin documenting some of the various
393 details of Moose as well as some common idioms, we have
394 created Moose::Cookbook::Snacks as a place to find
395 small (easily digestable) nuggets of Moose code.
398 ~ Several doc updates/cleanup thanks to castaway ~
400 - converted build system to use Module::Install instead of
401 Module::Build (thanks to jrockway)
404 - added all the meta classes to the immutable list and
405 set it to inline the accessors
406 - fix import to allow Sub::Exporter like { into => }
407 and { into_level => } (perigrin)
408 - exposed and documented init_meta() to allow better
409 embedding and extending of Moose (perigrin)
412 - complete re-organization of the test suite
413 - added some new tests as well
414 - finally re-enabled the Moose::POOP test since
415 the new version of DBM::Deep now works again
419 - fixed very odd and very nasty recursion bug with
421 - added tests for this (eilara)
423 * Moose::Meta::Attribute
424 Moose::Meta::Method::Constructor
425 Moose::Meta::Method::Accessor
426 - fixed issue with overload::Overloaded getting called
427 on non-blessed items. (RT #29269)
428 - added tests for this
430 * Moose::Meta::Method::Accessor
431 - fixed issue with generated accessor code making
432 assumptions about hash based classes (thanks to dexter)
434 * Moose::Coookbook::Snacks
435 - these are bits of documentation, not quite as big as
436 Recipes but which have no clear place in the module docs.
437 So they are Snacks! (horray for castaway++)
439 * Moose::Cookbook::Recipe4
440 - updated it to use the new ArrayRef[MyType] construct
441 - updated the accompanying test as well
443 +++ Major Refactor of the Type Constraint system +++
444 +++ with new features added as well +++
446 * Moose::Util::TypeConstraint
447 - no longer uses package variable to keep track of
448 the type constraints, now uses the an instance of
449 Moose::Meta::TypeConstraint::Registry to do it
450 - added more sophisticated type notation parsing
452 - added tests for this
454 * Moose::Meta::TypeConstraint
455 - some minor adjustments to make subclassing easier
456 - added the package_defined_in attribute so that we
457 can track where the type constraints are created
459 * Moose::Meta::TypeConstraint::Union
460 - this is now been refactored to be a subclass of
461 Moose::Meta::TypeConstraint
463 * Moose::Meta::TypeCoercion::Union
464 - this has been added to service the newly refactored
465 Moose::Meta::TypeConstraint::Union and is itself
466 a subclass of Moose::Meta::TypeCoercion
468 * Moose::Meta::TypeConstraint::Parameterized
469 - added this module (taken from MooseX::AttributeHelpers)
470 to help construct nested collection types
471 - added tests for this
473 * Moose::Meta::TypeConstraint::Registry
474 - added this class to keep track of type constraints
476 0.25 Mon. Aug. 13, 2007
478 - Documentation update to reference Moose::Util::TypeConstraints
479 under 'isa' in 'has' for how to define a new type
482 * Moose::Meta::Attribute
483 - required attributes now will no longer accept undef
484 from the constructor, even if there is a default and lazy
485 - added tests for this
486 - default subroutines must return a value which passes the
488 - added tests for this
490 * Moose::Meta::Attribute
491 * Moose::Meta::Method::Constructor
492 * Moose::Meta::Method::Accessor
493 - type-constraint tests now handle overloaded objects correctly
495 - added tests for this (thanks to EvanCarroll)
497 * Moose::Meta::TypeConstraint::Union
498 - added (has_)hand_optimized_constraint to this class so that
499 it behaves as the regular Moose::Meta::TypeConstraint does.
502 - large refactoring of this code
503 - added several more tests
504 - tests for subtle conflict resolition issues
505 added, but not currently running
508 * Moose::Cookbook::Recipe7
509 - added new recipe for augment/inner functionality
511 - added test for this
514 - a formal definition of roles (still in progress)
517 - utilities for easier working with Moose classes
518 - added tests for these
521 - This contains Moose specific test functions
522 - added tests for these
524 0.24 Tues. July 3, 2007
525 ~ Some doc updates/cleanup ~
527 * Moose::Meta::Attribute
528 - added support for roles to be given as parameters
529 to the 'handles' option.
530 - added tests and docs for this
531 - the has '+foo' attribute form now accepts changes to
532 the lazy option, and the addition of a handles option
533 (but not changing the handles option)
534 - added tests and docs for this
537 - required methods are now fetched using find_method_by_name
538 so that required methods can come from superclasses
539 - adjusted tests for this
541 0.23 Mon. June 18, 2007
542 * Moose::Meta::Method::Constructor
543 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
545 - Modify make_immutable to work with the new Class::MOP immutable
546 mechanism + POD + very basic test (groditi)
547 * Moose::Meta::Attribute
548 - Fix handles to use goto() so that caller() comes out properly on
549 the other side (perigrin)
551 0.22 Thurs. May 31, 2007
552 * Moose::Util::TypeConstraints
553 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
554 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
555 prototypes for functions
556 - added the ClassName type constraint, this checks for strings
557 which will respond true to ->isa(UNIVERSAL).
558 - added tests and docs for this
559 - subtyping just in name now works correctly by making the
560 default for where be { 1 }
561 - added test for this
563 * Moose::Meta::Method::Accessor
564 - coerce and lazy now work together correctly, thanks to
565 merlyn for finding this bug
566 - tests added for this
567 - fix reader presedence bug in Moose::Meta::Attribute + tests
570 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
571 a HASH-ref and missed. This produces better error messages then
572 having it die cause undef is not a HASH.
573 - added tests for this
575 0.21 Thursday, May 2nd, 2007
577 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
578 - modified unimport to remove super and inner along with the rest
579 - altered unimport tests to handle this
582 - altered super export to populate SUPER_SLOT
585 - altered augment and override modifier application to use *_SLOT
586 - modified tests for these to unimport one test class each to test
589 - fixed issue where custom attribute metaclasses
590 where not handled correctly in roles
591 - added tests for this
594 - fixed issue where extending metaclasses with
595 roles would blow up. Thanks to Aankhen`` for
596 finding this insidious error, and it's solution.
598 ~~ lots of spelling and grammer fixes in the docs,
599 many many thanks to rlb3 and Aankhen for these :)
601 0.20 Friday, April 6th, 2007
602 >> I messed up the SKIP logic in one test
603 so this release is just to fix that.
606 - 'has' now also accepts an ARRAY ref
607 to create multiple attrs (see docs)
608 (thanks to konobi for this)
609 - added tests and docs
611 0.19 Thurs. April 5th, 2007
612 ~~ More documentation updates ~~
614 * Moose::Util::TypeConstraints
615 - 'type' now supports messages as well
616 thanks to phaylon for finding this
617 - added tests for this
618 - added &list_all_type_constraints and
619 &list_all_builtin_type_constraints
620 functions to facilitate introspection.
622 * Moose::Meta::Attribute
623 - fixed regexp 'handles' declarations
624 to build the list of delegated methods
625 correctly (and not override important
626 things like &new) thanks to ashleyb
628 - added tests and docs for this
629 - added the 'documentation' attributes
630 so that you can actually document your
631 attributes and inspect them through the
633 - added tests and docs for this
636 - when loading custom attribute metaclasses
637 it will first look in for the class in the
638 Moose::Meta::Attribute::Custom::$name, and
639 then default to just loading $name.
640 - added tests and docs for this
642 * Moose::Meta::TypeConstraint
643 - type constraints now stringify to their names.
644 - added test for this
647 - added tests to assure we work with Module::Refresh
648 - added stricter test skip logic in the Moose POOP
649 test, ask Rob Kinyon why.
650 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
652 0.18 Sat. March 10, 2007
653 ~~ Many, many documentation updates ~~
656 - We now use Class::MOP::load_class to
658 - added tests to show types and subtypes
659 working with Declare::Constraints::Simple
660 and Test::Deep as constraint engines.
663 !! You must have Class::MOP 0.37_001 !!
664 !! for this developer release to work !!
666 This release was primarily adding the immutable
667 feature to Moose. An immutable class is one which
668 you promise not to alter. When you set the class
669 as immutable it will perform various bits of
670 memoization and inline certain part of the code
671 (constructors, destructors and accessors). This
672 minimizes (and in some cases totally eliminates)
673 one of Moose's biggest performance hits. This
674 feature is not on by default, and is 100% optional.
675 It has several configurable bits as well, so you
676 can pick and choose to your specific needs.
678 The changes involved in this were fairly wide and
679 highly specific, but 100% backwards compatible, so
680 I am not going to enumerate them here. If you are
681 truely interested in what was changed, please do
684 0.17 Tues. Nov. 14, 2006
685 * Moose::Meta::Method::Accessor
686 - bugfix for read-only accessors which
687 are have a type constraint and lazy.
688 Thanks to chansen for finding it.
690 0.16 Tues. Nov. 14, 2006
692 There are some speed improvements in this release,
693 but they are only the begining, so stay tuned.
696 - BUILDALL and DEMOLISHALL no longer get
697 called unless they actually need to be.
698 This gave us a signifigant speed boost
699 for the cases when there is no BUILD or
700 DEMOLISH method present.
702 * Moose::Util::TypeConstraints
703 * Moose::Meta::TypeConstraint
704 - added an 'optimize_as' option to the
705 type constraint, which allows for a
706 hand optimized version of the type
707 constraint to be used when possible.
708 - Any internally created type constraints
709 now provide an optimized version as well.
711 0.15 Sun. Nov. 5, 2006
713 This version of Moose *must* have Class::MOP 0.36 in order
714 to work correctly. A number of small internal tweaks have
715 been made in order to be compatible with that release.
717 * Moose::Util::TypeConstraints
718 - added &unimport so that you can clean out
719 your class namespace of these exported
723 - fixed minor issue which occasionally
724 comes up during global destruction
726 - moved Moose::Meta::Method::Overriden into
730 - moved Moose::Meta::Role::Method into
733 * Moose::Meta::Attribute
734 - changed how we do type checks so that
735 we reduce the overall cost, but still
738 - moved accessor generation methods to
739 Moose::Meta::Method::Accessor to
740 conform to the API changes from
743 * Moose::Meta::TypeConstraint
744 - changed how constraints are compiled
745 so that we do less recursion and more
746 iteration. This makes the type check
748 - moved Moose::Meta::TypeConstraint::Union
751 * Moose::Meta::Method::Accessor
752 - created this from methods formerly found in
753 Moose::Meta::Attribute
755 * Moose::Meta::Role::Method
756 - moved this from Moose::Meta::Role
758 * Moose::Meta::Method::Overriden
759 - moved this from Moose::Meta::Class
761 * Moose::Meta::TypeConstraint::Union
762 - moved this from Moose::Meta::TypeConstraint
764 0.14 Mon. Oct. 9, 2006
766 * Moose::Meta::Attribute
767 - fixed lazy attributes which were not getting
768 checked with the type constraint (thanks ashley)
769 - added tests for this
770 - removed the over-enthusiastic DWIMery of the
771 automatic ArrayRef and HashRef defaults, it
772 broke predicates in an ugly way.
773 - removed tests for this
775 0.13 Sat. Sept. 30, 2006
777 This version of Moose *must* have Class::MOP 0.35 in order
778 to work correctly. A number of small internal tweaks have
779 been made in order to be compatible with that release.
782 - Removed the use of UNIVERSAL::require to be a better
783 symbol table citizen and remove a dependency
784 (thanks Adam Kennedy)
786 **~~ removed experimental & undocumented feature ~~**
787 - commented out the 'method' and 'self' keywords, see the
788 comments for more info.
791 - added a FAQ and WTF files to document frequently
792 asked questions and common problems
794 * Moose::Util::TypeConstraints
795 - added GlobRef and FileHandle type constraint
796 - added tests for this
798 * Moose::Meta::Attribute
799 - if your attribute 'isa' ArrayRef of HashRef, and you have
800 not explicitly set a default, then make the default DWIM.
801 This will also work for subtypes of ArrayRef and HashRef
803 - you can now auto-deref subtypes of ArrayRef or HashRef too.
804 - new test added for this (thanks to ashley)
807 - added basic support for runtime role composition
808 but this is still *highly experimental*, so feedback
809 is much appreciated :)
810 - added tests for this
812 * Moose::Meta::TypeConstraint
813 - the type constraint now handles the coercion process
814 through delegation, this is to support the coercion
817 * Moose::Meta::TypeConstraint::Union
818 - it is now possible for coercions to be performed
820 - added tests for this (thanks to konobi)
822 * Moose::Meta::TypeCoercion
823 - properly capturing error when type constraint
827 - Scalar::Util 1.18 is bad on Win32, so temporarily
828 only require version 1.17 for Win32 and cygwin.
829 (thanks Adam Kennedy)
831 0.12 Sat. Sept. 1, 2006
833 - Recipe5 (subtypes & coercion) has been written
836 - fixed "bad meta" error message to be more descriptive
837 - fixed &unimport to not remove the &inner and &super
838 keywords because we need to localize them.
839 - fixed number of spelling/grammer issues, thanks Theory :)
841 **~~ experimental & undocumented feature ~~**
842 - added the method and self keywords, they are basically
843 just sugar, and they may not stay around.
846 - added &dump method to easily Data::Dumper
849 * Moose::Meta::TypeConstraint
850 - added the &is_a_type_of method to check both the current
851 and the subtype of a method (similar to &isa with classes)
854 - this is now a subclass of Class::MOP::Module, and no longer
855 creates the _role_meta ugliness of before.
856 - fixed tests to reflect this change
858 0.11 Wed. July 12, 2006
860 - added an &unimport method to remove all the keywords
861 that Moose will import, simply add 'no Moose' to the
862 bottom of your class file.
865 - fixed some test failures caused by a forgotten test
868 0.10 Thurs. July 6, 2006
870 - improved error message when loading modules so
871 it is less confusing when you load a role.
872 - added &calculate_all_roles method to
873 Moose::Meta::Class and Moose::Meta::Role
876 This module has been tested against Class::MOP 0.30
877 but it does not yet utilize the optimizations
878 it makes available. Stay tuned for that ;)
880 0.09_03 Fri. June 23, 2006
881 ++ DEVELOPER RELEASE ++
883 - 'use strict' and 'use warnings' are no longer
884 needed in Moose classes, Moose itself will
885 turn them on for you.
886 - added tests for this
887 - moved code from exported subs to private methods
888 in Moose::Meta::Class
891 - as with Moose, strict and warnings are
892 automatically turned on for you.
893 - added tests for this
896 - now handles an edge case for override errors
897 - added tests for this
898 - added some more edge case tests
900 0.09_02 Tues. May 16, 2006
901 ++ DEVELOPER RELEASE ++
903 - added prototypes to the exported subs
907 - added prototypes to the exported subs
910 * Moose::Util::TypeConstraints
911 - cleaned up prototypes for the subs
914 0.09_01 Fri. May 12, 2006
915 ++ DEVELOPER RELEASE ++
916 - This release works in combination with
917 Class::MOP 0.29_01, it is a developer
918 release because it uses the a new
919 instance sub-protocol and a fairly
920 complete Role implementation. It has
921 not yet been optimized, so it slower
922 the the previous CPAN version. This
923 release also lacks good updated docs,
924 the official release will have updated docs.
927 - refactored the keyword exports
928 - 'with' now checks Role validaity and
929 accepts more than one Role at a time
930 - 'extends' makes metaclass adjustments as
931 needed to ensure metaclass compatability
934 - refactored the keyword exports
935 - 'with' now checks Role validaity and
936 accepts more than one Role at a time
938 * Moose::Util::TypeConstraints
939 - added the 'enum' keyword for simple
940 string enumerations which can be used as
942 - see example of usage in t/202_example.t
945 - more careful checking of params to new()
948 - much work done on the role composition
949 - many new tests for conflict detection
950 and composition edge cases
951 - not enough documentation, I suggest
954 * Moose::Meta::Instance
955 - added new Instance metaclass to support
956 the new Class::MOP instance protocol
959 - some small changes to support the new
961 - some small additions to support Roles
963 * Moose::Meta::Attribute
964 - some improvements to the accessor generation code
966 - some small changes to support the new
968 - (still somewhat) experimental delegation support
969 with the 'handles' option
970 - added several tests for this
971 - no docs for this yet
973 0.05 Thurs. April 27, 2006
975 - keywords are now exported with Sub::Exporter
976 thanks to chansen for this commit
977 - has keyword now takes a 'metaclass' option
978 to support custom attribute meta-classes
979 on a per-attribute basis
980 - added tests for this
981 - the 'has' keyword not accepts inherited slot
982 specifications (has '+foo'). This is still an
983 experimental feature and probably not finished
984 see t/038_attribute_inherited_slot_specs.t for
985 more details, or ask about it on #moose
986 - added tests for this
989 - keywords are now exported with Sub::Exporter
991 * Moose::Utils::TypeConstraints
992 - reorganized the type constraint hierarchy, thanks
993 to nothingmuch and chansen for his help and advice
995 - added some tests for this
996 - keywords are now exported with Sub::Exporter
997 thanks to chansen for this commit
1000 - due to changes in Class::MOP, we had to change
1001 construct_instance (for the better)
1003 * Moose::Meta::Attribute
1004 - due to changes in Class::MOP, we had to add the
1005 initialize_instance_slot method (it's a good thing)
1007 * Moose::Meta::TypeConstraint
1008 - added type constraint unions
1009 - added tests for this
1010 - added the is_subtype_of predicate method
1011 - added tests for this
1013 0.04 Sun. April 16th, 2006
1015 - Roles can now consume other roles
1016 - added tests for this
1017 - Roles can specify required methods now with
1018 the requires() keyword
1019 - added tests for this
1022 - ripped out much of it's guts ,.. much cleaner now
1023 - added required methods and correct handling of
1024 them in apply() for both classes and roles
1025 - added tests for this
1026 - no longer adds a does() method to consuming classes
1027 it relys on the one in Moose::Object
1028 - added roles attribute and some methods to support
1029 roles consuming roles
1031 * Moose::Meta::Attribute
1032 - added support for triggers on attributes
1033 - added tests for this
1034 - added support for does option on an attribute
1035 - added tests for this
1037 * Moose::Meta::Class
1038 - added support for attribute triggers in the
1040 - added tests for this
1043 - Moose no longer creates a subtype for your class
1044 if a subtype of the same name already exists, this
1045 should DWIM in 99.9999% of all cases
1047 * Moose::Util::TypeConstraints
1048 - fixed bug where incorrect subtype conflicts were
1050 - added test for this
1053 - this class can now be extended with 'use base' if
1054 you need it, it properly loads the metaclass class now
1055 - added test for this
1057 0.03_02 Wed. April 12, 2006
1059 - you must now explictly use Moose::Util::TypeConstraints
1060 it no longer gets exported for you automatically
1063 - new() now accepts hash-refs as well as key/value lists
1064 - added does() method to check for Roles
1065 - added tests for this
1067 * Moose::Meta::Class
1068 - added roles attribute along with the add_role() and
1070 - added tests for this
1073 - now adds a does() method to consuming classes
1074 which tests the class's hierarchy for roles
1075 - added tests for this
1077 0.03_01 Mon. April 10, 2006
1079 - added new Role recipe (no content yet, only code)
1082 - added 'with' keyword for Role support
1083 - added test and docs for this
1084 - fixed subtype quoting bug
1085 - added test for this
1089 - added test and docs
1091 * Moose::Util::TypeConstraints
1092 - added the message keyword to add custom
1093 error messages to type constraints
1096 - the meta role to support Moose::Role
1097 - added tests and docs
1099 * Moose::Meta::Class
1100 - moved a number of things from Moose.pm
1101 to here, they should have been here
1104 * Moose::Meta::Attribute
1105 - moved the attribute option macros here
1106 instead of putting them in Moose.pm
1108 * Moose::Meta::TypeConstraint
1109 - added the message attributes and the
1111 - added tests and docs for this
1113 0.03 Thurs. March 30, 2006
1115 - added the Moose::Cookbook with 5 recipes,
1116 describing all the stuff Moose can do.
1119 - fixed an issue with &extends super class loading
1120 it now captures errors and deals with inline
1121 packages correctly (bug found by mst, solution
1123 - added super/override & inner/augment features
1124 - added tests and docs for these
1127 - BUILDALL now takes a reference of the %params
1128 that are passed to &new, and passes that to
1131 * Moose::Util::TypeConstraints
1132 - Type constraints now survive runtime reloading
1133 - added test for this
1135 * Moose::Meta::Class
1136 - fixed the way attribute defaults are handled
1137 during instance construction (bug found by chansen)
1139 * Moose::Meta::Attribute
1140 - read-only attributes now actually enforce their
1141 read-only-ness (this corrected in Class::MOP as
1144 0.02 Tues. March 21, 2006
1146 - many more tests, fixing some bugs and
1148 - &extends now loads the base module with
1150 - added UNIVERSAL::require to the
1153 - each new Moose class will also create
1154 and register a subtype of Object which
1155 correspond to the new Moose class.
1156 - the 'isa' option in &has now only
1157 accepts strings, and will DWIM in
1160 * Moose::Util::TypeConstraints
1161 - added type coercion features
1162 - added tests for this
1163 - added support for this in attributes
1164 and instance construction
1166 - type construction no longer creates a
1167 function, it registers the type instead.
1168 - added several functions to get the
1172 - BUILDALL and DEMOLISHALL were broken
1173 because of a mis-named hash key, Whoops :)
1175 * Moose::Meta::Attribute
1176 - adding support for coercion in the
1177 autogenerated accessors
1179 * Moose::Meta::Class
1180 - adding support for coercion in the
1181 instance construction
1183 * Moose::Meta::TypeConstraint
1184 * Moose::Meta::TypeCoercion
1185 - type constraints and coercions are now
1186 full fledges meta-objects
1188 0.01 Wed. March 15, 2006
1189 - Moooooooooooooooooose!!!