AtlatestRepositorysigil-web
1# Changelog
2
3All notable changes to **sigil-web** are documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8## [0.16.1] - 2026-07-10
9
10### Fixed
12- Live-stream SSE endpoints (`live-routes`) no longer return `500 Internal
13 Server Error` with `car: expected pair` when a client connects.
14 `stream-events-handler` now passes the broadcast handler (`identity`)
15 explicitly to `http-response/sse-broadcast` instead of relying on its default.
16 The stream hub carries pre-formatted SSE strings, so `identity` is the correct
17 handler; passing it explicitly keeps `GET` on a live-stream endpoint working
18 across every `sigil-http` release, including ones that type the broadcast
19 handler as a required positional argument.
21## [0.16.0] - 2026-07-10
23### Added
25- `serve-file` honors a request's `Range:` header. Pass the request as an
26 optional second argument (`make-static-handler` now threads it through): a
27 satisfiable range yields `206 Partial Content`, an unsatisfiable one `416
28 Range Not Satisfiable`, served via `http-response/file`. Full-file responses
29 now advertise `Accept-Ranges: bytes`, so static assets support byte-range
30 seeking and resumable downloads. Existing single-argument `serve-file` callers
31 are unaffected.
33### Changed
35- Bumped the `sigil-http` dependency to `^0.18.0`, which provides
36 `http-response/file`'s `range:` keyword.
38<!-- Releases before 0.16.0 predate this changelog; see the git history. -->