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.

    View commits