Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump flask-sqlalchemy from 2.5.1 to 3.0.3 #468

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 31, 2023

Bumps flask-sqlalchemy from 2.5.1 to 3.0.3.

Release notes

Sourced from flask-sqlalchemy's releases.

3.0.3

An SLSA provenance file for the build is available to download from the GitHub release page.

3.0.2

This is a fix release for the 3.0.x feature release. It updates compatibility with SQLAlchemy 2.0 beta 1.

3.0.1

This is a fix release for the 3.0.x feature release.

3.0.0

This is a feature release, which includes new features and removes previously deprecated code. The 3.0.x branch is now the supported bug fix branch, the 2.x branch will become a tag marking the end of support for that branch. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades.

3.0.0a2

This is a prerelease to preview the changes in 3.0, the next feature release. Prereleases are an opportunity to test and update your projects early before the final release.

pip install -U --pre Flask-SQLAlchemy

There were significant changes in pallets-eco/flask-sqlalchemy#1087, see the changelog for a full list. Many of those changes will raise deprecation warnings, but it was not feasible to implement warnings for some things.

3.0.0a1

This is a prerelease to preview the changes in 3.0, the next feature release. Prereleases are an opportunity to test and update your projects early before the final release.

pip install -U --pre Flask-SQLAlchemy

There were significant changes in pallets-eco/flask-sqlalchemy#1087, see the changelog for a full list. Many of those changes will raise deprecation warnings, but it was not feasible to implement warnings for some things.

Changelog

Sourced from flask-sqlalchemy's changelog.

Version 3.0.3

Released 2023-01-31

  • Show helpful errors when mistakenly using multiple SQLAlchemy instances for the same app, or without calling init_app. :pr:1151
  • Fix issue with getting the engine associated with a model that uses polymorphic table inheritance. :issue:1155

Version 3.0.2

Released 2022-10-14

  • Update compatibility with SQLAlchemy 2. :issue:1122

Version 3.0.1

Released 2022-10-11

  • Export typing information instead of using external typeshed definitions. :issue:1112
  • If default engine options are set, but SQLALCHEMY_DATABASE_URI is not set, an invalid default bind will not be configured. :issue:1117

Version 3.0.0

Released 2022-10-04

  • Drop support for Python 2, 3.4, 3.5, and 3.6.
  • Bump minimum version of Flask to 2.2.
  • Bump minimum version of SQLAlchemy to 1.4.18.
  • Remove previously deprecated code.
  • The session is scoped to the current app context instead of the thread. This requires that an app context is active. This ensures that the session is cleaned up after every request.
  • An active Flask application context is always required to access session and engine, regardless of if an application was passed to the constructor. :issue:508, 944
  • Different bind keys use different SQLAlchemy MetaData registries, allowing tables in different databases to have the same name. Bind keys are stored and looked up on the resulting metadata rather than the model or table.
  • SQLALCHEMY_DATABASE_URI does not default to sqlite:///:memory:. An error is raised if neither it nor SQLALCHEMY_BINDS define any engines. :pr:731

... (truncated)

Commits
  • a16b00f release version 3.0.3
  • b87577c refresh project to match pallets (#1159)
  • 87b0991 build, provenance, publish workflow
  • 4a9afdf set workflow permissions
  • c6e76b8 update typing for sqlalchemy 2
  • 3b9965a update tox config for v4, update tests workflow
  • 3b0d3c2 update dev dependencies
  • 719bcdb move flake8 config
  • f6dc4da fix get_bind with polymorphic table inheritance (#1157)
  • 0dcaff3 fix get_bind for polymorphic models
  • Additional commits viewable in compare view

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)

Bumps [flask-sqlalchemy](https://github.com/pallets-eco/flask-sqlalchemy) from 2.5.1 to 3.0.3.
- [Release notes](https://github.com/pallets-eco/flask-sqlalchemy/releases)
- [Changelog](https://github.com/pallets-eco/flask-sqlalchemy/blob/main/CHANGES.rst)
- [Commits](pallets-eco/flask-sqlalchemy@2.5.1...3.0.3)

---
updated-dependencies:
- dependency-name: flask-sqlalchemy
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants