v0.2.0

Released: 2026-05-01 Tag: v0.2.0 Type: Minor — new feature (kebab-case config enforcement) PR: #34 — feat/2026-05-01-issue-29-config-viper-kebab-case

What Changed

config/viper — Kebab-case key enforcement

  • All YAML/TOML/JSON configuration file keys now require kebab-case.
  • Canonical keys: ttl-minutes, http-only, same-site, client-id, client-secret, auth-url, token-url, redirect-url.
  • CamelCase keys remain accepted for legacy compatibility only and will be removed in a future major version.
  • Docs index added.

Migration Notes

Update any config files using camelCase keys:

Old New
ttlMinutes ttl-minutes
httpOnly http-only
sameSite same-site
clientId client-id
clientSecret client-secret
authUrl auth-url
tokenUrl token-url
redirectUrl redirect-url

Compatibility

  • No breaking changes to Go API.
  • Config file key casing change is required for new behavior; legacy keys still parse.