blaze-builder 0.4.0.0 → 0.4.0.1
raw patch · 4 files changed
+29/−4 lines, 4 filesdep ~bytestringPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: bytestring
API changes (from Hackage documentation)
Files
- CHANGES +15/−0
- README.markdown +8/−0
- blaze-builder.cabal +5/−3
- tests/Tests.hs +1/−1
CHANGES view
@@ -1,3 +1,18 @@+* 0.4.0.1+ - Tightened the version constraints on the bytestring package for GHC 7.8++* 0.4.0.0+ - This is now a compatibility shim for the new bytestring builder. Most+ of the old internal modules are gone. See this blog post for more+ information:++ <http://blog.melding-monads.com/2015/02/12/announcing-blaze-builder-0-4/>++ - The 'Blaze.ByteString.Builder.Html.Utf8.fromHtmlEscaped*' functions now+ strip out any ASCII control characters present in their inputs. See+ <https://github.com/lpsmith/blaze-builder/issues/1> for more+ information.+ * 0.3.3.0 - exposed the 'Buffer' constructor to enable keeping around a pool of buffers.
README.markdown view
@@ -1,6 +1,9 @@ blaze-builder ============= +[![Continuous Integration status][status-png]][status]+[![Hackage page (downloads and API reference)][hackage-png]][hackage]+ This library allows to efficiently serialize Haskell values to lazy bytestrings with a large average chunk size. The large average chunk size allows to make good use of cache prefetching in later processing steps (e.g. compression) and@@ -28,3 +31,8 @@ primitive buffer manipulations as parts of a builder. We use this facility in the 'blaze-html' HTML templating library to allow for the efficient serialization of HTML escaped and UTF-8 encoded characters.++ [status-png]: https://api.travis-ci.org/lpsmith/blaze-builder.svg+ [status]: http://travis-ci.org/lpsmith/blaze-builder?branch=master+ [hackage-png]: http://img.shields.io/hackage/v/blaze-builder.svg+ [hackage]: http://hackage.haskell.org/package/blaze-builder
blaze-builder.cabal view
@@ -1,5 +1,5 @@ Name: blaze-builder-Version: 0.4.0.0+Version: 0.4.0.1 Synopsis: Efficient buffered output. Description:@@ -69,12 +69,14 @@ Blaze.ByteString.Builder.Internal.Write build-depends: base == 4.* ,- bytestring >= 0.9 && < 1.0, deepseq, text >= 0.10 && < 1.3 if impl(ghc < 7.8)- build-depends: bytestring-builder+ build-depends: bytestring >= 0.9 && < 1.0,+ bytestring-builder+ else+ build-depends: bytestring >= 0.10.4 && < 1.0 test-suite test type: exitcode-stdio-1.0
tests/Tests.hs view
@@ -105,7 +105,7 @@ instance Arbitrary Write where arbitrary = mconcat . map singleWrite <$> arbitrary where- singleWrite (Left bs) = writeByteString (LB.toStrict bs)+ singleWrite (Left bs) = writeByteString (mconcat (LB.toChunks bs)) singleWrite (Right w) = writeWord8 w instance Arbitrary LB.ByteString where