Changelog
Notable changes to rn-forge-sqlalchemy, newest first, in the
Keep a Changelog format.
[Unreleased]
[0.2.4] - 2026-11-17
Fixed
upsertraisesValueErrorfor an emptykey, instead ofZeroDivisionError.upsert's docstring no longer calls its counts exact: they describe the rows read before the write, and a competing writer can change them.
[0.2.3] - 2026-11-13
Added
create_sqlite_engine— an async SQLite engine that sets WAL, foreign keys, busy timeout andsynchronouson every connection.rn_forge.sqlalchemy.migrate.run_migrations— runs Alembic migrations from the application process; needs the newmigrationsextra.
[0.2.2] - 2026-10-29
Changed
- The package declares the MIT licence and is published to PyPI.
[0.2.1] - 2026-10-25
Changed
- Requires its rn-forge dependencies by version range from pykit's index (ADR-0004), not by git URL.
[0.2.0] - 2026-10-05
Added
- Soft delete:
SoftDeleteMixin(a nullable, indexeddelete_time),live(stmt, model, show_deleted=),soft_delete(obj, actor=, now=)andundelete(obj, actor=, now=). Nothing hooks the session; a query asks for live rows withlive().
Changed
- Breaking:
keysetorders and resumes by everyorderByterm, withNULLlast in both directions, so a term's column may be nullable. It ordered by one term and required a non-null column. - Breaking:
next_page_token(sort_value, entity_id, terms)is nownext_page_token(row_values, entity_id, terms), with one value per term. Tokens issued before the change are rejected with 400.
[0.1.0] - 2026-09-27
First release.