Breaking changes are marked with a ⚠️.
- ⚠️ testutil: removed the route registrer parameter from
NewTestServer
andNewTestServerWithOptions
- Redirect the default test server logger to
testing.T.Log()
- Added the new
util/session
package for business transaction management. - Validation: the email validator now converts the value to string instead of
mail.Address
to improve the experience with DTO conversion.mail.Address
was 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