Releases: monadicstack/respond
v0.4.2
v0.4.1
Instead of implementing io.Reader
directly to initiate a raw file response, you now implement respond.ContentReader
which lets you return the raw data reader.
v0.4.0
Modified behavior of standard Ok()
, Created()
, etc helpers so that if they are fed an io.Reader()
they will treat those as raw byte responses rather than JSON responses. That's the only change, but it could potentially break backwards compatibility if you previously expected respond
to ignore your Read()
method.
v0.3.0
No new features. Just updated all repo references after the transfer to the monadicstack
organization.
v0.2.0
Added Redirector
interface to help clean up handlers that support redirects.
v0.1.0
The initial "stable" release of the library. It has the Responder
struct that contains all of the status-mapped helpers I planned to implement in the first swag as well as support for raw files and HTML. While I don't envision the API changing too much, this is being tagged as a pre-v1 so that you are aware that user feedback might result in a different overall design before I consider this truly ready for prime time.