Add support for integer, floating point, boolean NumPy scalar types__
(:ticket:[#332](https://github.com/psycopg/psycopg/issues/332)).
Add !timeout and !stop_after parameters to Connection.notifies()
(:ticket:340).
Add :ref:raw-query-cursors to execute queries using placeholders in
PostgreSQL format ($1, $2...) (:ticket:[#560](https://github.com/psycopg/psycopg/issues/560)).
Add psycopg.capabilities object to :ref:inspect the libpq capabilities <capabilities> (:ticket:[#772](https://github.com/psycopg/psycopg/issues/772)).
Add ~rows.scalar_row to return scalar values from a query (:ticket:[#723](https://github.com/psycopg/psycopg/issues/723)).
Prepared statements are now :ref:compatible with PgBouncer <pgbouncer>.
(:ticket:[#589](https://github.com/psycopg/psycopg/issues/589)).
Add ~Connection.set_autocommit() on sync connections, and similar
transaction control methods available on the async connections.
Add support for libpq functions to close prepared statements and portals
introduced in libpq v17 (:ticket:[#603](https://github.com/psycopg/psycopg/issues/603)).
Add support for libpq encrypted and non-blocking query cancellation
functions introduced in libpq v17 (:ticket:[#754](https://github.com/psycopg/psycopg/issues/754)).
The !context parameter of sql objects ~sql.Composable.as_string() and
~sql.Composable.as_bytes() methods is now optional (:ticket:[#716](https://github.com/psycopg/psycopg/issues/716)).
Disable receiving more than one result on the same cursor in pipeline mode,
to iterate through ~Cursor.nextset(). The behaviour was different than
in non-pipeline mode and not totally reliable (:ticket:[#604](https://github.com/psycopg/psycopg/issues/604)).
The Cursor now only preserves the results set of the last
~Cursor.execute(), consistently with non-pipeline mode.
Add ~Connection.cancel_safe() for encrypted and non-blocking cancellation
If possible, use such method internally upon KeyboardInterrupt and Copy
termination (:ticket:[#754](https://github.com/psycopg/psycopg/issues/754)).
Add support for libpq function to retrieve results in chunks introduced in
libpq v17 (:ticket:[#793](https://github.com/psycopg/psycopg/issues/793)).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the python-dependencies group with 3 updates: django, lxml and psycopg.
Updates
django
from 5.0.4 to 5.0.6Commits
2719a7f
[5.0.x] Bumped version for 5.0.6 release.c90b20f
[5.0.x] Added release notes for 5.0.6 and 4.2.13.0504608
[5.0.x] Added stub release notes for 5.0.6.2fa9fe3
[5.0.x] Post-release version bump.b6844c6
[5.0.x] Bumped version for 5.0.5 release.e1eecba
[5.0.x] Added release date for 5.0.5 and 4.2.12.9b5029f
[5.0.x] Fixed #35426 -- Updated querysets to be a required argument of Generi...ac9e18f
[5.0.x] Refs #35359 -- Fixed OperationTests.test_add_generate_field() test on...59c3f8a
[5.0.x] Fixed #35427 -- Corrected help text for makemessages --extension in d...e18e931
[5.0.x] Refs #35422 -- Fixed typo in docs/releases/5.0.5.txt.Updates
lxml
from 5.2.1 to 5.2.2Release notes
Sourced from lxml's releases.
Changelog
Sourced from lxml's changelog.
Commits
8e4b14c
Prepare release of lxml 5.2.2.ddaa6ed
Provide compile time version of libiconv as "etree.ICONV_COMPILED_VERSION".1ab00bd
CI: Do not install lxml as dependency of "lxml_html_clean".b325054
CI: Stop building LTO wheels to avoid messing with the library build cache.81624c2
CI: Exclude now-unsupported Python versions 3.6/7 from macOS jobs.069fa36
Fix typo.e0df2ba
Fix typo.df55eaf
Update changelog.f3e77fa
Remove dependency on SSE4 instructions, reverting back to "core2" as a target...a22e83c
Update changelog.Updates
psycopg
from 3.1.18 to 3.1.19Changelog
Sourced from psycopg's changelog.
... (truncated)
Commits
780068d
chore: bump psycopg package version to 3.1.19040489c
chore(crdb): upgrade types to v23.1163f366
ci(macos): test and build macOS packages on M1 runners01d5dab
Merge branch 'fix-745' into maint-3.128fc73e
perf(copy): only flush at every row on copy on macOS963c5f8
Improve performance of copyc9486b3
test(copy): add minimal copy benchmark framework3398945
Merge branch 'fix-734' into maint-3.1cfc0782
fix(c): solve undefined behaviour caused by unaligned access611738f
ci: add test to check for misaligned memory accessDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show