Peewee v2.4.3 Release Notes
-
๐ This release contains numerous improvements, particularly around the built-in database introspection utilities. Peewee should now also be compatible with PyPy.
๐ Bugs fixed
- #466, table names are case sensitive in the SQLite migrations module.
- #465, added option to disable backref validation.
- #462, use the schema name consistently with postgres reflection.
๐ New features
- New model Meta option to disable backref validation. See validate_backrefs.
- โ Added documentation on ordering by calculated values.
- โ Added basic PyPy compatibility.
- โ Added logic to close cursors after they have been exhausted.
- ๐ Structured and consolidated database metadata introspection, including improvements for introspecting indexes.
- Added support to prefetch for traversing up the query tree.
- โ Added introspection option to skip invalid models while introspecting.
- โ Added option to limit the tables introspected.
- โ Added closed connection detection to the MySQL connection pool.
- โจ Enhancements to passing options to creating virtual tables with SQLite.
- โ Added factory method for generating Closure tables for use with the
transitive_closure
SQLite extension. - โ Added support for loading SQLite extensions.
- โ Numerous test-suite enhancements and new test-cases.