rel_2_0_28
版本发布时间: 2024-03-04 21:41:20
sqlalchemy/sqlalchemy最新发布版本:rel_2_0_36(2024-10-16 03:41:54)
2.0.28
Released: March 4, 2024
orm
-
[orm] [performance] [bug] [regression] Adjusted the fix made in #10570, released in 2.0.23, where new logic was added to reconcile possibly changing bound parameter values across cache key generations used within the
_orm.with_expression()
construct. The new logic changes the approach by which the new bound parameter values are associated with the statement, avoiding the need to deep-copy the statement which can result in a significant performance penalty for very deep / complex SQL constructs. The new approach no longer requires this deep-copy step.References: #11085
-
[orm] [bug] [regression] Fixed regression caused by #9779 where using the "secondary" table in a relationship
and_()
expression would fail to be aliased to match how the "secondary" table normally renders within a_sql.Select.join()
expression, leading to an invalid query.References: #11010
engine
-
[engine] [usecase] Added new core execution option
_engine.Connection.execution_options.preserve_rowcount
. When set, thecursor.rowcount
attribute from the DBAPI cursor will be unconditionally memoized at statement execution time, so that whatever value the DBAPI offers for any kind of statement will be available using the_engine.CursorResult.rowcount
attribute from the_engine.CursorResult
. This allows the rowcount to be accessed for statments such as INSERT and SELECT, to the degree supported by the DBAPI in use. Theengine_insertmanyvalues
also supports this option and will ensure_engine.CursorResult.rowcount
is correctly set for a bulk INSERT of rows when set.References: #10974
asyncio
-
[asyncio] [bug] An error is raised if a
QueuePool
or other non-asyncio pool class is passed to_asyncio.create_async_engine()
. This engine only accepts asyncio-compatible pool classes includingAsyncAdaptedQueuePool
. Other pool classes such asNullPool
are compatible with both synchronous and asynchronous engines as they do not perform any locking.References: #8771
tests
- [tests] [change] pytest support in the tox.ini file has been updated to support pytest 8.1.
1、 SQLAlchemy-2.0.28-cp310-cp310-macosx_10_9_x86_64.whl 1.98MB
2、 SQLAlchemy-2.0.28-cp310-cp310-macosx_11_0_arm64.whl 1.98MB
3、 SQLAlchemy-2.0.28-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2.91MB
4、 SQLAlchemy-2.0.28-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 2.92MB
5、 SQLAlchemy-2.0.28-cp310-cp310-musllinux_1_1_aarch64.whl 2.95MB
6、 SQLAlchemy-2.0.28-cp310-cp310-musllinux_1_1_x86_64.whl 2.95MB
7、 SQLAlchemy-2.0.28-cp310-cp310-win32.whl 1.95MB
8、 SQLAlchemy-2.0.28-cp310-cp310-win_amd64.whl 1.98MB
9、 SQLAlchemy-2.0.28-cp311-cp311-macosx_10_9_x86_64.whl 1.99MB
10、 SQLAlchemy-2.0.28-cp311-cp311-macosx_11_0_arm64.whl 1.98MB
11、 SQLAlchemy-2.0.28-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 3.04MB
12、 SQLAlchemy-2.0.28-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 3.04MB
13、 SQLAlchemy-2.0.28-cp311-cp311-musllinux_1_1_aarch64.whl 3.05MB
14、 SQLAlchemy-2.0.28-cp311-cp311-musllinux_1_1_x86_64.whl 3.04MB
15、 SQLAlchemy-2.0.28-cp311-cp311-win32.whl 1.95MB
16、 SQLAlchemy-2.0.28-cp311-cp311-win_amd64.whl 1.98MB
17、 SQLAlchemy-2.0.28-cp312-cp312-macosx_10_9_x86_64.whl 1.98MB
18、 SQLAlchemy-2.0.28-cp312-cp312-macosx_11_0_arm64.whl 1.98MB
19、 SQLAlchemy-2.0.28-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 3.07MB
20、 SQLAlchemy-2.0.28-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 3.08MB
21、 SQLAlchemy-2.0.28-cp312-cp312-musllinux_1_1_aarch64.whl 3.08MB
22、 SQLAlchemy-2.0.28-cp312-cp312-musllinux_1_1_x86_64.whl 3.08MB
23、 SQLAlchemy-2.0.28-cp312-cp312-win32.whl 1.95MB
24、 SQLAlchemy-2.0.28-cp312-cp312-win_amd64.whl 1.98MB
25、 SQLAlchemy-2.0.28-cp37-cp37m-macosx_10_9_x86_64.whl 1.99MB
26、 SQLAlchemy-2.0.28-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2.83MB
27、 SQLAlchemy-2.0.28-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 2.84MB
28、 SQLAlchemy-2.0.28-cp37-cp37m-musllinux_1_1_aarch64.whl 2.85MB
29、 SQLAlchemy-2.0.28-cp37-cp37m-musllinux_1_1_x86_64.whl 2.85MB
30、 SQLAlchemy-2.0.28-cp37-cp37m-win32.whl 1.95MB
31、 SQLAlchemy-2.0.28-cp37-cp37m-win_amd64.whl 1.98MB
32、 SQLAlchemy-2.0.28-cp38-cp38-macosx_10_9_x86_64.whl 1.99MB
33、 SQLAlchemy-2.0.28-cp38-cp38-macosx_11_0_arm64.whl 1.98MB
34、 SQLAlchemy-2.0.28-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2.93MB
35、 SQLAlchemy-2.0.28-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 2.94MB
36、 SQLAlchemy-2.0.28-cp38-cp38-musllinux_1_1_aarch64.whl 2.98MB
37、 SQLAlchemy-2.0.28-cp38-cp38-musllinux_1_1_x86_64.whl 2.98MB
38、 SQLAlchemy-2.0.28-cp38-cp38-win32.whl 1.96MB
39、 SQLAlchemy-2.0.28-cp38-cp38-win_amd64.whl 1.98MB
40、 SQLAlchemy-2.0.28-cp39-cp39-macosx_10_9_x86_64.whl 1.99MB
41、 SQLAlchemy-2.0.28-cp39-cp39-macosx_11_0_arm64.whl 1.98MB
42、 SQLAlchemy-2.0.28-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2.92MB
43、 SQLAlchemy-2.0.28-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 2.93MB
44、 SQLAlchemy-2.0.28-cp39-cp39-musllinux_1_1_aarch64.whl 2.97MB
45、 SQLAlchemy-2.0.28-cp39-cp39-musllinux_1_1_x86_64.whl 2.97MB
46、 SQLAlchemy-2.0.28-cp39-cp39-win32.whl 1.96MB
47、 SQLAlchemy-2.0.28-cp39-cp39-win_amd64.whl 1.98MB
48、 SQLAlchemy-2.0.28-py3-none-any.whl 1.78MB