go-wrap v2.0 Release Notes
Release Date: 2014-08-06 // over 9 years ago-
๐ฅ Breaking changes
Some adapters had some confusing namings around combinations of the words ๐ Handle(r) Serve(r) and Wrapper.
The following adapters were renamed, since there were confusing:
ServeWrapper => NextHandler ServeHandlerFunc => NextHandlerFunc
๐ The ServeHandler interface and the ServeHandleFunc were removed.
โ These changes affect the go-on/wrap-contrib and go-on/wrap-contrib-testing repositories which have been changed to be again compatible with wrap.
Apart from that not many users should be affected.
๐ New features
- Contexter interface for unified context sharing between middleware
- ๐ support for debugging
- ๐ improved documentation with examples
- response writer wrappers to help the creation of middlewares
- helpers to extract the original ResponseWriter out of a Contexter