[bug] [autogenerate] [regression] Fixed regression caused by #879 released in 1.7.0 where the
".info" dictionary of Table would not render in autogenerate create
table statements. This can be useful for custom create table DDL rendering
schemes so it is restored.
[bug] [typing] Improved typing in the
EnvironmentContext.configure.process_revision_directives
callable to better indicate that the passed-in type is
MigrationScript, not the MigrationOperation base class,
and added typing to the example at cookbook_no_empty_migrations to
illustrate.
[bug] [operations] Repaired ExecuteSQLOp so that it can participate in "diff"
operations; while this object is typically not present in a reflected
operation stream, custom hooks may be adding this construct where it needs
to have the correct to_diff_tuple() method. Pull request courtesy
Sebastian Bayer.
[bug] [typing] Improved the op.execute() method to correctly accept the
Executable type that is the same which is used in SQLAlchemy
Connection.execute(). Pull request courtesy Mihail Milushev.
[orm] [usecase] Implemented the _orm.Session.bulk_insert_mappings.render_nulls
parameter for new style bulk ORM inserts, allowing render_nulls=True as
an execution option. This allows for bulk ORM inserts with a mixture of
None values in the parameter dictionaries to use a single batch of rows
for a given set of dicationary keys, rather than breaking up into batches
that omit the NULL columns from each INSERT.
[orm] [bug] Fixed issue where the __allow_unmapped__ directive failed to allow for
legacy Column / deferred() mappings that nonetheless had
annotations such as Any or a specific type without Mapped[] as
their type, without errors related to locating the attribute name.
[orm] [bug] Fixed caching bug where using the _orm.with_expression() construct in
conjunction with loader options _orm.selectinload(),
_orm.lazyload() would fail to substitute bound parameter values
correctly on subsequent caching runs.
[orm] [bug] Fixed bug in ORM annotated declarative where using a ClassVar that
nonetheless referred in some way to an ORM mapped class name would fail to
be interpreted as a ClassVar that's not mapped.
[sql] [usecase] Implemented "literal value processing" for the Interval datatype
for both the PostgreSQL and Oracle dialects, allowing literal rendering of
interval values. Pull request courtesy Indivar Mishra.
[sql] [bug] Fixed issue where using the same bound parameter more than once with
literal_execute=True in some combinations with other literal rendering
parameters would cause the wrong values to render due to an iteration
issue.
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
Updates the requirements on alembic, asyncpg, sqlalchemy and mkdocstrings to permit the latest version. Updates
alembic
to 1.12.1Release notes
Sourced from alembic's releases.
... (truncated)
Commits
Updates
asyncpg
to 0.29.0Release notes
Sourced from asyncpg's releases.
... (truncated)
Commits
74f3a00
asyncpg v0.29.0d7faaff
fix: allow host tuple (#1021)b2697ff
Add query logging callbacks and context manager (#1043)93a6f79
Cut BaseProtocol circular reference on close. (#1049)ca9f03b
Close cursor portals once the iterator is exhausted (#1088)b7ffab6
Add support for theWHERE
clause incopy_to
methods (#941)70c8bd8
Use cleanup_ctx in pool usage doc (#878)ccc7baf
Small fix for documentation on using SSL in Connection (#995)313b2b2
Use thetimeout
context manager in the connection path (#1087)8b45beb
Update automatic PostGIS type conversion for Shapely 2.0 (#1085)Updates
sqlalchemy
to 2.0.23Release notes
Sourced from sqlalchemy's releases.
... (truncated)
Commits
Updates
mkdocstrings
to 0.24.0Release notes
Sourced from mkdocstrings's releases.
Changelog
Sourced from mkdocstrings's changelog.
... (truncated)
Commits
032e417
chore: Prepare release 0.24.0ce84dd5
feat: Cache downloaded inventories as local file4a97755
docs: Make recipe work with MkDocs-f
optionb3edf89
ci: Some typing fixes/ignored74fada
tests: Stop passing config file path to MkDocsConfig4dbb6d6
ci: Ruff auto-fix39694ac
chore: Template upgradeafc4ea4
fix:custom_templates
config was dropped in previous commit (#630)b61d4d1
refactor: Drop support for MkDocs < 1.4, modernize usages370a61d
fix: Makecustom_templates
relative to the config fileDependabot 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