For 3rd parties building binary packages, and for build consistency in general, it is very helpful to have the same set of dependencies at any time the product is built. See [tools/godep](https://github.com/tools/godep) for further details.
1.3 KiB
1.3 KiB
Change Log
ATTN: This project uses semantic versioning.
Unreleased
Added
Recovery.ErrorHandlerFunc
for custom error handling during recoveryWith()
helper for building a newNegroni
struct chaining handlers from existingNegroni
structs
Fixed
Written()
correct returnsfalse
if no response header has been written
Changed
- Set default status to
0
in the case that no handler writes status -- was previously200
(in 0.2.0, before that it was0
so this reestablishes that behavior) - Catch
panic
s thrown by callbacks provided to theRecovery
handler
0.2.0 - 2016-05-10
Added
- Support for variadic handlers in
New()
- Added
Negroni.Handlers()
to fetch all of the handlers for a given chain - Allowed size in
Recovery
handler was bumped to 8k Negroni.UseFunc
to push another handler onto the chain
Changed
- Set the status before calling
beforeFuncs
so the information is available to them - Set default status to
200
in the case that no handler writes status -- was previously0
- Panic if
nil
handler is given tonegroni.Use
0.1.0 - 2013-07-22
Added
- Initial implementation.