Hello community,

here is the log from the commit of package ghc-resourcet for openSUSE:Factory 
checked in at 2020-07-09 13:19:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-resourcet (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-resourcet.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-resourcet"

Thu Jul  9 13:19:33 2020 rev:24 rq:819587 version:1.2.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-resourcet/ghc-resourcet.changes      
2020-06-19 17:17:40.162930155 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-resourcet.new.3060/ghc-resourcet.changes    
2020-07-09 13:20:00.973392618 +0200
@@ -1,0 +2,8 @@
+Fri Jun 26 02:00:26 UTC 2020 - psim...@suse.com
+
+- Update resourcet to version 1.2.4.2.
+  ## 1.2.4.2
+
+  * Mask exceptions in `Acquire` allocation action
+
+-------------------------------------------------------------------

Old:
----
  resourcet-1.2.4.1.tar.gz

New:
----
  resourcet-1.2.4.2.tar.gz

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

Other differences:
------------------
++++++ ghc-resourcet.spec ++++++
--- /var/tmp/diff_new_pack.9RryBA/_old  2020-07-09 13:20:02.529397535 +0200
+++ /var/tmp/diff_new_pack.9RryBA/_new  2020-07-09 13:20:02.533397548 +0200
@@ -19,7 +19,7 @@
 %global pkg_name resourcet
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.2.4.1
+Version:        1.2.4.2
 Release:        0
 Summary:        Deterministic allocation and freeing of scarce resources
 License:        BSD-3-Clause

++++++ resourcet-1.2.4.1.tar.gz -> resourcet-1.2.4.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/resourcet-1.2.4.1/ChangeLog.md 
new/resourcet-1.2.4.2/ChangeLog.md
--- old/resourcet-1.2.4.1/ChangeLog.md  2020-06-07 14:21:11.000000000 +0200
+++ new/resourcet-1.2.4.2/ChangeLog.md  2020-06-25 15:46:35.000000000 +0200
@@ -1,5 +1,9 @@
 # ChangeLog for resourcet
 
+## 1.2.4.2
+
+* Mask exceptions in `Acquire` allocation action
+
 ## 1.2.4.1
 
 * Document risk of using `forkIO` within a `ResourceT` 
[#441](https://github.com/snoyberg/conduit/pull/441)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/resourcet-1.2.4.1/Data/Acquire/Internal.hs 
new/resourcet-1.2.4.2/Data/Acquire/Internal.hs
--- old/resourcet-1.2.4.1/Data/Acquire/Internal.hs      2020-03-19 
10:55:51.000000000 +0100
+++ new/resourcet-1.2.4.2/Data/Acquire/Internal.hs      2020-06-25 
15:46:35.000000000 +0200
@@ -70,8 +70,8 @@
 mkAcquire :: IO a -- ^ acquire the resource
           -> (a -> IO ()) -- ^ free the resource
           -> Acquire a
-mkAcquire create free = Acquire $ \restore -> do
-    x <- restore create
+mkAcquire create free = Acquire $ \_ -> do
+    x <- create
     return $! Allocated x (const $ free x)
 
 -- | Same as 'mkAcquire', but the cleanup function will be informed of /how/
@@ -83,8 +83,8 @@
     :: IO a -- ^ acquire the resource
     -> (a -> ReleaseType -> IO ()) -- ^ free the resource
     -> Acquire a
-mkAcquireType create free = Acquire $ \restore -> do
-    x <- restore create
+mkAcquireType create free = Acquire $ \_ -> do
+    x <- create
     return $! Allocated x (free x)
 
 -- | Allocate the given resource and provide it to the provided function. The
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/resourcet-1.2.4.1/resourcet.cabal 
new/resourcet-1.2.4.2/resourcet.cabal
--- old/resourcet-1.2.4.1/resourcet.cabal       2020-06-07 18:00:55.000000000 
+0200
+++ new/resourcet-1.2.4.2/resourcet.cabal       2020-06-25 15:46:35.000000000 
+0200
@@ -1,5 +1,5 @@
 Name:                resourcet
-Version:             1.2.4.1
+Version:             1.2.4.2
 Synopsis:            Deterministic allocation and freeing of scarce resources.
 description:         Hackage documentation generation is not reliable. For up 
to date documentation, please see: <http://www.stackage.org/package/resourcet>.
 License:             BSD3


Reply via email to