Skip to content

Releases: coleifer/peewee

3.0.8

31 Jan 23:27
Compare
Choose a tag to compare
  • Add support for passing cascade=True when dropping tables. Fixes #1449.
  • Fix issues with backrefs and inherited foreign-keys. Fixes #1448.

View commits

3.0.7

31 Jan 12:29
Compare
Choose a tag to compare

3.0.7

  • Add select_extend() method to extend existing SELECT-ion. Doc.
  • Accept set() as iterable value type, fixes #1445
  • Add test for model/field inheritance and fix bug relating to recursion error
    when inheriting foreign-key field. Fixes #1448.
  • Fix regression where consecutive calls to ModelSelect.select() with no
    parameters resulted in an empty selection. Fixes #1438.

View commits

3.0.6

30 Jan 21:37
Compare
Choose a tag to compare

Add constraints for ON UPDATE/ON DELETE to foreign-key constraint - #1443.

View commits

3.0.5

30 Jan 17:55
Compare
Choose a tag to compare

Adds Model.index(), a short-hand method for declaring ModelIndex instances.

View commits

3.0.4

30 Jan 16:14
Compare
Choose a tag to compare

Re-add a shim for PrimaryKeyField (renamed to AutoField) and log a
deprecation warning if you try to use it.

View commits

3.0.3

30 Jan 15:49
Compare
Choose a tag to compare

Includes fix for bug where column-name to field-name translation was not being done when running select queries on models whose field name differed from the underlying column name (#1437).

View commits

3.0.2

29 Jan 19:03
Compare
Choose a tag to compare

Fixes missing pysqlite header files, which are needed to compile certain C extensions.

3.0.0

29 Jan 15:16
Compare
Choose a tag to compare

View commits

2.10.2

08 Oct 16:32
Compare
Choose a tag to compare
  • Update travis-ci build scripts to use Postgres 9.6 and test against Python
    3.6.
  • Added support for returning namedtuple objects when iterating over a
    cursor.
  • Added support for specifying the "object id" attribute used when declaring a
    foreign key. By default, it is foreign-key-name_id, but it can now be
    customized.
  • Fixed small bug in the calculation of search scores when using the SQLite C
    extension or the sqlite_ext module.
  • Support literal column names with the dataset module.

View commits

2.10.1

08 Oct 16:31
Compare
Choose a tag to compare

Removed AESEncryptedField.

View commits