Skip to content

Releases: coleifer/peewee

3.0.18

14 Feb 15:05
Compare
Choose a tag to compare
  • Improved error messages when attempting to use a database class for which the
    corresponding driver is not installed.
  • Added tests showing the use of custom operator (a-la the docs).
  • Fixed indentation issue in docs, #1493.
  • Fixed issue with the SQLite date_part issue, #1494.

View commits

3.0.17

10 Feb 21:47
Compare
Choose a tag to compare
  • Fix schema inheritance regression, #1485.
  • Add helper method to postgres migrator for setting search_path, #1353.

View commits

3.0.16

08 Feb 20:02
Compare
Choose a tag to compare
  • Improve model graph resolution when iterating results of a query. Refs #1482.
  • Allow Model._meta.schema to be changed at run-time. #1483.

View commits

3.0.15

08 Feb 03:59
Compare
Choose a tag to compare
  • Use same schema used for reflection in generated models.
  • Preserve pragmas set on deferred Sqlite database if database is
    re-initialized without re-specifying pragmas.

View commits

3.0.14

07 Feb 19:43
Compare
Choose a tag to compare
  • Fix bug creating model instances on Postgres when model does not have a primary key column.
  • Extend postgresql reflection to support array types.

View commits

3.0.13

06 Feb 01:59
Compare
Choose a tag to compare
  • Fix bug where simple field aliases were being ignored. Fixes #1473.
  • More strict about column type inference for postgres + pwiz.

View commits

3.0.12

06 Feb 01:59
Compare
Choose a tag to compare
  • Fix queries of the form INSERT ... VALUES (SELECT...) so that sub-select is wrapped in parentheses.
  • Improve model-graph resolution when selecting from multiple tables that are joined by foreign-keys, and an intermediate table is omitted from selection.
  • Docs update to reflect deletion of post_init signal.

View commits

3.0.11

04 Feb 14:23
Compare
Choose a tag to compare
  • Add note to changelog about cursor() method.
  • Add hash method to postgres indexedfield subclasses.
  • Add TableFunction to sqlite_ext module namespace.
  • Fix bug regarding NOT IN queries where the right-hand-side is an empty set.
  • Fallback implementations of bm25f and lucene search ranking algorithms.
  • Fixed DecimalField issue.
  • Fixed issue with BlobField when database is a Proxy object.

View commits

3.0.10

02 Feb 15:48
Compare
Choose a tag to compare
  • Fix Database.drop_tables() signature to support cascade argument - #1453.
  • Fix querying documentation for custom functions - #1454.
  • Added len() method to ModelBase for convenient counting.
  • Fix bug related to unsaved relation population (thanks @conqp) - #1459.
  • Fix count() on compound select - #1460.
  • Support coerce keyword argument with fn.XXX() - #1463.
  • Support updating existing model instance with dict_to_model-like API - #1456.
  • Fix equality tests with ArrayField - #1461.

View commits

3.0.9

01 Feb 20:56
Compare
Choose a tag to compare
  • Add deprecation notice if passing autocommit as keyword argument to the Database initializer. Refs #1452.
  • Add JSONPath and "J" helpers to sqlite extension.

View commits