Bug Fixes
Timeout/TimeoutWithConfig— data race when slow handler wrote concurrently with timeout response. Fixed with atomictimeoutWriter.Routes()— root route/was returned as empty string. Now correct.Routes()— non-deterministic order. Now sorted by path, then method.BodyLimit— chunked over-limit body returned 500 instead of 413. Now consistently 413.
New Features
c.Accepted(v)— 202 response helper for async / queued jobsc.QueryFloat64(name)— typed float query paramc.GetFloat64(key)— typed float store gettermiddleware.Health(path)— zero-config health check endpoint, bypasses all other middlewaremiddleware.HealthWithConfig(cfg)— configurable variant with custom path and handlermarten.NewCtx(w, r)— public context constructor for custom middleware
Tests
355+ test cases, all passing with -race.
Full changelog: https://github.com/gomarten/marten/blob/main/CHANGELOG.md