SQLAlchemy 1.3.8 released, Python ORM framework

SQLAlchemy 1.3.8 was released. SQLAlchemy is a Python SQL database object and kits mapping (ORM) framework. It contains the complete set of enterprise-level persistence patterns, designed for high efficiency and high performance database access.

The new version contains fixes for performance, "the implementation of the value of" new psycopg2 to accommodate the hook by the compiler to modify the INSERT statement.

snake

[orm] [bug]

  • Fixed errors due to internal dictionary context mapper / lead relationship status object is not picked Load

[orm] [usecase

  • Added support for the use of Python pep-435 Enum enumeration data type object used as the primary key column is mapped as the value of the ORM

engine

[engine] [feature]

  • Added new parameters create_engine.hide_parameters, when set to True, will no longer lead to record SQL parameters, it will not appear in the string representation of the object StatementError

[engine] [bug]

  • Fixed a dialect that occurs when the first connection "initialization" process will encounter problems of abnormal

postgresql

[postgresql] [bug]

  • Amended to psycopg2 "execute_values ​​()" method functions in support of the just added 1.3.7
  • Fixed a bug due to wrong assertion caused postgresql operators in the use of postgresql.array objects can not run non-integer values ​​incorrect

[postgresql] [usecase]

  • Added support for reflection CHECK constraints, including special qualifier PostgreSQL "NOT VALID", which may be present in CHECK constraints, these constraints are added to an existing table, and instructs the current is not applied to the table there are data

sqlite

[sqlite] [bug] [reflection]

  • Fixed a bug, that is only set to "refer to the column" set by the table name only references the parent table without the column names will not reflect the correct FOREIGN KEY

Announcement: https://www.sqlalchemy.org/blog/2019/08/27/sqlalchemy-1.3.8-released/
complete update: https://docs.sqlalchemy.org/en/13/changelog/changelog_13 .html # change-1.3.8
Download: https://www.sqlalchemy.org/download.html

Guess you like

Origin www.oschina.net/news/109431/sqlalchemy-1-3-8-released