Skip to content

v0.1.7 - Bug Fixes, Test Suite & Automated CI/CD

Choose a tag to compare

@kappall kappall released this 30 Aug 08:01
· 1 commit to main since this release
Immutable release. Only release title and notes can be modified.

Highlights in this Release

Bug Fixes & Stability

  • StaticDef crash fix: Guarded build_spec() to safely ignore static route definitions (routes.static(...)) without raising AttributeError.
  • Tightened WebSocket detection: Replaced broad substring matching with strict path segment regex (r"(^|/)(ws|websocket)(/|$)") to ensure standard routes like /api/news are never falsely excluded.
  • Fixed NotAppKeyWarning: Replaced string application keys with modern, typed aiohttp.web.AppKey instances for full compatibility with aiohttp>=3.9.
  • Trailing slash redirect: Fixed /docs/ redirect behavior to preserve proper status codes.

Automated Testing & CI/CD

  • Full Test Suite (tests/): Added unit and integration tests covering @docs() decorator metadata, Pydantic v2 & dict schema extraction, OpenAPI spec generator, Swagger UI rendering, and async HTTP handlers.
  • GitHub Actions CI Matrix: Automated testing across Python 3.11, 3.12, and 3.13 using uv.
  • Automated PyPI Deployment: Integrated release workflow with test gating.

Documentation & Examples

  • Added runnable standalone examples in examples/ demonstrating both zero-dependency dict schemas and Pydantic v2 integrations.
  • Added comprehensive CONTRIBUTING.md guide with uv environment commands.

Full Changelog: https://github.com/kappall/aiohttp_autodocs/commits/main