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

latest releases: v5.2.1, v5.2.0, v5.1.1...
pre-release8 months ago
  • Added new server options
    • Added config entry server.readHeaderTimeout which represents the amount of time allowed to read request headers.
    • Added Options.BaseContext, allowing to define the base context for the server.
    • Added Options.ConnContext, allowing to modify the context used for new client connections.
    • Added Options.ConnState, allowing to get notified when the client connection state changes.
    • Added Options.MaxHeaderBytes, which controls the maximum number of bytes the server will read parsing the request header's keys and values, including the request line.
  • Improvements on the embedded resources support:
    • Added a fsutil.Embed.Sub method, allowing to get sub filesystems for embed.FS.
    • fsutil.Embed now accepts fs.ReadDirFS instead of embed.FS
    • The lang package loads from root FS directory instead of forcing resources/lang, unless the FS implements fsutil.WorkingDirDS

Don't miss a new goyave release

NewReleases is sending notifications on new releases.