Releases: go-goyave/goyave
Releases · go-goyave/goyave
Release v4.4.6
- The recovery middleware always gathers the stacktrace, even if debugging is not enabled. This will help getting more information from applications deployed in production and using error tracking platforms.
Release v4.4.5
- Fixed a compilation error when using the latest version of Gorm.
Release v4.4.4
- Fixed an issue in validation removing the parent element of non-nullable elements from the body when the parent didn't have the expected type.
Release v4.4.3
- Removed usage of
io/ioutil
as it is deprecated. - Fixed the validation error message for the "in" rule when used on array elements.
Release v4.4.2
- "object" validation rule now also accepts JSON strings. This is useful when you expect an object but the field is given via a query param.
Release v4.4.1
- In debug mode,
reponse.Error()
doesn't override previously defined status anymore. TestSuite.RunServer
now clears shutdown hooks too.
Release v4.4.0
- Added
validation.ValidateWithExtra
. - The validation middleware now provides the
*goyave.Request
to validation rules as an extra.
Release v4.3.0
- Added post validation hooks
Release v4.2.1
- Fixed the test
TestClearDatabaseView
that was failing if run multiple times. - Fixed a validation crash when a nullable field doesn't pass validation.
Release v4.2.0
- Added
database.IView
- Don't force the
GOYAVE_ENV
to betest
inTestSuite
. Only sets it totest
if theGOYAVE_ENV
environment variable is not already set.