Commit0fc4a48dRecorded10 Jul 2026Repositorysigil-web
Bump to 0.16.0: serve-file honors Range requests (206/416)
Message
serve-file passes a request's Range header to http-response/file (206 Partial Content / 416 Range Not Satisfiable) and advertises Accept-Ranges on full responses; make-static-handler threads the request through. Requires sigil-http ^0.18.0.
Changed
CHANGELOG.md | 25 +++++++++++++++++++++++++
package.sgl | 2 +-
2 files changed, 26 insertions(+), 1 deletion(-)Diff
CHANGELOG.mdadded
@@ -0,0 +1,25 @@
+1
# Changelog+2
+3
All notable changes to **sigil-web** are documented in this file.+4
+5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),+6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).+7
+8
## [0.16.0] - 2026-07-10+9
+10
### Added+11
+12
- `serve-file` honors a request's `Range:` header. Pass the request as an+13
optional second argument (`make-static-handler` now threads it through): a+14
satisfiable range yields `206 Partial Content`, an unsatisfiable one `416+15
Range Not Satisfiable`, served via `http-response/file`. Full-file responses+16
now advertise `Accept-Ranges: bytes`, so static assets support byte-range+17
seeking and resumable downloads. Existing single-argument `serve-file` callers+18
are unaffected.+19
+20
### Changed+21
+22
- Bumped the `sigil-http` dependency to `^0.18.0`, which provides+23
`http-response/file`'s `range:` keyword.+24
+25
<!-- Releases before 0.16.0 predate this changelog; see the git history. -->package.sglmodified
@@ -9,7 +9,7 @@
9
10
(package 11
name: "sigil-web"−12
version: "0.15.0"+12
version: "0.16.0" 13
sigil: "^0.17" 14
description: "Web application framework for Sigil" 15
url: "https://codeberg.org/sigil/sigil-web"