Skip to content

Changelog

Notable changes to rn-forge-sqlalchemy, newest first, in the Keep a Changelog format.

[Unreleased]

[0.2.4] - 2026-11-17

Fixed

  • upsert raises ValueError for an empty key, instead of ZeroDivisionError.
  • 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 and synchronous on every connection.
  • rn_forge.sqlalchemy.migrate.run_migrations — runs Alembic migrations from the application process; needs the new migrations extra.

[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, indexed delete_time), live(stmt, model, show_deleted=), soft_delete(obj, actor=, now=) and undelete(obj, actor=, now=). Nothing hooks the session; a query asks for live rows with live().

Changed

  • Breaking: keyset orders and resumes by every orderBy term, with NULL last 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 now next_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.