Skip to content

Releases: monadicstack/respond

v0.4.2

14 May 20:45
eea229b
Compare
Choose a tag to compare

The ContentReader interface now returns an io.ReadCloser instead of just an io.Reader so that the ability to close your stream of data is a bit more explicit.

v0.4.1

07 May 21:27
40c4f8c
Compare
Choose a tag to compare

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

04 May 20:59
ced9d99
Compare
Choose a tag to compare

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

13 Feb 14:41
4b2a399
Compare
Choose a tag to compare

No new features. Just updated all repo references after the transfer to the monadicstack organization.

v0.2.0

12 Jan 20:33
f5e61ac
Compare
Choose a tag to compare

Added Redirector interface to help clean up handlers that support redirects.

v0.1.0

31 Dec 21:48
5466789
Compare
Choose a tag to compare

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.