What's Changed
- middleware: add Discard method to WrapResponseWriter by @patrislav in https://github.com/go-chi/chi/pull/926
- Adds
Discard()method to themiddleware.WrapResponseWriterinterface. This is technically an API breaking change. However after some discussion at https://github.com/go-chi/chi/pull/926#discussion_r1658333481, we decided to move forward, and release as minor version, as we don't expect anyone to rely on this interface / implement it externally.
- Adds
New Contributors
- @patrislav made their first contribution in https://github.com/go-chi/chi/pull/926
Full Changelog: https://github.com/go-chi/chi/compare/v5.0.14...v5.1.0