From: Stevan Little Date: Thu, 27 Sep 2007 17:18:47 +0000 (+0000) Subject: 0.26 X-Git-Tag: 0_26~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=77a18c285ae04f4823473563fa6b1a6e34fb2ab4;p=gitmo%2FMoose.git 0.26 --- diff --git a/Changes b/Changes index d6e71cc..a7272f3 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,30 @@ Revision history for Perl extension Moose -0.26 +0.26 Thurs. Sept. 27, 2007 + == New Features == + + * Parameterized Types + We now support parameterized collection types, such as: + ArrayRef[Int] # array or integers + HashRef[Object] # a hash with object values + They can also be nested: + ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values + And work with the type unions as well: + ArrayRef[Int | Str] # array of integers of strings + + * Better Framework Extendability + Moose.pm is now "extendable" such that it is now much + easier to extend the framework and add your own keywords + and customizations. See the "EXTENDING AND EMBEDDING MOOSE" + section of the Moose.pm docs. + + * Moose Snacks! + In an effort to begin documenting some of the various + details of Moose as well as some common idioms, we have + created Moose::Cookbook::Snacks as a place to find + small (easily digestable) nuggets of Moose code. + + ==== ~ Several doc updates/cleanup thanks to castaway ~ * Moose @@ -14,6 +38,9 @@ Revision history for Perl extension Moose * t/ - complete re-organization of the test suite - added some new tests as well + - finally re-enabled the Moose::POOP test since + the new version of DBM::Deep now works again + (thanks rob) * Moose::Meta::Class - fixed very odd and very nasty recursion bug with diff --git a/lib/Moose.pm b/lib/Moose.pm index 4ed6614..3102a77 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -249,7 +249,7 @@ use Moose::Util::TypeConstraints; $_->meta->make_immutable( inline_constructor => 0, - inline_accessors => 1, + inline_accessors => 1, # these are Class::MOP accessors, so they need inlining ) for ( 'Moose::Meta::Attribute', @@ -334,10 +334,10 @@ meta-model. However, Moose is B an experiment/prototype; it is for B. Yes, I believe that it is. -I have two medium-to-large-ish web applications which use Moose heavily -and have been in production (without issue) for several months now. At -$work, we are re-writing our core offering in it. And several people on -#moose have been using it (in production) for several months now as well. +Moose has been used successfully in production environemnts by several people +and companies (including the one I work for). There are Moose applications +which have been in production with little or no issue now for over a year. +I consider it highly stable and we are commited to keeping it stable. Of course, in the end, you need to make this call yourself. If you have any questions or concerns, please feel free to email me, or even the list @@ -744,7 +744,7 @@ Here is an example: =head2 B -Moose's C method supports the Sub::Exporter form of C<{into =E $pkg}> +Moose's C method supports the L form of C<{into =E $pkg}> and C<{into_level =E 1}> =head2 B diff --git a/t/200_examples/002_example_Moose_POOP.t b/t/200_examples/002_example_Moose_POOP.t index 2c1f3b3..f7b5f81 100644 --- a/t/200_examples/002_example_Moose_POOP.t +++ b/t/200_examples/002_example_Moose_POOP.t @@ -7,7 +7,7 @@ use Test::More; BEGIN { eval "use DBM::Deep 1.0003;"; - plan skip_all => "DBM::Deep is required for this test" if $@; + plan skip_all => "DBM::Deep 1.0003 (or greater) is required for this test" if $@; eval "use DateTime::Format::MySQL;"; plan skip_all => "DateTime::Format::MySQL is required for this test" if $@; plan tests => 89; @@ -24,8 +24,8 @@ BEGIN { This example creates a very basic Object Database which links in the instances created with a backend store (a DBM::Deep hash). It is by no means to be taken seriously -as a real-world ODB (see Presto for that), but is a proof -of concept of the flexibility of the ::Instance protocol. +as a real-world ODB, but is a proof of concept of the flexibility +of the ::Instance protocol. =cut