Catching more database errors in ``PiccoloCRUD``, and returning useful API responses instead of 500 errors.
Implemented GitHub's CodeQL suggestions - this now means ``LocalMediaStorage`` uses ``600`` instead of ``640`` as the default file permissions for uploaded files (thanks to sinisaos for this).
* Added Python 3.11 support. * ``PiccoloCRUD`` validators can now be async. * Improved logging. * The minimum version of FastAPI is now ``0.87.0``. The reason for this is Starlette made a fairly large change in version ``0.21.0``, which meant we had to refactor a lot of our tests, which makes it challenging to support older versions.
* Adding ``id: Serial`` for ``SessionsBase`` and ``TokenAuth``. * Fixed type annotations for latest version of Starlette (thanks to sinisaos for this).