Hello community,

here is the log from the commit of package ghc-unliftio for openSUSE:Factory 
checked in at 2019-06-12 13:18:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-unliftio (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-unliftio.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-unliftio"

Wed Jun 12 13:18:57 2019 rev:7 rq:709206 version:0.2.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-unliftio/ghc-unliftio.changes        
2019-01-25 22:43:39.475206564 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-unliftio.new.4811/ghc-unliftio.changes      
2019-06-12 13:18:58.240560658 +0200
@@ -1,0 +2,9 @@
+Sat Jun  8 02:02:34 UTC 2019 - [email protected]
+
+- Update unliftio to version 0.2.11.
+  ## 0.2.11
+
+  * Deprecate `forkWithUnmask` in favor of the newly added `forkIOWithUnmask` 
to
+    improve consistency. [https://github.com/fpco/unliftio/issues/44]
+
+-------------------------------------------------------------------

Old:
----
  unliftio-0.2.10.tar.gz

New:
----
  unliftio-0.2.11.tar.gz

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

Other differences:
------------------
++++++ ghc-unliftio.spec ++++++
--- /var/tmp/diff_new_pack.2Ssk1I/_old  2019-06-12 13:18:59.356560148 +0200
+++ /var/tmp/diff_new_pack.2Ssk1I/_new  2019-06-12 13:18:59.356560148 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-unliftio
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %global pkg_name unliftio
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.2.10
+Version:        0.2.11
 Release:        0
 Summary:        The MonadUnliftIO typeclass for unlifting monads to IO 
(batteries included)
 License:        MIT

++++++ unliftio-0.2.10.tar.gz -> unliftio-0.2.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.10/ChangeLog.md 
new/unliftio-0.2.11/ChangeLog.md
--- old/unliftio-0.2.10/ChangeLog.md    2018-12-30 13:46:30.000000000 +0100
+++ new/unliftio-0.2.11/ChangeLog.md    2019-06-07 12:37:42.000000000 +0200
@@ -1,5 +1,10 @@
 # Changelog for unliftio
 
+## 0.2.11
+
+* Deprecate `forkWithUnmask` in favor of the newly added `forkIOWithUnmask` to
+  improve consistency. [https://github.com/fpco/unliftio/issues/44]
+
 ## 0.2.10
 
 * Add pooling related functions for unliftio
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.10/src/UnliftIO/Concurrent.hs 
new/unliftio-0.2.11/src/UnliftIO/Concurrent.hs
--- old/unliftio-0.2.10/src/UnliftIO/Concurrent.hs      2018-01-02 
17:25:04.000000000 +0100
+++ new/unliftio-0.2.11/src/UnliftIO/Concurrent.hs      2019-06-07 
12:37:42.000000000 +0200
@@ -11,7 +11,7 @@
     ThreadId,
 
     -- * Basic concurrency operations
-    myThreadId, forkIO, forkWithUnmask, forkFinally, killThread, throwTo,
+    myThreadId, forkIO, forkWithUnmask, forkIOWithUnmask,  forkFinally, 
killThread, throwTo,
 
     -- ** Threads with affinity
     forkOn, forkOnWithUnmask, getNumCapabilities, setNumCapabilities,
@@ -60,11 +60,20 @@
 
 -- | Unlifted version of 'C.forkIOWithUnmask'.
 --
+-- @since 0.2.11
+forkIOWithUnmask :: MonadUnliftIO m => ((forall a. m a -> m a) -> m ()) -> m 
ThreadId
+forkIOWithUnmask m =
+  withRunInIO $ \run -> C.forkIOWithUnmask $ \unmask -> run $ m $ liftIO . 
unmask . run
+{-# INLINABLE forkIOWithUnmask #-}
+
+-- | Please use 'forkIOWithUnmask' instead. This function has been deprecated
+-- in release 0.2.11 and will be removed in the next major release.
+--
 -- @since 0.1.1.0
 forkWithUnmask :: MonadUnliftIO m => ((forall a. m a -> m a) -> m ()) -> m 
ThreadId
-forkWithUnmask m =
-  withRunInIO $ \run -> C.forkIOWithUnmask $ \unmask -> run $ m $ liftIO . 
unmask . run
+forkWithUnmask = forkIOWithUnmask
 {-# INLINABLE forkWithUnmask #-}
+{-# DEPRECATED forkWithUnmask "forkWithUnmask has been renamed to 
forkIOWithUnmask" #-}
 
 -- | Unlifted version of 'C.forkFinally'.
 --
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.10/unliftio.cabal 
new/unliftio-0.2.11/unliftio.cabal
--- old/unliftio-0.2.10/unliftio.cabal  2018-12-30 13:51:55.000000000 +0100
+++ new/unliftio-0.2.11/unliftio.cabal  2019-06-07 12:40:40.000000000 +0200
@@ -4,10 +4,10 @@
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 806905923ede98dbf20fe24ac95d14b92b4a62626183173c24b86850dc5beada
+-- hash: 9b54d473debcf0958351a2c8a7924ed9a8d3504243c348545109ffe72b005683
 
 name:           unliftio
-version:        0.2.10
+version:        0.2.11
 synopsis:       The MonadUnliftIO typeclass for unlifting monads to IO 
(batteries included)
 description:    Please see the documentation and README at 
<https://www.stackage.org/package/unliftio>
 category:       Control


Reply via email to