Changelog for io-classes-1.7.0.0
Revsion history of io-classes
1.7.0.0
Breaking changes
- Renamed
io-classes:io-classes-mtl
asio-classes:mtl
.
1.6.0.0
Breaking changes
strict-stm
,strict-mvar
andsi-timers
are now public sublibraries ofio-classes
package.- Moved
io-classes-mtl
toio-classes
as a public sublibrary.
1.5.0.0
Breaking changes
MonadST
depends onPrimMonad
.- Provide a default implementation of
withLiftST
. - Added
annotateIO
toMonadThrow
(only supported for ghc-9.10 or newer).
Non-breaking change
-
Add
writeTMVar
toMonadSTM
. -
strict-stm
,strict-mvar
andsi-timers
were moved toio-classes
as public sublibraries. You can import then in*.cabal
files with the following syntaxio-classes:strict-stm
orio-classes:{strict-stm, si-timers}
. See the Multiple public libraries subsection of Internal Libraries section in thecabal
documentation.Note: some time in the future we will deprecate
Hackage
packagesstrict-stm
,strict-mvar
andsi-timers
. If one will want to use the namespace for a nonio-classes
related packages please contact the maintainer.
1.4.1.0
Non-breaking changes
- New dependency on
primitive
package - New
stToIO
inMonadST
, which is simpler to use than the existingwithLiftST
, and depends on theprimitive
package'sPrimState
(#141).
1.4.0.0
Breaking changes
- Removed deprecated module
Control.Monad.Class.MonadVar
.
Non-breaking changes
- Fixed some module haddock typos.
1.3.1.0
Non-breaking changes
- Added
forkFinally
toMonadFork
.
1.3.0.0
io-sim-1.3.0.0
.
- Support
ghc-9.8
.
1.2.0.0
Non-breaking changes
- Add new
MonadInspectMVar
class with aninspectMVar
function for accessing anMVar
in an underlying monad (if applicable). This is mainly useful forio-sim
, since the underlying monad isST
.IO
has no underlying monad, so the provided instance forIO
defaultsinspectMVar
totryReadMVar
. - Add some Haddock documentation to
MonadDelay
1.1.0.0
Breaking changes
Control.Monad.Class.MonadMVar
is now deprecated in favour ofControl.Concurrent.Class.MonadMVar
.
Non breaking changes
- Fixed building haddocks with
ghc-8.10
.
1.0.0.1
Non breaking changes
- Support
ghc-9.6
.
1.0.0.0
Breaking changes
MonadMonotonicTime
morphed intoMonadMonotonicTimeNSec
which supportsgetMonotonicTimeNSec
from "base".MonadMonotonicTime
can be found in new packagesi-timers
.- A simplified
MonadTimer
which is using time in microseconds encoded asInt
rather thanDiffTime
. The previous interface can be found in the packagesi-timers
. - The non standard timer API is moved from
MonadTimer
to aMonadTimerFancy
type class which can be imported fromControl.Monad.Class.MonadTimer.NonStandard
module.
Non breaking changes
- Added
registerDelayCancellable
toControl.Monad.Class.MonadTimer
module.
0.6.0.0
0.5.0.0
- fixed
tryTakeMVarDefault
,takeMVarDefault
,putMVarDefault
andisEmptyMVarDefault
. - Implemented the proper
readMVar
semantics. - Added
tryReadMVar
toMonadMVar
type class. - Moved
MVarDefault
toio-sim
package.
0.4.0.0
- support
ghc-9.4
(except on Windows input-output-hk/io-sim#51)
0.3.0.0
- added missing
MArray
instance forWrappedSTM
- added monoid instances for
WrappedSTM
- added
threadStatus
method ofMonadFork
class - removed
linktTo
andlinkToOnly
- added
labelTChan
- added
flushTQueue
- split
MonadSTM
into submodules in a similar way that thestm
package is. - added
TChan
,TSem
andTArray
- added
interruptible
andallowInterrupt
toMonadMaskingState
type class. - added
unGetTQueue
&unGetTBQueue
- support
ghc-9.2
&ghc-9.4
- added
MonadMVar
0.2.0.0
- First version published on Hackage.
- added
lengthTBQueue
toMonadSTM
;io-classes
now depends onstm-2.5.0.0
.
0.1.0.0
- Initial version, not released on Hackage.