- Added support for response and chained writer flushing. (#215 #218)
- Added support for the
clickhouse
database dialect. (by @AidanKenney in #219, #195) - Updated the
UniqueArray
/ExistsArray
validators to support ClickHouse. ((by @AidanKenney) - Changed the default status handler for code
400 Bad Request
to the newgoyave.ParseErrorStatusHandler
. This status handler's behavior is identical to the previous one except it returns explicit error messages in the response when the parse middleware fails to parse a user's request. (by @BowlOfSoup in #217, #216) - Added
lang.Default
global variable, which contains the builtin defaulten-US
language. (#214 #213) - Fixed a panic if no
Language
is given in thevalidation.Options
when manually validating. Instead,lang.Default
will be used. (#214 #213) - Added deflate, lzw, br and zstd encoders for the compress middleware. (by @AidanKenney in #220, #197, #198, #199, #200)
New Contributors
- @AidanKenney made their first contribution in #219
Full Changelog: v5.1.1...v5.2.0