Skip to content

Releases: aipartnerup/sqlalchemy-session-proxy

Release 0.3.0

26 Jan 11:29

Choose a tag to compare

Changed

  • Bump version to 0.3.0 in pyproject.toml and __init__.py.
  • Improved and expanded documentation in README.md for clarity and completeness.
  • Minor code improvements and bugfix for the query method in SqlalchemySessionProxy (fixed argument unpacking for sync sessions).

Fixed

  • Fixed a bug where the query method did not properly unpack arguments for synchronous sessions.

Release 0.2.0

19 Jan 11:56

Choose a tag to compare

Added

  • Added query method for legacy ORM queries (sync/async).
  • Added scalar method for executing statements and returning a single scalar result (sync/async).
  • Added run_sync method to allow running synchronous functions in async context (AsyncSession only).
  • Updated README.md to document new methods and clarify usage and import paths.

Release 0.1.0

18 Jan 11:45

Choose a tag to compare

Added

  • Initial release of sqlalchemy-session-proxy.
  • Unified proxy for both synchronous (Session) and asynchronous (AsyncSession) SQLAlchemy sessions.
  • Automatic detection and dispatch for sync/async session methods.
  • Proxy pattern: forwards all attribute and method calls to the underlying session.
  • Supports core session methods: add, add_all, commit, rollback, close, flush, merge, delete, get, get_one, execute, scalars, refresh, expire, expire_all, expunge, expunge_all, is_modified, in_transaction, in_nested_transaction, and more.
  • Full type hints for better IDE support and static analysis.