datastar-hs 1.1.0.1 → 1.1.0.2
raw patch · 3 files changed
+19/−5 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +10/−0
- README.md +5/−3
- datastar-hs.cabal +4/−2
CHANGELOG.md view
@@ -1,5 +1,15 @@ # Changelog +## 1.1.0.2++* Doc-only release: the package description now links to+ [`datastar-hs-zstd`](https://hackage.haskell.org/package/datastar-hs-zstd),+ which is on Hackage now that `zstd-0.1.4.0` ships the streaming+ `flushStream` FFI binding+ ([#3](https://github.com/starfederation/datastar-haskell/issues/3)).+ The hs-zstd `source-repository-package` pin is gone from `cabal.project`,+ and no system libzstd is needed: the `zstd` package bundles the C sources.+ ## 1.1.0.1 All changes contributed by [@sectore](https://github.com/sectore) — thanks!
README.md view
@@ -83,7 +83,7 @@ |---|---|---| | `datastar-hs-zlib` | `gzip`, `deflate` | zlib -- preinstalled on macOS; `zlib1g-dev` on Debian/Ubuntu, or build with the constraint `zlib +bundled-c-zlib` for no system library at all | | `datastar-hs-brotli` | `br` | `brew install brotli` / `apt-get install libbrotli-dev pkg-config` |-| `datastar-hs-zstd` | `zstd` | `brew install zstd` / `apt-get install libzstd-dev` -- not yet on Hackage, see below |+| `datastar-hs-zstd` | `zstd` | none -- the `zstd` package bundles the zstd C sources by default | Add one to `build-depends` and pass its compressors to `sseResponseWith` (or `sseResponseWithStrategy`) in preference order:@@ -135,8 +135,10 @@ ### zstd upstream package -We [added support for flushStream](https://github.com/starfederation/datastar-haskell/issues/3) to-hs-zstd; until we get a new release on hackage, we are pinning the github source using `cabal.project`.+Streaming compression needs `flushStream`, which we+[added](https://github.com/starfederation/datastar-haskell/issues/3) to+hs-zstd. It shipped in `zstd-0.1.4.0` on Hackage, so `datastar-hs-zstd`+requires `zstd >= 0.1.4`. ### zstd window size
datastar-hs.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: datastar-hs-version: 1.1.0.1+version: 1.1.0.2 synopsis: Haskell bindings for Datastar description: Server-side SDK for building real-time hypermedia applications with@@ -14,7 +14,9 @@ <https://hackage.haskell.org/package/datastar-hs-zlib datastar-hs-zlib> (gzip, deflate), <https://hackage.haskell.org/package/datastar-hs-brotli datastar-hs-brotli>- (br), and datastar-hs-zstd (zstd, not yet on Hackage).+ (br), and+ <https://hackage.haskell.org/package/datastar-hs-zstd datastar-hs-zstd>+ (zstd). homepage: https://github.com/starfederation/datastar-haskell bug-reports: https://github.com/starfederation/datastar-haskell/issues license: MIT