Skip to content

v1.8.0

Choose a tag to compare

@ecnepsnai ecnepsnai released this 26 Oct 03:30
· 41 commits to main since this release
v1.8.0
73c6623

This release contains breaking changes

  • Replaces the third-party HTTP router with a first-party router. No loss in functionality.
  • Improved static file serving with regards to cache and MIME control

Migration Notes

  • Serving static files: Previously you needed to include *filepath with the path, this is no longer needed.
  • Strict trailing slash: The router now strictly differentiates requests with and without a trailing slash.
  • Wildcard parameters: Wildcard parameter values no longer include a leading slash.
  • Request parameters: Request parameters are now stored in a map. The .ByName() method can be one-to-one replaced with a simple map key reference ["key"]