Peewee

Latest version: v3.17.9

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 25

3.17.9

* Fix incorrect handling of fk constraint name in migrator.
* Fix test-only issue that can occur in Python 3.14a4.

[View commits](https://github.com/coleifer/peewee/compare/3.17.8...3.17.9)

3.17.8

* Fix regression in behavior of `delete_instance()` when traversing nullable
foreign-keys, 2952. Introduced in 3.17.6. **Recommended that you update**.
* Fix bug where joins not cloned when going from join-less -> joined query,
refs 2941.

3.17.7

* Add db_url support for psycopg3 via `psycopg3://`.
* Ensure double-quotes are escaped properly when introspecting constraints.
* A few documentation-related fixes.

[View commits](https://github.com/coleifer/peewee/compare/3.17.6...3.17.7)

3.17.6

* Fix bug in recursive `model.delete_instance()` when a table contains
foreign-keys at multiple depths of the graph, 2893.
* Fix regression in pool behavior on systems where `time.time()` returns
identical values for two connections. This adds a no-op comparable sentinel
to the heap to prevent any recurrence of this problem, 2901.
* Ensure that subqueries inside `CASE` statements generate correct SQL.
* Fix regression that broke server-side cursors with Postgres (introduced in
3.16.0).
* Fix to ensure compatibility with psycopg3 - the libpq TransactionStatus
constants are no longer available on the `Connection` instance.
* Fix quoting issue in pwiz that could generate invalid python code for
double-quoted string literals used as column defaults.

[View commits](https://github.com/coleifer/peewee/compare/3.17.5...3.17.6)

3.17.5

This release fixes a build system problem in Python 3.12, 2891.

[View commits](https://github.com/coleifer/peewee/compare/3.17.4...3.17.5)

3.17.4

* Fix bug that could occur when using CASE inside a function, and one or more
of the CASE clauses consisted of a subquery. Refs 2873.
new fix in 2872 for regression in truthiness of cursor.
* Fix bug in the conversion of TIMESTAMP type in Sqlite on Python 3.12+.
* Fix for hybrid properties on subclasses when aliased (2888).
* Many fixes for SqliteQueueDatabase (2874, 2876, 2877).

[View commits](https://github.com/coleifer/peewee/compare/3.17.3...3.17.4)

Page 1 of 25

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.