github go-goyave/goyave v5.0.0-rc9
Pre-release v5.0.0-rc9

latest releases: v5.3.0, v5.2.1, v5.2.0...
pre-release5 months ago
  • Slog: the dev mode handler now uses a pointer for its mutex and shares the same mutex among all his clones.
  • Server.Stop() won't attempt to close sigChannel again if the server has already been stopped. This method can this be called several times safely now.
  • Router
    • Changed the subrouter matching so it doesn't work with prefix only. This will remove conflicts between two subrouters having a prefix starting with the same characters (e.g.: /test and /test-2 won't conflict anymore)
    • The router won't turn back and explore other branches if the subrouter matches but none of its routes do. This will fix some false matches.
    • Fixed / route defined at the main router being matched if a subrouter matches but none of its routes do and a trailing slash is present in the request URI.
  • Cleanup: removed some unused resources, outdated comments and updated incorrect documentation
  • Validation
    • Fixed a reflect error in ArrayValidator if the first element of the array is invalid (e.g.: nil)
    • Use error wrapping in Unique/Exists validators for better error stacktraces
    • Add a timeout on the SQL query executed by the ExistsArray validator.
    • Remove suffix [] from n-dimensional array elements field name in error messages.

Don't miss a new goyave release

NewReleases is sending notifications on new releases.