Skip to content

Releases: mobentum/kern

v1.0.2

Choose a tag to compare

@github-actions github-actions released this 30 Jul 19:46
a9e375e

Changelog

  • ecf2208 chore: update kern dependency to v1.0.1 in all extensions

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 30 Jul 19:03
ea5687d

Changelog

  • f4410ed chore: add goreleaser release automation
  • 603f167 refactor: standardize context key types and accessor naming

Release v1.0.0

Choose a tag to compare

@sraj sraj released this 30 Jul 09:08

What's Changed

  • Feat/params update by @sraj in #6
  • docs: update README with :param syntax, NewTestClient, xotel by @sraj in #7
  • Kxdb by @mobentum in #8
  • feat: add SetLogger/LoggerFromContext, inject enriched logger in midd… by @sraj in #9

Full Changelog: v0.1.3...v1.0.0

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

Release v0.1.2

Choose a tag to compare

@sraj sraj released this 16 Jul 22:05

Full Changelog: v0.1.1...v0.1.2

Release v0.1.1

Choose a tag to compare

@sraj sraj released this 16 Jul 22:05