Releases: mobentum/kern
Releases · mobentum/kern
Release list
v1.0.2
v1.0.1
Release v1.0.0
Release v0.1.3
Full Changelog: v0.1.2...v0.1.3
Features
- Go 1.22+ native routing via
http.ServeMux - Dual path parameter syntax — both
:paramand{param}styles are supported interchangeably - Named routes & path constraints — typed URL params (
kern.UintPathConstraint) and route lookup by name - Built-in auth —
BearerAuthandBasicAuthmiddleware ship in core - Route-specific middleware — apply guards per route with
AddConstraints(), no group nesting needed - Structured request binding —
Bind()/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-Sinceevaluation - Built-in test client —
kern.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
Release v0.1.2
Release v0.1.1
Full Changelog: https://github.com/mobentum/kern/commits/v0.1.1