feat(httpserver): promote to v1.0.2 — configurable ShutdownTimeout, bump deps to v1.0.1, go 1.26
Add Config.ShutdownTimeout (SERVER_SHUTDOWN_TIMEOUT, default 10s) so callers can configure the graceful-shutdown deadline without code changes. Previously hardcoded to 10 seconds. Bump launcher and logz from v0.9.0 to v1.0.1, update go directive from 1.25 to 1.26. API committed as stable. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
12
CHANGELOG.md
12
CHANGELOG.md
@@ -5,6 +5,17 @@ All notable changes to this module will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this module adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.0.2] - 2026-05-12
|
||||
|
||||
### Added
|
||||
|
||||
- `Config.ShutdownTimeout time.Duration` (`SERVER_SHUTDOWN_TIMEOUT`, default `10s`) — configures the graceful-shutdown deadline passed to `http.Server.Shutdown`. Previously hardcoded to 10 seconds; callers that serve long-running requests (uploads, streaming) or prefer a shorter fail-fast window can now set this per environment.
|
||||
|
||||
### Changed
|
||||
|
||||
- `launcher` and `logz` dependencies bumped from v0.9.0 to v1.0.1.
|
||||
- `go` directive updated from 1.25 to 1.26.
|
||||
|
||||
## [0.9.2] - 2026-03-25
|
||||
|
||||
### Fixed
|
||||
@@ -44,6 +55,7 @@ and this module adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.
|
||||
- No middleware is installed by default; the full middleware stack is composed explicitly via `WithMiddleware` at construction time, keeping the stack visible and ordering unambiguous in the application source
|
||||
- chi was chosen as the underlying router because it uses stdlib `http.Handler` throughout, making it fully compatible with `httpmw` middleware and `httputil` handler adapters without any wrapper code at the boundary
|
||||
|
||||
[1.0.2]: https://code.nochebuena.dev/go/httpserver/releases/tag/v1.0.2
|
||||
[0.9.2]: https://code.nochebuena.dev/go/httpserver/releases/tag/v0.9.2
|
||||
[0.9.1]: https://code.nochebuena.dev/go/httpserver/releases/tag/v0.9.1
|
||||
[0.9.0]: https://code.nochebuena.dev/go/httpserver/releases/tag/v0.9.0
|
||||
|
||||
Reference in New Issue
Block a user