Skip to content

Changelog

0.5.2 (2026-11-12)

Bug Fixes

  • default created_at and updated_at to now() so a non-UTC session does not shift them (#89) (5b1493d)

0.5.1 (2026-11-02)

Bug Fixes

  • import on SQLAlchemy 2.1, which removed FallbackAsyncAdaptedQueuePool (#79) (3fe20f2), closes #78

0.5.0 (2026-10-16)

⚠ BREAKING CHANGES

  • BasePostgresConfig.use_orjson_serialization now defaults to False, matching AsyncSessionManager and the builder. A service that has orjson installed, kept the default, and writes values only orjson serializes (datetime, UUID, Decimal, non-str keys) into JSON columns now gets StatementError (TypeError: Object of type datetime is not JSON serializable). Set use_orjson_serialization=True to keep the old behaviour.
  • uow.query() now opens its transaction READ ONLY. A write inside it (INSERT, UPDATE, DELETE, DDL, nextval()) fails with SQLSTATE 25006 instead of being rolled back silently, or persisted when followed by an explicit session.commit(). Move writes to uow.transaction().

Bug Fixes

  • build null and static pools from PoolSettings, and stop recommending the sync queue pool (#61) (608d327)
  • count connect timeouts, not statement timeouts, in connection_timeouts_total (#63) (961e0e8)
  • default use_orjson_serialization to False, so the [settings] quick start runs (#66) (3addfdd)
  • read the pool gauges when they are scraped, and never export a negative overflow (#62) (e85ac96)
  • run query() in a READ ONLY transaction, as documented (#64) (cb77404)
  • stop logging a failed flush's parameters and row values (#65) (6dd88ba)

0.4.0 (2026-09-07)

Features

  • measure the wait for a pool connection, and count pool checkout timeouts (#27) (78c9d7e)

0.3.0 (2026-09-07)

Features

  • stop sending jit and search_path as startup parameters (#24) (704c343)

0.2.1 (2026-09-06)

Bug Fixes

  • the defects the agents page turned up (#21) (9548c72)

0.2.0 (2026-08-28)

Features

  • uow: add savepoint() to AsyncSQLAlchemyUowTransaction (#6) (c46d881), closes #5

Bug Fixes

  • ci: add workflow_dispatch and created trigger to publish workflow (142aef5)

0.1.0 (2026-05-19)

Features

  • add managed_session method for manual transaction control and tracing (776407b)
  • contrib: add dependency-injector support, rename di to dishka, add test suite (3bbf3e4)
  • initial sqlalchemy-foundation-kit library (738b4f1)

Bug Fixes

  • comprehensive code review improvements (487c283)

Documentation

  • foundation-kit: add comprehensive documentation for all features (8d10f84)