Skip to content

v0.6.0 - Ormar Backend

Compare
Choose a tag to compare
@awtkns awtkns released this 26 Mar 18:38
· 243 commits to master since this release

🎉 Highlights

With the release of v0.6.0 fastapi-crudrouter now supports ormar as an async backend! When generating routes, the OrmarCRUDRouter will automatically tie into your database using your ormar models. To use it, simply pass your ormar database model as the schema.

OrmarCRUDRouter(
    schema=MyPydanticModel, 
    paginate=25
)

Check out the docs for more details on how to use the OrmarCRUDRouter.

✨ Features

  • Full Ormar Support @collerek #46
  • Better handling of database errors in the update route @sorXCode #48
  • Improved typing #46 #43
  • Black, Flake8 and Mypy linting #46
  • Additional Tests for nested models #40

🐛 Bug Fixes

  • Pagination issues when max limit was set to null @EthanHaid #42