v0.5.0

Released: 2026-05-01 Tag: v0.5.0 Type: Minor — new feature (read-only app runtime accessors) PR: #38 — feat/issue-33-app-readonly-accessors

What Changed

app — Read-only runtime accessors

app.Application now exposes public read-only accessors:

cfg := application.GetConfig()               // config.Config (defensive snapshot)
v   := application.GetSecurityValidator()    // security.Validator or nil
ok  := application.IsSecurityReady()         // bool

Lifecycle semantics

Stage GetConfig() GetSecurityValidator() IsSecurityReady()
Pre-init zero-value nil false
UseConfig only live snapshot nil false
Post-UseServerSecurity live snapshot non-nil true

Immutability guarantee

GetConfig() returns a defensive snapshot — mutations to the returned value do not affect internal runtime state.

Compatibility

  • No breaking changes. Accessors are additive.