Skip to content

Release v0.1.3

Choose a tag to compare

@sraj sraj released this 16 Jul 22:06

Full Changelog: v0.1.2...v0.1.3

Features

  • Go 1.22+ native routing via http.ServeMux
  • Dual path parameter syntax — both :param and {param} styles are supported interchangeably
  • Named routes & path constraints — typed URL params (kern.UintPathConstraint) and route lookup by name
  • Built-in authBearerAuth and BasicAuth middleware ship in core
  • Route-specific middleware — apply guards per route with AddConstraints(), no group nesting needed
  • Structured request bindingBind() / BindQuery() / BindForm() / BindHeader() with struct tags
  • File handling — multipart upload (SaveFile), download (DownloadFile), streaming with range support (StreamFile)
  • Conditional requests — built-in ETag, LastModified, If-None-Match / If-Modified-Since evaluation
  • Built-in test clientkern.NewTestClient(app) for handler tests without a real HTTP server
  • Context pooling for lower allocation pressure
  • Middleware chaining with standard func(http.Handler) http.Handler
  • Route groups for shared prefixes and middleware
  • Graceful shutdown options for production servers
  • Zero core dependencies