Bump sqlalchemy[asyncio] from 2.0.44 to 2.0.46
Type: Pull Request
State: Closed
Association: Unknown
Comments: 1
(about 2 months ago)
(13 days ago)
(13 days ago)
dependencies python
Bumps sqlalchemy[asyncio] from 2.0.44 to 2.0.46.
Release notes
Sourced from sqlalchemy[asyncio]'s releases.
2.0.46
Released: January 21, 2026
typing
[typing] [bug] Fixed typing issues where ORM mapped classes and aliased entities could not be used as keys in result row mappings or as join targets in select statements. Patterns such as
row._mapping[User],row._mapping[aliased(User)],row._mapping[with_polymorphic(...)](rejected by both mypy and Pylance), and.join(aliased(User))(rejected by Pylance) are documented and fully supported at runtime but were previously rejected by type checkers. The type definitions for_KeyTypeand_FromClauseArgumenthave been updated to accept these ORM entity types.References: #13075
postgresql
[postgresql] [bug] Fixed issue where PostgreSQL JSONB operators
_postgresql.JSONB.Comparator.path_match()and_postgresql.JSONB.Comparator.path_exists()were applying incorrectVARCHARcasts to the right-hand side operand when used with newer PostgreSQL drivers such as psycopg. The operators now indicate the right-hand type asJSONPATH, which currently results in no casting taking place, but is also compatible with explicit casts if the implementation were require it at a later point.References: #13059
[postgresql] [bug] Fixed regression in PostgreSQL dialect where JSONB subscription syntax would generate incorrect SQL for
cast()expressions returning JSONB, causing syntax errors. The dialect now properly wraps cast expressions in parentheses when using the[]subscription syntax, generating(CAST(...))[index]instead ofCAST(...)[index]to comply with PostgreSQL syntax requirements. This extends the fix from #12778 which addressed the same issue for function calls.References: #13067
[postgresql] [bug] Improved the foreign key reflection regular expression pattern used by the PostgreSQL dialect to be more permissive in matching identifier characters, allowing it to correctly handle unicode characters in table and column names. This change improves compatibility with PostgreSQL variants such as CockroachDB that may use different quoting patterns in combination with unicode characters in their identifiers. Pull request courtesy Gord Thompson.
... (truncated)
Commits
- See full diff in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 14332968 |
| UUID: | 3858299279 |
| Node ID: | PR_kwDOLiB2fc6_fI78 |
| Host: | GitHub |
| Repository: | Azure-Samples/azure-postgres-pgvector-python |