mirror of
https://github.com/pgsty/minio.git
synced 2026-09-18 08:18:27 +03:00
1.2 KiB
1.2 KiB
Change Log
ATTN: This project uses semantic versioning.
Unreleased
Added
Recovery.ErrorHandlerFuncfor custom error handling during recovery
Fixed
Written()correct returnsfalseif no response header has been written
Changed
- Set default status to
0in the case that no handler writes status -- was previously200(in 0.2.0, before that it was0so this reestablishes that behavior) - Catch
panics thrown by callbacks provided to theRecoveryhandler
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
Recoveryhandler was bumped to 8k Negroni.UseFuncto push another handler onto the chain
Changed
- Set the status before calling
beforeFuncsso the information is available to them - Set default status to
200in the case that no handler writes status -- was previously0 - Panic if
nilhandler is given tonegroni.Use
0.1.0 - 2013-07-22
Added
- Initial implementation.