universum 0.5 → 0.5.1
raw patch · 3 files changed
+16/−11 lines, 3 files
Files
- CHANGES.md +14/−9
- src/Conv.hs +1/−1
- universum.cabal +1/−1
CHANGES.md view
@@ -1,3 +1,8 @@+0.5.1+=====++* Fix an infinite loop in `decodeUtf8` from `Text` to `ByteString.Lazy`.+ 0.5 ===== @@ -143,20 +148,20 @@ 0.1.7 ===== -* Exports monadic ``(>>)`` operator by default.-* Adds ``traceId`` and ``traceShowId`` functions.-* Exports``reader`` and ``state`` functions by default.+* Export monadic ``(>>)`` operator by default.+* Add ``traceId`` and ``traceShowId`` functions.+* Export``reader`` and ``state`` functions by default. * Export lifted ``throwIO`` and ``throwTo`` functions. 0.1.6 ===== -* Adds uncatchable panic exception throwing using Text message.-* Removes ``printf``-* Removes ``string-conv`` dependency so Stack build works without ``extra-deps``.-* Brings ``Callstack`` machinery in for GHC 8.x.-* Removes ``throw`` and ``assert`` from ``Control.Exception`` exports.-* Removes ``unsafeShiftL`` and ``unsafeShiftR`` from ``Data.Bits`` exports.+* Add uncatchable panic exception throwing using Text message.+* Remove ``printf``+* Remove ``string-conv`` dependency so Stack build works without ``extra-deps``.+* Bring ``Callstack`` machinery in for GHC 8.x.+* Remove ``throw`` and ``assert`` from ``Control.Exception`` exports.+* Remove ``unsafeShiftL`` and ``unsafeShiftR`` from ``Data.Bits`` exports. * Reexport ``throw`` as ``unsafeThrow`` via Unsafe module. * Hides all Show class functions. Only the Class itself is exported. Forbids custom instances that are not GHC derived. * Export`` encodeUtf8`` and ``decodeUtf8`` functions by default.
src/Conv.hs view
@@ -73,7 +73,7 @@ instance ConvertUtf8 T.Text LB.ByteString where encodeUtf8 = LB.fromStrict . T.encodeUtf8- decodeUtf8 = decodeUtf8+ decodeUtf8 = T.decodeUtf8With T.lenientDecode . LB.toStrict decodeUtf8Strict = T.decodeUtf8' . LB.toStrict instance ConvertUtf8 LT.Text LB.ByteString where
universum.cabal view
@@ -1,5 +1,5 @@ name: universum-version: 0.5+version: 0.5.1 synopsis: Custom prelude used in Serokell description: Custom prelude used in Serokell homepage: https://github.com/serokell/universum