Changelog History
-
v0.2.0.5 Changes
June 17, 2020- ๐ Support GHC 8.10
-
v0.2.0.4 Changes
November 28, 2019- ๐ Support GHC 8.8
-
v0.2.0.3 Changes
January 03, 2018- ๐ป Inline the exception handling code. In
streaming-0.1
this was provided byexceptions
instances, but instreaming-0.2
these instances were removed. Rather than rely on the instances, I've just added the implementations privately.
- ๐ป Inline the exception handling code. In
-
v0.2.0.2 Changes
January 02, 2018- Increase upper-bound of
streaming
to allow for 0.2
- Increase upper-bound of
-
v0.2.0.1 Changes
July 24, 2017Increase upper bound of
base
. -
v0.2.0.0 Changes
February 03, 2017Correctly perform finalisation in
query
functions.The previous implementation would perform the necessary finalisation only if the stream was drained. Some handling was in-place such that exceptions wouldn't cause the stream to end prematurely, but this isn't enough. We now use
MonadResource
to register an action to drain the stream.๐ Users should now wrap calls using
query
withrunResourceT
:>>> runResourceT (S.mapM_ print (query c "SELECT * FROM t"))
Correctly deal with transactions in
stream
stream
requires a transaction in order to function. If there isn't a transaction open,stream
would create one, but if you manually calledcommit
โช orrollback
from within the stream, the internal state would become inconsistent. This would lead to confusing error messages.We now watch the transaction state as we pull items out from the stream, and inform the user if the internal state is not what we expected. Further more, cleanup actions (commit/rolling back the transaction) now only happen if there is still a transaction open.
-
v0.1.0
February 02, 2017 -
v0.1.0.0 Changes
February 02, 2017- ๐ First version. Released on an unsuspecting world. Mwahaha.