Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-streaming-commons for 
openSUSE:Factory checked in at 2023-01-18 13:10:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-streaming-commons (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-streaming-commons.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-streaming-commons"

Wed Jan 18 13:10:43 2023 rev:26 rq:1059115 version:0.2.2.5

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-streaming-commons/ghc-streaming-commons.changes  
    2022-02-11 23:11:40.575339335 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-streaming-commons.new.32243/ghc-streaming-commons.changes
   2023-01-18 13:11:07.128920429 +0100
@@ -1,0 +2,8 @@
+Sun Oct 23 07:27:02 UTC 2022 - Peter Simons <[email protected]>
+
+- Update streaming-commons to version 0.2.2.5.
+  ## 0.2.2.5
+
+  * UTF-8 Decoder fails on trailing bytes 
[#71](https://github.com/fpco/streaming-commons/pull/71)
+
+-------------------------------------------------------------------

Old:
----
  streaming-commons-0.2.2.4.tar.gz

New:
----
  streaming-commons-0.2.2.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-streaming-commons.spec ++++++
--- /var/tmp/diff_new_pack.0oYxSL/_old  2023-01-18 13:11:08.092924165 +0100
+++ /var/tmp/diff_new_pack.0oYxSL/_new  2023-01-18 13:11:08.100924196 +0100
@@ -19,7 +19,7 @@
 %global pkg_name streaming-commons
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.2.2.4
+Version:        0.2.2.5
 Release:        0
 Summary:        Common lower-level functions needed by various streaming data 
libraries
 License:        MIT

++++++ streaming-commons-0.2.2.4.tar.gz -> streaming-commons-0.2.2.5.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/streaming-commons-0.2.2.4/ChangeLog.md 
new/streaming-commons-0.2.2.5/ChangeLog.md
--- old/streaming-commons-0.2.2.4/ChangeLog.md  2022-02-06 10:23:07.000000000 
+0100
+++ new/streaming-commons-0.2.2.5/ChangeLog.md  2022-10-23 09:23:32.000000000 
+0200
@@ -1,5 +1,9 @@
 # ChangeLog for streaming-commons
 
+## 0.2.2.5
+
+* UTF-8 Decoder fails on trailing bytes 
[#71](https://github.com/fpco/streaming-commons/pull/71)
+
 ## 0.2.2.4
 
 * Fix docstrings for text 2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/streaming-commons-0.2.2.4/Data/Streaming/Text.hs 
new/streaming-commons-0.2.2.5/Data/Streaming/Text.hs
--- old/streaming-commons-0.2.2.4/Data/Streaming/Text.hs        2022-02-06 
10:22:50.000000000 +0100
+++ new/streaming-commons-0.2.2.5/Data/Streaming/Text.hs        2022-10-23 
09:23:16.000000000 +0200
@@ -126,7 +126,11 @@
       -- Caught exception does not allow to reconstruct 'DecodeResultFailure',
       -- so delegating this to 'decodeUtf8Pure'
       Left (_ :: TE.UnicodeException) -> decodeUtf8Pure (prev <> curr)
-      Right (TE.Some decoded undecoded cont) -> DecodeResultSuccess decoded 
(go undecoded cont)
+      Right (TE.Some decoded undecoded cont)
+          -- An empty bytestring indicates end-of-input, if we still have 
undecoded bytes that
+          -- becomes a failure.
+          | B.null curr && not (B.null undecoded) -> DecodeResultFailure 
decoded undecoded
+          | otherwise -> DecodeResultSuccess decoded (go undecoded cont)
 #else
 decodeUtf8 = decodeChunk B.empty 0 0
  where
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/streaming-commons-0.2.2.4/streaming-commons.cabal 
new/streaming-commons-0.2.2.5/streaming-commons.cabal
--- old/streaming-commons-0.2.2.4/streaming-commons.cabal       2022-02-06 
10:23:13.000000000 +0100
+++ new/streaming-commons-0.2.2.5/streaming-commons.cabal       2022-10-23 
09:23:36.000000000 +0200
@@ -1,5 +1,5 @@
 name:                streaming-commons
-version:             0.2.2.4
+version:             0.2.2.5
 synopsis:            Common lower-level functions needed by various streaming 
data libraries
 description:         Provides low-dependency functionality commonly needed by 
various streaming data libraries, such as conduit and pipes.
 homepage:            https://github.com/fpco/streaming-commons
@@ -94,6 +94,8 @@
                   , network >= 2.4.0.0
                   , text
                   , zlib
+    build-tool-depends:
+        hspec-discover:hspec-discover
 
   if flag(use-bytestring-builder)
     build-depends:     bytestring < 0.10.2.0

Reply via email to