Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-unliftio for openSUSE:Factory checked in at 2021-09-10 23:41:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-unliftio (Old) and /work/SRC/openSUSE:Factory/.ghc-unliftio.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-unliftio" Fri Sep 10 23:41:17 2021 rev:20 rq:917506 version:0.2.20 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-unliftio/ghc-unliftio.changes 2021-08-25 20:58:21.761149024 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-unliftio.new.1899/ghc-unliftio.changes 2021-09-10 23:41:35.834577642 +0200 @@ -1,0 +2,8 @@ +Thu Sep 2 08:32:29 UTC 2021 - [email protected] + +- Update unliftio to version 0.2.20. + ## 0.2.20 + + * Add lifted `System.IO.openFile` (https://github.com/fpco/unliftio/pull/88) + +------------------------------------------------------------------- Old: ---- unliftio-0.2.19.tar.gz New: ---- unliftio-0.2.20.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-unliftio.spec ++++++ --- /var/tmp/diff_new_pack.amraAH/_old 2021-09-10 23:41:36.486578336 +0200 +++ /var/tmp/diff_new_pack.amraAH/_new 2021-09-10 23:41:36.486578336 +0200 @@ -19,7 +19,7 @@ %global pkg_name unliftio %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.2.19 +Version: 0.2.20 Release: 0 Summary: The MonadUnliftIO typeclass for unlifting monads to IO (batteries included) License: MIT ++++++ unliftio-0.2.19.tar.gz -> unliftio-0.2.20.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unliftio-0.2.19/ChangeLog.md new/unliftio-0.2.20/ChangeLog.md --- old/unliftio-0.2.19/ChangeLog.md 2021-07-20 18:37:40.000000000 +0200 +++ new/unliftio-0.2.20/ChangeLog.md 2021-08-30 04:43:30.000000000 +0200 @@ -1,5 +1,9 @@ # Changelog for unliftio +## 0.2.20 + +* Add lifted `System.IO.openFile` (https://github.com/fpco/unliftio/pull/88) + ## 0.2.19 * Add `Eq` instance for `StringException` (https://github.com/fpco/unliftio/pull/83) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unliftio-0.2.19/src/UnliftIO/IO.hs new/unliftio-0.2.20/src/UnliftIO/IO.hs --- old/unliftio-0.2.19/src/UnliftIO/IO.hs 2021-07-20 18:37:40.000000000 +0200 +++ new/unliftio-0.2.20/src/UnliftIO/IO.hs 2021-08-30 04:43:30.000000000 +0200 @@ -9,6 +9,7 @@ , IO.stderr , withFile , withBinaryFile + , openFile , hClose , hFlush , hFileSize @@ -51,6 +52,12 @@ withBinaryFile :: MonadUnliftIO m => FilePath -> IOMode -> (Handle -> m a) -> m a withBinaryFile fp mode inner = withRunInIO $ \run -> IO.withBinaryFile fp mode $ run . inner +-- | Lifted version of 'IO.openFile' +-- +-- @since 0.2.20 +openFile :: MonadIO m => FilePath -> IOMode -> m Handle +openFile fp = liftIO . IO.openFile fp + -- | Lifted version of 'IO.hClose' -- -- @since 0.2.1.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unliftio-0.2.19/unliftio.cabal new/unliftio-0.2.20/unliftio.cabal --- old/unliftio-0.2.19/unliftio.cabal 2021-07-20 18:37:45.000000000 +0200 +++ new/unliftio-0.2.20/unliftio.cabal 2021-08-30 04:43:35.000000000 +0200 @@ -3,11 +3,9 @@ -- This file has been generated from package.yaml by hpack version 0.34.4. -- -- see: https://github.com/sol/hpack --- --- hash: 58a862786103e0ea7ccdb111f5dc9c0088d8bdc74476f700df5b16ee6dc36a02 name: unliftio -version: 0.2.19 +version: 0.2.20 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
