v0.8.15
CONFIG VALIDATOR FIX & CODE QUALITY
Fixed
- Config validator 500 errors in expert mode: Fixed
AttributeError: '_AsyncGeneratorContextManager' object has no attribute 'execute'by replacing theget_async_sessioncontext manager with the correctget_async_session_dependencyFastAPI dependency in the config-validator route, restoring motherboard (and all component) compatibility checks in expert mode. - Config validator integration test: Updated
test_config_validator_route_integration.pyto referenceget_async_session_dependencyafter the above fix so the dependency override resolves correctly. - Docstring contract compliance: Added missing
:paramand:return:tags to all functions ingit_helper.pyandlogger.pyflagged by the docstring contract check. - ESLint/TypeScript config: Updated
.eslintrc.jsandtsconfig.eslint.jsonto includenext.config.mjsin the linting scope. - Username availability validation: Fixed and cleaned up client-side username validation logic in
lib/user/validation.ts.
Changed
- Config validator route hardening: Added explicit error logging with full traceback to the config-validator endpoint to surface future failures without silent 500 responses.
- Frontend expert mode fetch logging: Removed debug
console.logstatements fromuseHardwareComponentfetch paths to reduce noise in production. - Hardware component model readability: Refactored thermal compound, VR headset, and webcam model definitions for improved consistency and readability.
- Startup utilities: Extended
startup_utils.pywith additional helpers and added test coverage for logger configuration and startup utility paths. - Email templates: Refreshed PocketBase password reset and verification email templates.
- Frontend dependency refresh: Updated
package-lock.jsonresolved dependency graph.