Skip to content

v0.1.3 — Add multi-ORM support, router.serve() zero-config API

Choose a tag to compare

@hoaxnerd hoaxnerd released this 10 Mar 19:15
· 2 commits to main since this release
  • Add Tortoise ORM adapter: session-less CRUD, Model.describe() introspection,
    17 field type mappings
  • Add SQLModel adapter: extends SQLAlchemy with Pydantic metadata enrichment
  • Add Beanie adapter (MongoDB): session-less CRUD, Pydantic model_fields
    introspection, mongomock-motor testing support
  • Expand SQLAlchemy type map from 14 to 80+ entries (PostgreSQL, MySQL,
    MSSQL, Oracle dialect types)
  • Expand FIELD_TYPE_MAP with 9 new normalized types (duration, email, url,
    slug, ip, choice, list, dict, binary)
  • Add adapter contract test suite shared across all ORMs
  • Add serve() method to BaseRouter: auto-generates serializer, viewset,
    and routes from any ORM model in one line
  • Auto-infer URL prefix from model name (Author → authors, BookReview → book-reviews)
  • Auto-detect PK type (string for MongoDB ObjectId)
  • Support all viewset options: fields, exclude, readonly, pagination,
    filtering, search, ordering, permissions, auth, throttling
  • Add 557 framework tests (+35 serve, adapter contract tests, type mapping tests)
  • Add 183 example app tests across all four ORMs