Releases: mdconaway/fastapi-cruddy-framework
Releases · mdconaway/fastapi-cruddy-framework
Release 1.10.2
Release: 1.10.1
- Fix README
- Shim openapi json 'where' to be compatible with https://github.com/OpenAPITools
Release 1.10.0
- Update sqlmodel to 0.0.21
- Update internal functions to handle native UUIDs
Release 1.9.2
- Relax
Repositoryreturn types to allow user space typing
Release 1.9.1
- Upgrade base sqlmodel version to 0.0.19
Release 1.9.0
- Adds support for polymorphic relationships, which do not have directly associated foreign keys.
Release 1.8.0
- Adds new exception
CruddyNoMatchingRowException - Raises
CruddyNoMatchingRowExceptionwhenever a CRUD operation that looks completely valid based on model validation unexpectedly fails on the database side of the transaction. This is typically due to row-level access control policies implemented in languages likeplpgsql. - Added example function to the example sever which adds a global funnel to catch all
CruddyNoMatchingRowExceptions and return a 404.
Release 1.7.2
- Removes
TaskGroupusage throughout the library. - Updates all
AbstractRepositoryfunctions to only ever claim 1 DB session at a time. This prevents session deadlock under massive load.
Release 1.7.1
- Adds a fix to pass the async
sessionobject to the new DB session hooks in addition to therequestcontext.
Release 1.7.0
- Adds
session_setupandsession_teardownhooks to all primary DB adapters that allow all CRUD actions to propagate user information all the way to the DB level to enable role-based (and row based!) access control. The session hooks will gain access to the request context of the calling user, allowing app developers to grab requeststateorsessionvalues and pass them all the way to a DB like MySQL or Postgres. - Adds greater scrutiny to allowed filter columns in the
wherequery forge. Only columns listed as a part ofviewmodel (response schema) are allowed to be used as filters.