Hello community, here is the log from the commit of package ghc-yesod-form for openSUSE:Factory checked in at 2017-08-31 21:02:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-yesod-form (Old) and /work/SRC/openSUSE:Factory/.ghc-yesod-form.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-yesod-form" Thu Aug 31 21:02:08 2017 rev:8 rq:513547 version:1.4.13 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-yesod-form/ghc-yesod-form.changes 2017-06-04 01:59:37.105985606 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-yesod-form.new/ghc-yesod-form.changes 2017-08-31 21:02:08.683522842 +0200 @@ -1,0 +2,5 @@ +Thu Jul 27 14:05:38 UTC 2017 - psimons@suse.com + +- Update to version 1.4.13. + +------------------------------------------------------------------- Old: ---- yesod-form-1.4.12.tar.gz New: ---- yesod-form-1.4.13.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-yesod-form.spec ++++++ --- /var/tmp/diff_new_pack.Xt7C1F/_old 2017-08-31 21:02:09.587395846 +0200 +++ /var/tmp/diff_new_pack.Xt7C1F/_new 2017-08-31 21:02:09.587395846 +0200 @@ -19,7 +19,7 @@ %global pkg_name yesod-form %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.4.12 +Version: 1.4.13 Release: 0 Summary: Form handling support for Yesod Web Framework License: MIT ++++++ yesod-form-1.4.12.tar.gz -> yesod-form-1.4.13.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yesod-form-1.4.12/ChangeLog.md new/yesod-form-1.4.13/ChangeLog.md --- old/yesod-form-1.4.12/ChangeLog.md 2017-05-13 23:23:44.000000000 +0200 +++ new/yesod-form-1.4.13/ChangeLog.md 2017-07-20 12:41:52.000000000 +0200 @@ -1,3 +1,7 @@ +## 1.4.13 + +* Fixed `textareaField` `writeHtmlEscapedChar` trim "\r" + ## 1.4.12 * Password field does not remember its previous value diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yesod-form-1.4.12/Yesod/Form/Fields.hs new/yesod-form-1.4.13/Yesod/Form/Fields.hs --- old/yesod-form-1.4.12/Yesod/Form/Fields.hs 2017-04-12 09:57:39.000000000 +0200 +++ new/yesod-form-1.4.13/Yesod/Form/Fields.hs 2017-07-20 12:41:52.000000000 +0200 @@ -106,6 +106,10 @@ import Yesod.Persist.Core +#if !MIN_VERSION_base(4,8,0) +import Data.Monoid +#endif + defaultFormMessage :: FormMessage -> Text defaultFormMessage = englishFormMessage @@ -226,6 +230,7 @@ . unTextarea where -- Taken from blaze-builder and modified with newline handling. + writeHtmlEscapedChar '\r' = mempty writeHtmlEscapedChar '\n' = writeByteString "<br>" writeHtmlEscapedChar c = B.writeHtmlEscapedChar c diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yesod-form-1.4.12/yesod-form.cabal new/yesod-form-1.4.13/yesod-form.cabal --- old/yesod-form-1.4.12/yesod-form.cabal 2017-05-13 23:23:29.000000000 +0200 +++ new/yesod-form-1.4.13/yesod-form.cabal 2017-07-20 12:41:52.000000000 +0200 @@ -1,5 +1,5 @@ name: yesod-form -version: 1.4.12 +version: 1.4.13 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>