OperationCode / resources_api

Flask API for programming and cyber security learning resources
https://resources.operationcode.org/
MIT License
67 stars 65 forks source link

Bump sqlalchemy from 1.3.22 to 2.0.0 #576

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps sqlalchemy from 1.3.22 to 2.0.0.

Release notes

Sourced from sqlalchemy's releases.

2.0.0

Released: January 26, 2023

orm

  • [orm] [bug] Improved the notification of warnings that are emitted within the configure mappers or flush process, which are often invoked as part of a different operation, to add additional context to the message that indicates one of these operations as the source of the warning within operations that may not be obviously related.

    References: #7305

orm extensions

  • [feature] [orm extensions] Added new option to horizontal sharding API _horizontal.set_shard_id which sets the effective shard identifier to query against, for both the primary query as well as for all secondary loaders including relationship eager loaders as well as relationship and column lazy loaders.

    References: #7226

  • [usecase] [orm extensions] Added new feature to AutomapBase for autoload of classes across multiple schemas which may have overlapping names, by providing a AutomapBase.prepare.modulename_for_table parameter which allows customization of the __module__ attribute of newly generated classes, as well as a new collection AutomapBase.by_module, which stores a dot-separated namespace of module names linked to classes based on the __module__ attribute.

    Additionally, the AutomapBase.prepare() method may now be invoked any number of times, with or without reflection enabled; only newly added tables that were not previously mapped will be processed on each call. Previously, the MetaData.reflect() method would need to be called explicitly each time.

    References: #5145

sql

  • [sql] [bug] Fixed stringify for a the CreateSchema DDL construct, which would fail with an AttributeError when stringified without a dialect.

    This change is also backported to: 1.4.47

... (truncated)

Commits


Dependabot compatibility score

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 ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Superseded by #577.