1.6 KiB
1.6 KiB
Changelog
All notable changes to nx9-auth will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.3.0] - 2026-07-22
Added
- Unified Modular Runtime Lifecycle: Fully implemented runtime subsystem (
Application,ApplicationBuilder,AtomicRuntimeState,SignalManager,ShutdownCoordinator,WorkerManager,HookRegistry,RuntimeMetrics). - Axum HTTP Server Graceful Shutdown: Integrated HTTP listener lifecycle with Tokio signal handling (
SIGINTandSIGTERM). - Prioritized Shutdown Hooks: Extensible shutdown hook execution (
First,Normal,Last) with isolated failure handling. - Lock-Free State Machine: Deterministic, lock-free lifecycle state transitions (
Initializing->Starting->Running->Draining->StoppingWorkers->ExecutingHooks->ClosingResources->Stopped). - Comprehensive Integration Tests: Runtime lifecycle test suite verifying dependency assembly, hook order execution, and worker management.
Changed
- Refactored
run_serverentrypoint inmain.rsto construct and await theApplicationruntime lifecycle cleanly. - Updated database connection pool closing to execute during the
ClosingResourceslifecycle phase.
Fixed
- Fixed runtime completeness regression where
Application::start()returned immediately instead of serving HTTP requests. - Resolved database provider initialization lifecycle synchronization between CLI subcommands and server mode.