1 Revision history for Perl extension Moose
5 - made make_immutable warning cluck to
6 show where the error is
9 - BUILDALL and DEMOLISHALL now call
10 ->body when looping through the
11 methods, to avoid the overloaded
14 * Moose::Cookbook::Recipe7
15 - added new recipe for immutable
16 functionality (thanks Dave Rolsky)
18 * Moose::Cookbook::Recipe9
19 - added new recipe for builder and
20 lazy_build (thanks Dave Rolsky)
22 * Moose::Cookbook::Recipe1
23 - added new recipe for method aliasing
24 and exclusion with Roles (thanks Dave Rolsky)
27 - fixed Win32 test failure
29 0.43 Wed. April, 30, 2008
31 drink more coffee before
32 doing release engineering
34 - whoops, forgot to do the smolder tests,
35 and we broke some of the custom meta-attr
36 modules. This fixes that.
38 0.42 Mon. April 28, 2008
39 - some bad tests slipped by, nothing else
40 changed in this release (cpantesters++)
42 - upped the Class::MOP dependency to 0.55
43 since we have tests which need the C3
46 0.41 Mon. April 28, 2008
47 ~~ numerous documentation updates ~~
49 - Changed all usage of die to Carp::croak for better
50 error reporting (initial patch by Tod Hagan)
53 - the make_immutable keyword is now deprecated, don't
54 use it in any new code and please fix your old code
55 as well. There will be 2 releases, and then it will
61 - refactored the way inner and super work to avoid
62 any method/@ISA cache penalty (nothingmuch)
65 - fixing &new_object to make sure trigger gets the
66 coerced value (spotted by Charles Alderman on the
70 * Moose::Meta::Method::Constructor
71 - immutable classes which had non-lazy attributes were calling
72 the default generating sub twice in the constructor. (bug
73 found by Jesse Luehrs, fixed by Dave Rolsky)
74 - added tests for this (Dave Rolsky)
75 - fix typo in initialize_body method (nothingmuch)
77 * Moose::Meta::Method::Destructor
78 - fix typo in initialize_body method (nothingmuch)
80 * Moose::Meta::Method::Overriden
81 Moose::Meta::Method::Augmented
82 - moved the logic for these into their own
85 * Moose::Meta::Attribute
86 - inherited attributes may now be extended without
87 restriction on the type ('isa', 'does') (Sartak)
88 - added tests for this (Sartak)
89 - when an attribute property is malformed (such as lazy without
90 a default), give the name of the attribute in the error
92 - added the &applied_traits and &has_applied_traits methods
93 to allow introspection of traits
94 - added tests for this
95 - moved 'trait' and 'metaclass' argument handling to here from
97 - clone_and_inherit_options now handles 'trait' and 'metaclass' (has
98 '+foo' syntax) (nothingmuch)
99 - added tests for this (t0m)
102 - localize $@ inside DEMOLISHALL to avoid it
103 eating $@ (found by Ernesto)
104 - added test for this (thanks to Ernesto)
106 * Moose::Util::TypeConstraints
107 - &find_type_constraint now DWIMs when given an
108 type constraint object or name (nothingmuch)
109 - &find_or_create_type_constraint superseded with a number of more
111 - find_or_create_{isa,does}_type_constraint
112 - find_or_parse_type_constraint
114 * Moose::Meta::TypeConstraint
115 Moose::Meta::TypeConstraint::Class
116 Moose::Meta::TypeConstraint::Role
117 Moose::Meta::TypeConstraint::Enum
118 Moose::Meta::TypeConstraint::Union
119 Moose::Meta::TypeConstraint::Parameterized
120 - added the &equals method for comparing two type
121 constraints (nothingmuch)
122 - added tests for this (nothingmuch)
124 * Moose::Meta::TypeConstraint
125 - add the &parents method, which is just an alias to &parent.
126 Useful for polymorphism with TC::{Class,Role,Union} (nothingmuch)
128 * Moose::Meta::TypeConstraint::Class
129 - added the class attribute for introspection purposes
131 - added tests for this
133 * Moose::Meta::TypeConstraint::Enum
134 Moose::Meta::TypeConstraint::Role
135 - broke these out into their own classes (nothingmuch)
137 * Moose::Cookbook::Recipe*
138 - fixed references to test file locations in the POD
139 and updated up some text for new Moose features
143 - Added &resolve_metaclass_alias, a helper function for finding an actual
144 class for a short name (e.g. in the traits list)
146 0.40 Fri. March 14, 2008
147 - I hate Pod::Coverage
149 0.39 Fri. March 14, 2008
151 - documenting the use of '+name' with attributes
152 that come from recently composed roles. It makes
153 sense, people are using it, and so why not just
154 officially support it.
155 - fixing the 'extends' keyword so that it will not
156 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
159 - added the perl -Moose=+Class::Name feature to allow
160 monkeypatching of classes in one liners
163 - fixing the 'apply_all_roles' keyword so that it will not
164 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
167 - added ->create method which now supports roles (thanks to jrockway)
168 - added tests for this
169 - added ->create_anon_class which now supports roles and caching of
170 the results (thanks to jrockway)
171 - added tests for this
172 - made ->does_role a little more forgiving when it is
173 checking a Class::MOP era metaclasses.
175 * Moose::Meta::Role::Application::ToInstance
176 - it is now possible to pass extra params to be used when
177 a role is applied to an the instance (rebless_params)
178 - added tests for this
180 * Moose::Util::TypeConstraints
181 - class_type now accepts an optional second argument for a
182 custom message. POD anotated accordingly (groditi)
183 - added tests for this
184 - it is now possible to make anon-enums by passing 'enum' an
185 ARRAY ref instead of the $name => @values. Everything else
187 - added tests for this
190 - making test for using '+name' on attributes consumed
191 from a role, it works and makes sense too.
193 * Moose::Meta::Attribute
194 - fix handles so that it doesn't return nothing
195 when the method cannot be found, not sure why
196 it ever did this originally, this means we now
197 have slightly better support for AUTOLOADed
199 - added more delegation tests
200 - adding ->does method to this so as to better
201 support traits and their introspection.
202 - added tests for this
205 - localizing the Data::Dumper configurations so
206 that it does not pollute others (RT #33509)
207 - made ->does a little more forgiving when it is
208 passed Class::MOP era metaclasses.
210 0.38 Fri. Feb. 15, 2008
211 * Moose::Meta::Attribute
212 - fixed initializer to correctly do
213 type checking and coercion in the
215 - added tests for this
218 - fixed some finicky tests (thanks to konobi)
220 0.37 Thurs. Feb. 14, 2008
222 - fixed some details in Moose::init_meta
223 and its superclass handling (thanks thepler)
224 - added tests for this (thanks thepler)
225 - 'has' now dies if you don't pass in name
227 - added the 'make_immutable' keyword as a shortcut
231 Moose::Meta::Method::Constructor
232 Moose::Meta::Attribute
233 - making (init_arg => undef) work here too
234 (thanks to nothingmuch)
236 * Moose::Meta::Attribute
237 Moose::Meta::Method::Constructor
238 Moose::Meta::Method::Accessor
239 - make lazy attributes respect attr initializers (rjbs)
240 - added tests for this
242 * Moose::Util::TypeConstraints
243 Moose::Util::TypeConstraints::OptimizedConstraints
244 Moose::Meta::TypeConstraints
245 Moose::Meta::Attribute
246 Moose::Meta::Method::Constructor
247 Moose::Meta::Method::Accessor
248 - making type errors use the
249 assigned message (thanks to Sartak)
250 - added tests for this
252 * Moose::Meta::Method::Destructor
253 - making sure DESTROY gets inlined properly
254 with successive DEMOLISH calls (thanks to manito)
256 * Moose::Meta::Attribute
257 Moose::Meta::Method::Accessor
258 - fixed handling of undef with type constraints
260 - added tests for this
263 - added &get_all_init_args and &get_all_attribute_values
264 (thanks to Sartak and nothingmuch)
266 0.36 Sat. Jan. 26, 2008
268 Moose::Meta::Attribute
269 - role type tests now support when roles are
270 applied to non-Moose classes (found by ash)
271 - added tests for this (thanks to ash)
272 - couple extra tests to boost code coverage
274 * Moose::Meta::Method::Constructor
275 - improved fix for handling Class::MOP attributes
276 - added test for this
279 - handled the add_attribute($attribute_meta_object)
281 - added test for this
283 0.35 Tues. Jan. 22, 2008
284 * Moose::Meta::Method::Constructor
285 - fix to make sure even Class::MOP attributes
286 are handled correctly (Thanks to Dave Rolsky)
287 - added test for this (also Dave Rolsky)
290 - improved error message on _apply_all_roles,
291 you should now use Moose::Util::apply_all_roles
292 and you shouldnt have been using a _ prefixed
293 method in the first place ;)
295 0.34 Mon. Jan. 21, 2008
296 ~~~ more misc. doc. fixes ~~~
297 ~~ updated copyright dates ~~
299 Moose is now a postmodern object system :)
300 - (see the POD for details)
302 * <<Role System Refactoring>>
303 - this release contains a major reworking and
304 cleanup of the role system
305 - 100% backwards compat.
306 - Role application now restructured into seperate
307 classes based on type of applicants
308 - Role summation (combining of more than one role)
309 is much cleaner and anon-classes are no longer
311 - new Composite role metaclass
312 - runtime application of roles to instances
313 is now more efficient and re-uses generated
314 classes when applicable
316 * <<New Role composition features>>
317 - methods can now be excluded from a given role
319 - methods can now be aliased to another name (and
320 still retain the original as well)
322 * Moose::Util::TypeConstraints::OptimizedConstraints
323 - added this module (see above)
326 - fixed the &_process_attribute method to be called
327 by &add_attribute, so that the API is now correct
329 * Moose::Meta::Method::Accessor
330 - fixed bug when passing a list of values to
331 an accessor would get (incorrectly) ignored.
332 Thanks to Sartak for finding this ;)
333 - added tests for this (Sartak again)
335 * Moose::Meta::Method::Accessor
336 Moose::Meta::Method::Constructor
337 Moose::Meta::Attribute
338 Moose::Meta::TypeConstraint
339 Moose::Meta::TypeCoercion
340 - lots of cleanup of such things as:
342 - type constraint handling
343 - error handling/messages
344 (thanks to nothingmuch)
346 * Moose::Meta::TypeConstraint::Parameterizable
347 - added this module to support the refactor
348 in Moose::Meta::TypeConstraint::Parameterized
350 * Moose::Meta::TypeConstraint::Parameterized
351 - refactored how these types are handled so they
352 are more generic and not confined to ArrayRef
356 - shortened some file names for better VMS support (RT #32381)
358 0.33 Fri. Dec. 14, 2007
359 !! Moose now loads 2 x faster !!
360 !! with new Class::MOP 0.49 !!
362 ++ new oose.pm module to make command line
363 Moose-ness easier (see POD docs for more)
367 - several tweaks to take advantage of the
368 new method map caching in Class::MOP
370 * Moose::Meta::TypeConstraint::Parameterized
371 - allow subtypes of ArrayRef and HashRef to
372 be used as a container (sartak)
373 - added tests for this
374 - basic support for coercion to ArrayRef and
375 HashRef for containers (sartak)
376 - added tests for this
378 * Moose::Meta::TypeCoercion
379 - coercions will now create subtypes as needed
380 so you can now add coercions to parameterized
381 types without having to explictly define them
382 - added tests for this
384 * Moose::Meta::Method::Accessor
385 - allow subclasses to decide whether we need
386 to copy the value into a new variable (sartak)
388 0.32 Tues. Dec. 4, 2007
389 * Moose::Util::TypeConstraints
390 - fixing how subtype aliases of unions work
391 they should inherit the parent's coercion
392 - added tests for this
393 - you can now define multiple coercions on
394 a single type at different times instead of
395 having to do it all in one place
396 - added tests for this
398 * Moose::Meta::TypeConstraint
399 - there is now a default constraint of sub { 1 }
400 instead of Moose::Util::TypeConstraints setting
403 * Moose::Meta::TypeCoercion
404 * Moose::Meta::TypeCoercion::Union
405 - added the &has_coercion_for_type and
406 &add_type_coercions methods to support the
407 new features above (although you cannot add
408 more type coercions for Union types)
410 0.31 Mon. Nov. 26, 2007
411 * Moose::Meta::Attribute
412 - made the +attr syntax handle extending types with
413 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
414 now works if the original foo is an ArrayRef.
415 - added tests for this.
416 - delegation now works even if the attribute does not
417 have a reader method using the get_read_method_ref
418 method from Class::MOP::Attribute.
419 - added tests for this
420 - added docs for this
422 * Moose::Util::TypeConstraints
423 - passing no "additional attribute info" to
424 &find_or_create_type_constraint will no longer
425 attempt to create an __ANON__ type for you,
426 instead it will just return undef.
427 - added docs for this
429 0.30 Fri. Nov. 23, 2007
430 * Moose::Meta::Method::Constructor
431 -builder related bug in inlined constructor. (groditi)
433 * Moose::Meta::Method::Accessor
434 - genereate unnecessary calls to predicates and refactor
435 code generation for runtime speed (groditi)
437 * Moose::Util::TypeConstraints
438 - fix ClassName constraint to introspect symbol table (mst)
439 - added more tests for this (mst)
440 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
442 - added tests for this
445 - adding the link to Recipie 11 (written by Sartak)
446 - adding test for SYNOPSIS code
449 - New tests for builder bug. Upon instantiation, if an
450 attribute had a builder, no value and was not lazy the
451 builder default was not getting run, oops. (groditi)
453 0.29 Tues. Nov. 13, 2007
454 * Moose::Meta::Attribute
455 - Fix error message on missing builder method (groditi)
457 * Moose::Meta::Method::Accessor
458 - Fix error message on missing builder method (groditi)
461 - Add test to check for the correct error message when
462 builder method is missing (groditi)
464 0.28 Tues. Nov. 13, 2007
465 - 0.27 packaged incorrectly (groditi)
467 0.27 Tues. Nov. 13, 2007
468 * Moose::Meta::Attribute
469 - Added support for the new builder option (groditi)
470 - Added support for lazy_build option (groditi)
471 - Changed slot initialization for predicate changes (groditi)
473 * Moose::Meta::Method::Accessor
474 - Added support for lazy_build option (groditi)
475 - Fix inline methods to work with corrected predicate
478 * Moose::Meta::Method::Constructor
479 - Added support for lazy_build option (groditi)
482 - tests for builder and lazy_build (groditi)
484 * fixing some misc. bits in the docs that
485 got mentioned on CPAN Forum & perlmonks
488 - fixed how required methods are handled
489 when they encounter overriden or modified
490 methods from a class (thanks to confound).
491 - added tests for this
493 * Moose::Util::TypeConstraint
494 - fixed the type notation parser so that
495 the | always creates a union and so is
496 no longer a valid type char (thanks to
497 konobi, mugwump and #moose for working
499 - added more tests for this
501 0.26 Thurs. Sept. 27, 2007
504 * Parameterized Types
505 We now support parameterized collection types, such as:
506 ArrayRef[Int] # array or integers
507 HashRef[Object] # a hash with object values
508 They can also be nested:
509 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
510 And work with the type unions as well:
511 ArrayRef[Int | Str] # array of integers of strings
513 * Better Framework Extendability
514 Moose.pm is now "extendable" such that it is now much
515 easier to extend the framework and add your own keywords
516 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
517 section of the Moose.pm docs.
520 In an effort to begin documenting some of the various
521 details of Moose as well as some common idioms, we have
522 created Moose::Cookbook::Snacks as a place to find
523 small (easily digestable) nuggets of Moose code.
526 ~ Several doc updates/cleanup thanks to castaway ~
528 - converted build system to use Module::Install instead of
529 Module::Build (thanks to jrockway)
532 - added all the meta classes to the immutable list and
533 set it to inline the accessors
534 - fix import to allow Sub::Exporter like { into => }
535 and { into_level => } (perigrin)
536 - exposed and documented init_meta() to allow better
537 embedding and extending of Moose (perigrin)
540 - complete re-organization of the test suite
541 - added some new tests as well
542 - finally re-enabled the Moose::POOP test since
543 the new version of DBM::Deep now works again
547 - fixed very odd and very nasty recursion bug with
549 - added tests for this (eilara)
551 * Moose::Meta::Attribute
552 Moose::Meta::Method::Constructor
553 Moose::Meta::Method::Accessor
554 - fixed issue with overload::Overloaded getting called
555 on non-blessed items. (RT #29269)
556 - added tests for this
558 * Moose::Meta::Method::Accessor
559 - fixed issue with generated accessor code making
560 assumptions about hash based classes (thanks to dexter)
562 * Moose::Coookbook::Snacks
563 - these are bits of documentation, not quite as big as
564 Recipes but which have no clear place in the module docs.
565 So they are Snacks! (horray for castaway++)
567 * Moose::Cookbook::Recipe4
568 - updated it to use the new ArrayRef[MyType] construct
569 - updated the accompanying test as well
571 +++ Major Refactor of the Type Constraint system +++
572 +++ with new features added as well +++
574 * Moose::Util::TypeConstraint
575 - no longer uses package variable to keep track of
576 the type constraints, now uses the an instance of
577 Moose::Meta::TypeConstraint::Registry to do it
578 - added more sophisticated type notation parsing
580 - added tests for this
582 * Moose::Meta::TypeConstraint
583 - some minor adjustments to make subclassing easier
584 - added the package_defined_in attribute so that we
585 can track where the type constraints are created
587 * Moose::Meta::TypeConstraint::Union
588 - this is now been refactored to be a subclass of
589 Moose::Meta::TypeConstraint
591 * Moose::Meta::TypeCoercion::Union
592 - this has been added to service the newly refactored
593 Moose::Meta::TypeConstraint::Union and is itself
594 a subclass of Moose::Meta::TypeCoercion
596 * Moose::Meta::TypeConstraint::Parameterized
597 - added this module (taken from MooseX::AttributeHelpers)
598 to help construct nested collection types
599 - added tests for this
601 * Moose::Meta::TypeConstraint::Registry
602 - added this class to keep track of type constraints
604 0.25 Mon. Aug. 13, 2007
606 - Documentation update to reference Moose::Util::TypeConstraints
607 under 'isa' in 'has' for how to define a new type
610 * Moose::Meta::Attribute
611 - required attributes now will no longer accept undef
612 from the constructor, even if there is a default and lazy
613 - added tests for this
614 - default subroutines must return a value which passes the
616 - added tests for this
618 * Moose::Meta::Attribute
619 * Moose::Meta::Method::Constructor
620 * Moose::Meta::Method::Accessor
621 - type-constraint tests now handle overloaded objects correctly
623 - added tests for this (thanks to EvanCarroll)
625 * Moose::Meta::TypeConstraint::Union
626 - added (has_)hand_optimized_constraint to this class so that
627 it behaves as the regular Moose::Meta::TypeConstraint does.
630 - large refactoring of this code
631 - added several more tests
632 - tests for subtle conflict resolition issues
633 added, but not currently running
636 * Moose::Cookbook::Recipe7
637 - added new recipe for augment/inner functionality
639 - added test for this
642 - a formal definition of roles (still in progress)
645 - utilities for easier working with Moose classes
646 - added tests for these
649 - This contains Moose specific test functions
650 - added tests for these
652 0.24 Tues. July 3, 2007
653 ~ Some doc updates/cleanup ~
655 * Moose::Meta::Attribute
656 - added support for roles to be given as parameters
657 to the 'handles' option.
658 - added tests and docs for this
659 - the has '+foo' attribute form now accepts changes to
660 the lazy option, and the addition of a handles option
661 (but not changing the handles option)
662 - added tests and docs for this
665 - required methods are now fetched using find_method_by_name
666 so that required methods can come from superclasses
667 - adjusted tests for this
669 0.23 Mon. June 18, 2007
670 * Moose::Meta::Method::Constructor
671 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
673 - Modify make_immutable to work with the new Class::MOP immutable
674 mechanism + POD + very basic test (groditi)
675 * Moose::Meta::Attribute
676 - Fix handles to use goto() so that caller() comes out properly on
677 the other side (perigrin)
679 0.22 Thurs. May 31, 2007
680 * Moose::Util::TypeConstraints
681 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
682 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
683 prototypes for functions
684 - added the ClassName type constraint, this checks for strings
685 which will respond true to ->isa(UNIVERSAL).
686 - added tests and docs for this
687 - subtyping just in name now works correctly by making the
688 default for where be { 1 }
689 - added test for this
691 * Moose::Meta::Method::Accessor
692 - coerce and lazy now work together correctly, thanks to
693 merlyn for finding this bug
694 - tests added for this
695 - fix reader presedence bug in Moose::Meta::Attribute + tests
698 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
699 a HASH-ref and missed. This produces better error messages then
700 having it die cause undef is not a HASH.
701 - added tests for this
703 0.21 Thursday, May 2nd, 2007
705 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
706 - modified unimport to remove super and inner along with the rest
707 - altered unimport tests to handle this
710 - altered super export to populate SUPER_SLOT
713 - altered augment and override modifier application to use *_SLOT
714 - modified tests for these to unimport one test class each to test
717 - fixed issue where custom attribute metaclasses
718 where not handled correctly in roles
719 - added tests for this
722 - fixed issue where extending metaclasses with
723 roles would blow up. Thanks to Aankhen`` for
724 finding this insidious error, and it's solution.
726 ~~ lots of spelling and grammer fixes in the docs,
727 many many thanks to rlb3 and Aankhen for these :)
729 0.20 Friday, April 6th, 2007
730 >> I messed up the SKIP logic in one test
731 so this release is just to fix that.
734 - 'has' now also accepts an ARRAY ref
735 to create multiple attrs (see docs)
736 (thanks to konobi for this)
737 - added tests and docs
739 0.19 Thurs. April 5th, 2007
740 ~~ More documentation updates ~~
742 * Moose::Util::TypeConstraints
743 - 'type' now supports messages as well
744 thanks to phaylon for finding this
745 - added tests for this
746 - added &list_all_type_constraints and
747 &list_all_builtin_type_constraints
748 functions to facilitate introspection.
750 * Moose::Meta::Attribute
751 - fixed regexp 'handles' declarations
752 to build the list of delegated methods
753 correctly (and not override important
754 things like &new) thanks to ashleyb
756 - added tests and docs for this
757 - added the 'documentation' attributes
758 so that you can actually document your
759 attributes and inspect them through the
761 - added tests and docs for this
764 - when loading custom attribute metaclasses
765 it will first look in for the class in the
766 Moose::Meta::Attribute::Custom::$name, and
767 then default to just loading $name.
768 - added tests and docs for this
770 * Moose::Meta::TypeConstraint
771 - type constraints now stringify to their names.
772 - added test for this
775 - added tests to assure we work with Module::Refresh
776 - added stricter test skip logic in the Moose POOP
777 test, ask Rob Kinyon why.
778 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
780 0.18 Sat. March 10, 2007
781 ~~ Many, many documentation updates ~~
784 - We now use Class::MOP::load_class to
786 - added tests to show types and subtypes
787 working with Declare::Constraints::Simple
788 and Test::Deep as constraint engines.
791 !! You must have Class::MOP 0.37_001 !!
792 !! for this developer release to work !!
794 This release was primarily adding the immutable
795 feature to Moose. An immutable class is one which
796 you promise not to alter. When you set the class
797 as immutable it will perform various bits of
798 memoization and inline certain part of the code
799 (constructors, destructors and accessors). This
800 minimizes (and in some cases totally eliminates)
801 one of Moose's biggest performance hits. This
802 feature is not on by default, and is 100% optional.
803 It has several configurable bits as well, so you
804 can pick and choose to your specific needs.
806 The changes involved in this were fairly wide and
807 highly specific, but 100% backwards compatible, so
808 I am not going to enumerate them here. If you are
809 truely interested in what was changed, please do
812 0.17 Tues. Nov. 14, 2006
813 * Moose::Meta::Method::Accessor
814 - bugfix for read-only accessors which
815 are have a type constraint and lazy.
816 Thanks to chansen for finding it.
818 0.16 Tues. Nov. 14, 2006
820 There are some speed improvements in this release,
821 but they are only the begining, so stay tuned.
824 - BUILDALL and DEMOLISHALL no longer get
825 called unless they actually need to be.
826 This gave us a signifigant speed boost
827 for the cases when there is no BUILD or
828 DEMOLISH method present.
830 * Moose::Util::TypeConstraints
831 * Moose::Meta::TypeConstraint
832 - added an 'optimize_as' option to the
833 type constraint, which allows for a
834 hand optimized version of the type
835 constraint to be used when possible.
836 - Any internally created type constraints
837 now provide an optimized version as well.
839 0.15 Sun. Nov. 5, 2006
841 This version of Moose *must* have Class::MOP 0.36 in order
842 to work correctly. A number of small internal tweaks have
843 been made in order to be compatible with that release.
845 * Moose::Util::TypeConstraints
846 - added &unimport so that you can clean out
847 your class namespace of these exported
851 - fixed minor issue which occasionally
852 comes up during global destruction
854 - moved Moose::Meta::Method::Overriden into
858 - moved Moose::Meta::Role::Method into
861 * Moose::Meta::Attribute
862 - changed how we do type checks so that
863 we reduce the overall cost, but still
866 - moved accessor generation methods to
867 Moose::Meta::Method::Accessor to
868 conform to the API changes from
871 * Moose::Meta::TypeConstraint
872 - changed how constraints are compiled
873 so that we do less recursion and more
874 iteration. This makes the type check
876 - moved Moose::Meta::TypeConstraint::Union
879 * Moose::Meta::Method::Accessor
880 - created this from methods formerly found in
881 Moose::Meta::Attribute
883 * Moose::Meta::Role::Method
884 - moved this from Moose::Meta::Role
886 * Moose::Meta::Method::Overriden
887 - moved this from Moose::Meta::Class
889 * Moose::Meta::TypeConstraint::Union
890 - moved this from Moose::Meta::TypeConstraint
892 0.14 Mon. Oct. 9, 2006
894 * Moose::Meta::Attribute
895 - fixed lazy attributes which were not getting
896 checked with the type constraint (thanks ashley)
897 - added tests for this
898 - removed the over-enthusiastic DWIMery of the
899 automatic ArrayRef and HashRef defaults, it
900 broke predicates in an ugly way.
901 - removed tests for this
903 0.13 Sat. Sept. 30, 2006
905 This version of Moose *must* have Class::MOP 0.35 in order
906 to work correctly. A number of small internal tweaks have
907 been made in order to be compatible with that release.
910 - Removed the use of UNIVERSAL::require to be a better
911 symbol table citizen and remove a dependency
912 (thanks Adam Kennedy)
914 **~~ removed experimental & undocumented feature ~~**
915 - commented out the 'method' and 'self' keywords, see the
916 comments for more info.
919 - added a FAQ and WTF files to document frequently
920 asked questions and common problems
922 * Moose::Util::TypeConstraints
923 - added GlobRef and FileHandle type constraint
924 - added tests for this
926 * Moose::Meta::Attribute
927 - if your attribute 'isa' ArrayRef of HashRef, and you have
928 not explicitly set a default, then make the default DWIM.
929 This will also work for subtypes of ArrayRef and HashRef
931 - you can now auto-deref subtypes of ArrayRef or HashRef too.
932 - new test added for this (thanks to ashley)
935 - added basic support for runtime role composition
936 but this is still *highly experimental*, so feedback
937 is much appreciated :)
938 - added tests for this
940 * Moose::Meta::TypeConstraint
941 - the type constraint now handles the coercion process
942 through delegation, this is to support the coercion
945 * Moose::Meta::TypeConstraint::Union
946 - it is now possible for coercions to be performed
948 - added tests for this (thanks to konobi)
950 * Moose::Meta::TypeCoercion
951 - properly capturing error when type constraint
955 - Scalar::Util 1.18 is bad on Win32, so temporarily
956 only require version 1.17 for Win32 and cygwin.
957 (thanks Adam Kennedy)
959 0.12 Sat. Sept. 1, 2006
961 - Recipe5 (subtypes & coercion) has been written
964 - fixed "bad meta" error message to be more descriptive
965 - fixed &unimport to not remove the &inner and &super
966 keywords because we need to localize them.
967 - fixed number of spelling/grammer issues, thanks Theory :)
969 **~~ experimental & undocumented feature ~~**
970 - added the method and self keywords, they are basically
971 just sugar, and they may not stay around.
974 - added &dump method to easily Data::Dumper
977 * Moose::Meta::TypeConstraint
978 - added the &is_a_type_of method to check both the current
979 and the subtype of a method (similar to &isa with classes)
982 - this is now a subclass of Class::MOP::Module, and no longer
983 creates the _role_meta ugliness of before.
984 - fixed tests to reflect this change
986 0.11 Wed. July 12, 2006
988 - added an &unimport method to remove all the keywords
989 that Moose will import, simply add 'no Moose' to the
990 bottom of your class file.
993 - fixed some test failures caused by a forgotten test
996 0.10 Thurs. July 6, 2006
998 - improved error message when loading modules so
999 it is less confusing when you load a role.
1000 - added &calculate_all_roles method to
1001 Moose::Meta::Class and Moose::Meta::Role
1004 This module has been tested against Class::MOP 0.30
1005 but it does not yet utilize the optimizations
1006 it makes available. Stay tuned for that ;)
1008 0.09_03 Fri. June 23, 2006
1009 ++ DEVELOPER RELEASE ++
1011 - 'use strict' and 'use warnings' are no longer
1012 needed in Moose classes, Moose itself will
1013 turn them on for you.
1014 - added tests for this
1015 - moved code from exported subs to private methods
1016 in Moose::Meta::Class
1019 - as with Moose, strict and warnings are
1020 automatically turned on for you.
1021 - added tests for this
1024 - now handles an edge case for override errors
1025 - added tests for this
1026 - added some more edge case tests
1028 0.09_02 Tues. May 16, 2006
1029 ++ DEVELOPER RELEASE ++
1031 - added prototypes to the exported subs
1035 - added prototypes to the exported subs
1038 * Moose::Util::TypeConstraints
1039 - cleaned up prototypes for the subs
1042 0.09_01 Fri. May 12, 2006
1043 ++ DEVELOPER RELEASE ++
1044 - This release works in combination with
1045 Class::MOP 0.29_01, it is a developer
1046 release because it uses the a new
1047 instance sub-protocol and a fairly
1048 complete Role implementation. It has
1049 not yet been optimized, so it slower
1050 the the previous CPAN version. This
1051 release also lacks good updated docs,
1052 the official release will have updated docs.
1055 - refactored the keyword exports
1056 - 'with' now checks Role validaity and
1057 accepts more than one Role at a time
1058 - 'extends' makes metaclass adjustments as
1059 needed to ensure metaclass compatability
1062 - refactored the keyword exports
1063 - 'with' now checks Role validaity and
1064 accepts more than one Role at a time
1066 * Moose::Util::TypeConstraints
1067 - added the 'enum' keyword for simple
1068 string enumerations which can be used as
1070 - see example of usage in t/202_example.t
1073 - more careful checking of params to new()
1076 - much work done on the role composition
1077 - many new tests for conflict detection
1078 and composition edge cases
1079 - not enough documentation, I suggest
1080 looking at the tests
1082 * Moose::Meta::Instance
1083 - added new Instance metaclass to support
1084 the new Class::MOP instance protocol
1086 * Moose::Meta::Class
1087 - some small changes to support the new
1089 - some small additions to support Roles
1091 * Moose::Meta::Attribute
1092 - some improvements to the accessor generation code
1094 - some small changes to support the new
1096 - (still somewhat) experimental delegation support
1097 with the 'handles' option
1098 - added several tests for this
1099 - no docs for this yet
1101 0.05 Thurs. April 27, 2006
1103 - keywords are now exported with Sub::Exporter
1104 thanks to chansen for this commit
1105 - has keyword now takes a 'metaclass' option
1106 to support custom attribute meta-classes
1107 on a per-attribute basis
1108 - added tests for this
1109 - the 'has' keyword not accepts inherited slot
1110 specifications (has '+foo'). This is still an
1111 experimental feature and probably not finished
1112 see t/038_attribute_inherited_slot_specs.t for
1113 more details, or ask about it on #moose
1114 - added tests for this
1117 - keywords are now exported with Sub::Exporter
1119 * Moose::Utils::TypeConstraints
1120 - reorganized the type constraint hierarchy, thanks
1121 to nothingmuch and chansen for his help and advice
1123 - added some tests for this
1124 - keywords are now exported with Sub::Exporter
1125 thanks to chansen for this commit
1127 * Moose::Meta::Class
1128 - due to changes in Class::MOP, we had to change
1129 construct_instance (for the better)
1131 * Moose::Meta::Attribute
1132 - due to changes in Class::MOP, we had to add the
1133 initialize_instance_slot method (it's a good thing)
1135 * Moose::Meta::TypeConstraint
1136 - added type constraint unions
1137 - added tests for this
1138 - added the is_subtype_of predicate method
1139 - added tests for this
1141 0.04 Sun. April 16th, 2006
1143 - Roles can now consume other roles
1144 - added tests for this
1145 - Roles can specify required methods now with
1146 the requires() keyword
1147 - added tests for this
1150 - ripped out much of it's guts ,.. much cleaner now
1151 - added required methods and correct handling of
1152 them in apply() for both classes and roles
1153 - added tests for this
1154 - no longer adds a does() method to consuming classes
1155 it relys on the one in Moose::Object
1156 - added roles attribute and some methods to support
1157 roles consuming roles
1159 * Moose::Meta::Attribute
1160 - added support for triggers on attributes
1161 - added tests for this
1162 - added support for does option on an attribute
1163 - added tests for this
1165 * Moose::Meta::Class
1166 - added support for attribute triggers in the
1168 - added tests for this
1171 - Moose no longer creates a subtype for your class
1172 if a subtype of the same name already exists, this
1173 should DWIM in 99.9999% of all cases
1175 * Moose::Util::TypeConstraints
1176 - fixed bug where incorrect subtype conflicts were
1178 - added test for this
1181 - this class can now be extended with 'use base' if
1182 you need it, it properly loads the metaclass class now
1183 - added test for this
1185 0.03_02 Wed. April 12, 2006
1187 - you must now explictly use Moose::Util::TypeConstraints
1188 it no longer gets exported for you automatically
1191 - new() now accepts hash-refs as well as key/value lists
1192 - added does() method to check for Roles
1193 - added tests for this
1195 * Moose::Meta::Class
1196 - added roles attribute along with the add_role() and
1198 - added tests for this
1201 - now adds a does() method to consuming classes
1202 which tests the class's hierarchy for roles
1203 - added tests for this
1205 0.03_01 Mon. April 10, 2006
1207 - added new Role recipe (no content yet, only code)
1210 - added 'with' keyword for Role support
1211 - added test and docs for this
1212 - fixed subtype quoting bug
1213 - added test for this
1217 - added test and docs
1219 * Moose::Util::TypeConstraints
1220 - added the message keyword to add custom
1221 error messages to type constraints
1224 - the meta role to support Moose::Role
1225 - added tests and docs
1227 * Moose::Meta::Class
1228 - moved a number of things from Moose.pm
1229 to here, they should have been here
1232 * Moose::Meta::Attribute
1233 - moved the attribute option macros here
1234 instead of putting them in Moose.pm
1236 * Moose::Meta::TypeConstraint
1237 - added the message attributes and the
1239 - added tests and docs for this
1241 0.03 Thurs. March 30, 2006
1243 - added the Moose::Cookbook with 5 recipes,
1244 describing all the stuff Moose can do.
1247 - fixed an issue with &extends super class loading
1248 it now captures errors and deals with inline
1249 packages correctly (bug found by mst, solution
1251 - added super/override & inner/augment features
1252 - added tests and docs for these
1255 - BUILDALL now takes a reference of the %params
1256 that are passed to &new, and passes that to
1259 * Moose::Util::TypeConstraints
1260 - Type constraints now survive runtime reloading
1261 - added test for this
1263 * Moose::Meta::Class
1264 - fixed the way attribute defaults are handled
1265 during instance construction (bug found by chansen)
1267 * Moose::Meta::Attribute
1268 - read-only attributes now actually enforce their
1269 read-only-ness (this corrected in Class::MOP as
1272 0.02 Tues. March 21, 2006
1274 - many more tests, fixing some bugs and
1276 - &extends now loads the base module with
1278 - added UNIVERSAL::require to the
1281 - each new Moose class will also create
1282 and register a subtype of Object which
1283 correspond to the new Moose class.
1284 - the 'isa' option in &has now only
1285 accepts strings, and will DWIM in
1288 * Moose::Util::TypeConstraints
1289 - added type coercion features
1290 - added tests for this
1291 - added support for this in attributes
1292 and instance construction
1294 - type construction no longer creates a
1295 function, it registers the type instead.
1296 - added several functions to get the
1300 - BUILDALL and DEMOLISHALL were broken
1301 because of a mis-named hash key, Whoops :)
1303 * Moose::Meta::Attribute
1304 - adding support for coercion in the
1305 autogenerated accessors
1307 * Moose::Meta::Class
1308 - adding support for coercion in the
1309 instance construction
1311 * Moose::Meta::TypeConstraint
1312 * Moose::Meta::TypeCoercion
1313 - type constraints and coercions are now
1314 full fledges meta-objects
1316 0.01 Wed. March 15, 2006
1317 - Moooooooooooooooooose!!!