Releases: go-goyave/goyave
Releases · go-goyave/goyave
Release v2.4.1
Bundle default config and language in executable to avoid needing to deploy $GOROOT/pkg/mod/github.com/!system-!glitch/goyave/
with the application.
Release v2.4.0
- Added template rendring.
- Fixed PostgreSQL options not working.
TestSuite.Middleware()
now has a more realistic behavior: the finalization step of the request life-cycle is now also executed. This may require your tests to be updated if those check the status code in the response.- Added status handlers.
Release v2.3.0
Added CORS support.
Release v2.2.1
- Added
domain
config entry. This entry is used for url generation, especially for the TLS redirect. - Don't show port in TLS redirect response if ports are standard (80 for HTTP, 443 for HTTPS).
Release v2.2.0
- Added testing API.
- Fixed links in documentation.
- Fixed
models
package in template project. (Changed tomodel
) - Added
database.ClearRegisteredModels
v2.1.0
filesystem.GetMIMEType
now detectscss
,js
,json
andjsonld
files based on their extension.- Added maintenance mode.
- Can be toggled at runtime.
- The server can be started in maintenance mode using the
maintenance
config option. (Defaults tofalse
)
- Added advanced array validation, with support for n-dimensional arrays.
- Malformed request messages can now be localized. (
malformed-request
andmalformed-json
entries inlocale.json
) - Modified the validator to allow manual validation.
Release v2.0.0
- Documentation and README improvements.
- In the configuration:
- The default value of
dbConnection
has been changed tonone
. - The default value of
dbAutoMigrate
has been changed tofalse
.
- The default value of
- Added request data accessors.
- Some refactoring and package renaming have been done to better respect the Go conventions.
- The
helpers
package have been renamed tohelper
- The
- The server now shuts down when it encounters an error.
- New
validation.GetFieldType
function. - Config and Lang are now protected with a
sync.RWMutex
to avoid data races in multi-threaded environments. - Greatly improve concurrency.
- Config can now be reloaded manually.
- Added the
Trim
middleware. goyave.Response
now implementshttp.ResponseWriter
.- All writing functions can now return an error.
- Added the
NativeHandler
compatibility layer. - Fixed a bug preventing the static resources handler to find
index.html
if a directory with a depth of one was requested without a trailing slash. - Added install scripts for the template project.
- Now panics when calling
Start()
while the server is already running.
First release
v1.0.0 v1.0.0: First release
0.0.0
Init