Skip to content

Releases: imryche/litequery

v0.8.2

28 Oct 09:53

Choose a tag to compare

Added

  • Support for list/tuple parameter expansion

Full Changelog: v0.8.1...v0.8.2

v0.8.1

26 Oct 21:10

Choose a tag to compare

Changed

  • Improve .into() to handle partial field mapping

Full Changelog: v0.8.0...v0.8.1

v0.8.0

26 Oct 19:02

Choose a tag to compare

Added

  • Add raw(), raw_one(), raw_value() helpers for ad‑hoc SQL queries
  • Add thread-local connection management and close() to explicitly release connections
  • Add Row.into() and Rows.into() to map rows into dataclasses/objects
  • Add safeguards against duplicate query names

Changed

  • Switch to synchronous-only design; remove async API
  • Require Python 3.12+; drop aiosqlite
  • Improve datetime handling with UTC storage and ISO parsing
  • Use autocommit by default; reject nested transactions
  • Stricter query names: snake_case only
  • Row rework: reject duplicate column names

Fixed

  • Correct column counting/access in Row
  • More reliable datetime conversion

Removed

  • Async API and aiosqlite dependency

Full Changelog: v0.7.4...v0.8.0

v0.7.4

01 Oct 17:15

Choose a tag to compare

Fixed

  • Generate the schema.sql next to migrations

Full Changelog: v0.7.3...v0.7.4

v0.7.3

01 Oct 16:56

Choose a tag to compare

Added

  • migrations and queries directories autodiscovery

Full Changelog: v0.7.2...v0.7.3

v0.7.2

04 Jul 09:04

Choose a tag to compare

Fixed

  • Split migration SQL reliably

Full Changelog: v0.7.1...v0.7.2

v0.7.1

03 Jul 13:06

Choose a tag to compare

Added

  • Add migration transaction rollback support

Full Changelog: v0.7.0...v0.7.1

v0.7.0

29 Jun 14:26

Choose a tag to compare

Changed

  • Use custom Row class for more flexible query results

Full Changelog: v0.6.4...v0.7.0

v0.6.4

09 Jun 14:50

Choose a tag to compare

Full Changelog: v0.6.3...v0.6.4

v0.6.3

09 Jun 14:38

Choose a tag to compare

What's Changed

  • Add the lq shell command

Full Changelog: v0.6.2...v0.6.3