[libmoo-perl] 03/03: Add a NEWS.Debian file to list incompatible upstream changes

Axel Beckert abe at deuxchevaux.org
Mon Jun 29 23:13:27 UTC 2015


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository libmoo-perl.

commit 5aa68889e3d49a6a4e2b6d9368d6b11e778bdd8d
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Tue Jun 30 01:12:23 2015 +0200

    Add a NEWS.Debian file to list incompatible upstream changes
---
 debian/NEWS      | 26 ++++++++++++++++++++++++++
 debian/changelog |  1 +
 2 files changed, 27 insertions(+)

diff --git a/debian/NEWS b/debian/NEWS
new file mode 100644
index 0000000..08d9045
--- /dev/null
+++ b/debian/NEWS
@@ -0,0 +1,26 @@
+libmoo-perl (2.000001-1) UNRELEASED; urgency=low
+
+  Citing from upstream's Changes file:
+
+  * Incompatible Changes
+    - Fatal warnings and the other additional checks from the strictures
+      module will no longer be applied to modules using Moo or Moo::Role.  We
+      now only apply strict and (non-fatal) warnings, matching the behavior of
+      Moose.
+    - Classes without attributes used to store everything passed to ->new
+      in the object.  This has been fixed to not store anything in the object,
+      making it consistent with classes that had attributes.
+    - Moo will now pass __no_BUILD__ to parent constructors when inheriting
+      from a Moose or Class::Tiny class, to prevent them from calling BUILD
+      functions.  Moo calls the BUILD functions itself, which previously led
+      to them being called multiple times.
+    - Attempting to replace an existing constructor, or modify one that has
+      been used, will throw an error.  This includes adding attributes.
+      Previously, this would result in some attributes being silently ignored
+      by the constructor.
+    - If a class's @ISA is modified without using 'extends' in a way that
+      affects object construction, Moo will detect this and throw an error.
+      This can happen in code that uses ->load_components from
+      Class::C3::Componentised, which is common in DBIx::Class modules.
+
+ -- Axel Beckert <abe at debian.org>  Tue, 30 Jun 2015 01:03:28 +0200
diff --git a/debian/changelog b/debian/changelog
index 625603d..1eea582 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 libmoo-perl (2.000001-1) UNRELEASED; urgency=medium
 
   * Imported upstream version 2.000001
+    + Add a NEWS.Debian file to list incompatible upstream changes.
 
  -- Axel Beckert <abe at debian.org>  Tue, 30 Jun 2015 01:03:28 +0200
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmoo-perl.git



More information about the Pkg-perl-cvs-commits mailing list