Changelog for io-classes-1.8.0.1
Revsion history of io-classes
1.8.0.1
- Added support for
ghc-9.2.
1.8.0.0
Breaking changes
- Provided
MonadTraceMVar - Renamed
InspectMonadtoInspectMonadSTM - Added
threadLabeltoMonadThread - Added
MonadLabelledMVarclass. - Added
labelMVartoControl.Concurrent.Class.MonadMVar.Strict - Added
debugTraceTVar,debugTraceTMVar,debugTraceTVarIO,debugTraceTMVarIOforShow-based tracing. MonadEvaluateis not a supper-class ofMonadThrowanymore.- Moved all
MonadMaskingStatemethods toMonadMask.MonadMaskingStateis available but deprecated, it will be removed in one of the future releases. io-classes:mtlinstances support the extendedMonadMaskinstance.
Non-breaking changes
- Added monad transformer instances for
MonadInspectSTM&MonadTraceSTMtype classes. - Support ghc-9.12
1.7.0.0
Breaking changes
- Renamed
io-classes:io-classes-mtlasio-classes:mtl.
1.6.0.0
Breaking changes
strict-stm,strict-mvarandsi-timersare now public sublibraries ofio-classespackage.- Moved
io-classes-mtltoio-classesas a public sublibrary.
1.5.0.0
Breaking changes
MonadSTdepends onPrimMonad.- Provide a default implementation of
withLiftST. - Added
annotateIOtoMonadThrow(only supported for ghc-9.10 or newer).
Non-breaking change
-
Add
writeTMVartoMonadSTM. -
strict-stm,strict-mvarandsi-timerswere moved toio-classesas public sublibraries. You can import then in*.cabalfiles with the following syntaxio-classes:strict-stmorio-classes:{strict-stm, si-timers}. See the Multiple public libraries subsection of Internal Libraries section in thecabaldocumentation.Note: some time in the future we will deprecate
Hackagepackagesstrict-stm,strict-mvarandsi-timers. If one will want to use the namespace for a nonio-classesrelated packages please contact the maintainer.
1.4.1.0
Non-breaking changes
- New dependency on
primitivepackage - New
stToIOinMonadST, which is simpler to use than the existingwithLiftST, and depends on theprimitivepackage'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
forkFinallytoMonadFork.
1.3.0.0
io-sim-1.3.0.0.
- Support
ghc-9.8.
1.2.0.0
Non-breaking changes
- Add new
MonadInspectMVarclass with aninspectMVarfunction for accessing anMVarin an underlying monad (if applicable). This is mainly useful forio-sim, since the underlying monad isST.IOhas no underlying monad, so the provided instance forIOdefaultsinspectMVartotryReadMVar. - Add some Haddock documentation to
MonadDelay
1.1.0.0
Breaking changes
Control.Monad.Class.MonadMVaris 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
MonadMonotonicTimemorphed intoMonadMonotonicTimeNSecwhich supportsgetMonotonicTimeNSecfrom "base".MonadMonotonicTimecan be found in new packagesi-timers.- A simplified
MonadTimerwhich is using time in microseconds encoded asIntrather thanDiffTime. The previous interface can be found in the packagesi-timers. - The non standard timer API is moved from
MonadTimerto aMonadTimerFancytype class which can be imported fromControl.Monad.Class.MonadTimer.NonStandardmodule.
Non breaking changes
- Added
registerDelayCancellabletoControl.Monad.Class.MonadTimermodule.
0.6.0.0
0.5.0.0
- fixed
tryTakeMVarDefault,takeMVarDefault,putMVarDefaultandisEmptyMVarDefault. - Implemented the proper
readMVarsemantics. - Added
tryReadMVartoMonadMVartype class. - Moved
MVarDefaulttoio-simpackage.
0.4.0.0
- support
ghc-9.4(except on Windows input-output-hk/io-sim#51)
0.3.0.0
- added missing
MArrayinstance forWrappedSTM - added monoid instances for
WrappedSTM - added
threadStatusmethod ofMonadForkclass - removed
linktToandlinkToOnly - added
labelTChan - added
flushTQueue - split
MonadSTMinto submodules in a similar way that thestmpackage is. - added
TChan,TSemandTArray - added
interruptibleandallowInterrupttoMonadMaskingStatetype class. - added
unGetTQueue&unGetTBQueue - support
ghc-9.2&ghc-9.4 - added
MonadMVar
0.2.0.0
- First version published on Hackage.
- added
lengthTBQueuetoMonadSTM;io-classesnow depends onstm-2.5.0.0.
0.1.0.0
- Initial version, not released on Hackage.