X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FManual%2FDelta.pod;h=8dffcc1adbcef0c5ad3ce66d145e61e005213d44;hb=7d7d2bef170e1baa15ee7248e630f27f5bb7227e;hp=52a781db1ac9e4b5a80de263dd3cc5e547f6dfb0;hpb=3bd65f1b4077cdcdc13004f9210b6a4db871b95f;p=gitmo%2FMoose.git diff --git a/lib/Moose/Manual/Delta.pod b/lib/Moose/Manual/Delta.pod index 52a781d..8dffcc1 100644 --- a/lib/Moose/Manual/Delta.pod +++ b/lib/Moose/Manual/Delta.pod @@ -19,6 +19,27 @@ feature. If you encounter a problem and have a solution but don't see it documented here, or think we missed an important feature, please send us a patch. +=head1 2.0300 + +=over 4 + +=item Hand-optimized type constraint code causes a deprecation warning + +If you provide an optimized sub ref for a type constraint, this now causes a +deprecation warning. Typically, this comes from passing an C +parameter to C, but it could also happen if you create a +L object directly. + +Use the inlining feature (C) added in 2.0100 instead. + +=item Array and Hash native traits provide a C method + +The Array and Hash native traits now provide a "shallow_clone" method, which +will return a reference to a new container with the same contents as the +attribute's reference. + +=back + =head1 2.0100 =over 4