0.1.0: Merge pull request #1 from TTWShell/for-public
Pre-release
Pre-release
Added
- Routing:
ZodiacAPIRouterwith automaticResponse[T]wrapping using Pydantic v2 native generics - Response: Standard API response model
Response[T]withcode,data,messagefields - Exceptions:
ZodiacExceptionhierarchy (NotFoundException,BadRequestException,ForbiddenException,UnauthorizedException,ConflictException) - Exception Handlers: Centralized handlers for
ZodiacException,RequestValidationError, and generic exceptions - Middleware:
TraceIDMiddlewarefor request tracing,AccessLogMiddlewarefor structured access logging - Logging:
setup_loguru()with JSON format support and Trace ID injection - Context:
trace_idcontext variable for cross-cutting request tracing - Config:
BaseAppSettingswith environment-based configuration using Pydantic Settings - Database:
DatabaseManagersingleton for async SQLAlchemy engine/session managementBaseSQLRepositorywith session context manager- SQLModel mixins:
IntIDMixin,UUIDMixin,SQLDateTimeMixin
- HTTP:
HttpClientasync wrapper around httpx with automatic Trace ID propagation - Pagination:
PageParamsrequest model andPagedResponse[T]response model - Schemas: Pydantic mixins:
IntIDSchemaMixin,UUIDSchemaMixin,DateTimeSchemaMixin - Benchmarks: Performance benchmarks for routing overhead and internal operations
- Documentation: MkDocs-based API reference and user guide