The first beta version of SQLAlchemy 1.4 is released, using transparent caching to improve performance

Haven't voted? Don't say you have been to OSC

https://www.oschina.net/project/top_cn_2020

The first beta version 1.4.0b1 of the Python ORM framework SQLAlchemy 1.4 series is now available.

The main contents of this update include:

  • Adopt a simpler and more consistent way to handle transactions, connections, and ORM sessions, and use a unified pattern in Core and ORM.
  • The select() structure is highly refined, and it is now a common way to create SELECT statements across Core and ORM; the new Result object unifies the way that results are processed across the two components and adds a lot of functions.
  •  SQL transparent caching technology now exists in all cases, greatly reducing the delay in generating SQL for persistently running applications, including most of the SQL generation work related to ORM; at the same time, the previous SQL caching method has been removed.
  • Now, Python asyncio support has been fully integrated into Core and ORM, providing asyncio with the first fully capable Python object-relational mapper.
  • The new mapper configuration paradigm unifies the declarative and "classic" mapping forms, and adds support for Python data classes.

More updated information: https://www.sqlalchemy.org/blog/2020/11/02/sqlalchemy-1.4.0b1-released/

Guess you like

Origin www.oschina.net/news/119665/sqlalchemy-1-4-0-b1-released