v0.1.4
Highlights
hawkapi doctor— new one-shot health-check CLI (18 rules across security, observability, performance, correctness, deps). Human + JSON output,--severityfilter, exit codes 0/1/2. See docs/guide/doctor.md.- Trivial-route fast path — routes without DI / deps / permissions / background / response_model / deprecation / per-route middleware now bypass the general execution path and dispatch straight to the handler. Local benchmark: plaintext 148 k → ~162 k req/s (≥ 8 %), targeted at the #1 plaintext slot vs BlackSheep.
- uvloop-by-default in
hawkapi dev(when installed).--no-uvloopto opt out. - mypyc expansion —
routing/router.pyanddi/resolver.pyadded to compiled hot modules. - Using HawkAPI? badge — new
docs/assets/hawk-icon.svg+ "Using HawkAPI?" README section with copy-paste Markdown/reStructuredText snippets for downstream projects (dynamic PyPI version badge). - Build reliability —
mypy/setuptools/msgspecadded tobuild-system.requires;[tool.mypy]withfollow_imports = silentscoped type-check to compiled modules; license declaration switched to PEP 621 table form for cp312 pip compatibility; cibuildwheel smoke-test simplified to import check.
Full changelog: https://github.com/ashimov/HawkAPI/blob/v0.1.4/CHANGELOG.md