Skip to content

pyxle-db 0.3.0

Choose a tag to compare

@shivamsn97 shivamsn97 released this 18 Jun 07:40
db29473

Enterprise database support — all additive, no breaking changes.

  • Request-scoped DB injection on request.state.db (pure-ASGI middleware; streaming-SSR safe)
  • Automatic transactions on unsafe-method requests (status-keyed commit/rollback — a failed action never commits a partial write)
  • SQLAlchemy ORM path (optional [sqlalchemy] extra): async Engine, request-scoped sessions, pooling, Alembic
  • pyxle-db CLI: checksum migrator (migrate / status) + Alembic commands

Full changelog: https://github.com/pyxle-dev/pyxle-plugins/blob/pyxle-db-v0.3.0/packages/pyxle-db/CHANGELOG.md