3.13.0
CockroachDB support added
This will be a notable release as it adds support for
CockroachDB, a distributed, horizontally-scalable
SQL database.
Other features and fixes
- Allow
FOR UPDATE
clause to specify one or more tables (FOR UPDATE OF...
). - Support for Postgres
LATERAL
join. - Properly wrap exceptions raised during explicit commit/rollback in the appropriate peewee-specific exception class.
- Capture original exception object and expose it as
exc.orig
on the wrapped exception. - Properly introspect
SMALLINT
columns in Postgres schema reflection. - More flexible handling of passing database-specific arguments to
atomic()
andtransaction()
context-manager/decorator. - Fix non-deterministic join ordering issue when using the
filter()
API across several tables (#2063).