Breaking changes are marked with a ⚠️.
- ⚠️ testutil: removed the route registrer parameter from
NewTestServerandNewTestServerWithOptions - Redirect the default test server logger to
testing.T.Log() - Added the new
util/sessionpackage for business transaction management. - Validation: the email validator now converts the value to string instead of
mail.Addressto improve the experience with DTO conversion.mail.Addresswas serialized as a struct instead of a string. - Paginator: the page info query and the actual query are now executed in a transaction.
- ⚠️ Paginator:
Find()andUpdatePageInfo()now return an error instead ofgorm.DB