0.12.28
- Add better logic for
sqlalchemy
scalars unwrapping. #1281 - Fix issue with
sqlalchemy
imports forgino
ext. #1282 - Fix issue with incorrect body schema. #1299
Breaking changes
sqlachemy
extension no longer requires to use items_transformer
when selecting scalar field:
This code is no longer valid:
paginate(session, select(User.name), transformer=lambda items: [{'name': item} for item in items])
The correct version now is:
paginate(session, select(User.name))