v5.1.0 release notes
- Validation:
- new validator
DoesntStartWith. - new validator
DoesntEndWith. - new validator
KeysIn.
- new validator
- Configuration: added a
Requiredflag for entries to preventnilvalues. - Compress middleware: the order of the
Encodersnow determines server-side priority, which will help chose an encoder when there are client priority ties. - Optimization: use a
sync.Poolfor requests and responses for a small performance improvement. util/httputil.ParseMultiValuesHeader:- The input header is now trimmed
- The function returns an empty slice if the input is empty
- Minor optimization