PaulHowarth/Blog/2011-07-19

Tuesday 19th July 2011

Local Packages

  • Updated perl-Moose to 2.0200:

    • Deprecations:
      • Using a hand-optimized type constraint is now deprecated
      • Several things that have been deprecated for a while have been removed; see the 2.0000 section in Moose::Manual::Delta for details

    • New Features:
      • Type constraints can now provide inlined versions, which should make inlined code that uses type constraints (such as accessors) faster; this replaces the existing hand-optimized constraint feature
      • New Moose::Util::TypeConstraints::union function for creating union type constraints without having to rely on the string type constraint parsing; this also allows for creating unions of anonymous type constraints

    • Enhancements:
      • Remove a lot of cases where generated methods closed over meta objects; most simple cases should now only close over simple data types and coderefs, which should make de-parsing simpler
      • The native Array trait now has a 'first_index' method, which works just like the version in List::MoreUtils

      • Clean up some internal code to help out extensions
      • Moose::Util::does_role now respects overridden ->does methods

    • Other:
      • Various packaging issues
  • Updated sendmail for various systemd unit file changes:

    • Removed dots from description
    • Changed service type to forking

    • Explicitly specified PID files
    • Fixed creation of sm-client.pid

    • Added Wants to sm-client.service and sendmail.service to get them to start together

    • Moved PID file from /var/run to /run in submit.mc


Recent