Skip to content

Releases: k98kurz/sqloquent

v0.7.2

18 Nov 16:32

Choose a tag to compare

0.7.2

  • Made the connection pooling and cursor tracking in SqliteContext thread-local

Full Changes: v0.7.1...v0.7.2

v0.7.1

17 Nov 22:21

Choose a tag to compare

0.7.1

  • Added automatic connection pooling to SqliteContext and AsyncSqliteContext
  • Updated SqlQueryBuilder and AsyncSqlQueryBuilder to use the connection pooling in chunk
  • Updated packify dependency to 0.3.1
  • Improved relation docstrings set by ORM helper functions
  • Added library version to CLI help text
  • Added less_or_equal and greater_or_equal to query builders
  • Bugfix: ORM now gracefully handles empty contains relation foriegn id column

Full Changes: v0.7.0...v0.7.1

v0.7.0

02 Mar 18:06

Choose a tag to compare

0.7.0

  • New method HashedModel.preimage to get the preimage of the sha256 id in the
    form of the bytes-serialized non-id, non-excluded columns and their values.
  • Method HashedModel.generate_id now calls preimage internally.

Full Changelog: v0.6.2...v0.7.0

v0.6.2

02 Mar 18:05

Choose a tag to compare

0.6.2

  • Updated migration system to use the quote_identifier and quote_sql_str_value
    functions for quoting identifiers and string values.
  • Updated quote_identifier to properly quote components in a multi-part
    identifier and raise ValueError when a component has an unmatched double
    quotation mark or when the identifier contains a single quote.
  • Added new unit tests for quote_identifier and quote_sql_str_value

Full Changelog: v0.6.1...v0.6.2