Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jun 6, 2025

Bumps databases from 0.6.1 to 0.9.0.

Release notes

Sourced from databases's releases.

Version 0.9.0

Changed

  • Drop support for Python 3.7 and add support for Python 3.12 (#583#583)
  • Add support for SQLAlchemy 2+ (#540#540)
  • Allow SSL string parameters in PostgresSQL URL (#575#575) and (#576#576)

#583: encode/databases#583 #540: encode/databases#540 #575: encode/databases#575 #576: encode/databases#576

Version 0.8.0

Breaking

This release improves isolation of connections and transactions across concurrent tasks:

  • Database connections are now task-local and are not inherited by child tasks
  • The @db.transaction decorator uses the calling task's connection
  • Each new task uses a new connection unless a connection is explicitly provided

These changes improve the consistency of behavior and fix bugs where connections and transactions were not properly isolated such as: encode/databases#123, encode/databases#125, encode/databases#134, encode/databases#155, encode/databases#424, and encode/databases#452.

In most cases, these changes should not be breaking. However, if using an open transaction across tasks, the active connection (db.connection()) now needs to be explicitly passed to each task. See the new documentation for an example.

Added

  • Allow SQLite query parameters and support cached databases (#561#561)
  • Support for unix socket for aiomysql and asyncmy (#551#551)

#551: encode/databases#551 #561: encode/databases#546

Changed

  • Improve isolation of connections and transactions during concurrent usage (#546#546)
  • Bump requests from 2.28.1 to 2.31.0 (#562#562) zanieb marked this conversation as resolved.
  • Bump starlette from 0.20.4 to 0.27.0 (#560#560)
  • Bump up asyncmy version to fix No module named 'asyncmy.connection' (#553#553)
  • Bump wheel from 0.37.1 to 0.38.1 (#524#524)

#546: encode/databases#546 #562: encode/databases#562 #560: encode/databases#560 #553: encode/databases#553 #524: encode/databases#524

Fixed

  • Fix the type-hints using more standard mode (#526#526)

... (truncated)

Changelog

Sourced from databases's changelog.

0.9.0 (February 23th, 2024)

Changed

  • Drop support for Python 3.7 and add support for Python 3.12 (#583#583)
  • Add support for SQLAlchemy 2+ (#540#540)
  • Allow SSL string parameters in PostgresSQL URL (#575#575) and (#576#576)

#583: encode/databases#583 #540: encode/databases#540 #575: encode/databases#575 #576: encode/databases#576

0.8.0 (August 28th, 2023)

Added

  • Allow SQLite query parameters and support cached databases (#561#561)
  • Support for unix socket for aiomysql and asyncmy (#551#551)

#551: encode/databases#551 #561: encode/databases#546

Changed

  • Change isolation connections and transactions during concurrent usage (#546#546)
  • Bump requests from 2.28.1 to 2.31.0 (#562#562)
  • Bump starlette from 0.20.4 to 0.27.0 (#560#560)
  • Bump up asyncmy version to fix No module named 'asyncmy.connection' (#553#553)
  • Bump wheel from 0.37.1 to 0.38.1 (#524#524)

#546: encode/databases#546 #562: encode/databases#562 #560: encode/databases#560 #553: encode/databases#553 #524: encode/databases#524

Fixed

  • Fix the type-hints using more standard mode (#526#526)

#526: encode/databases#526

0.7.0 (Dec 18th, 2022)

Fixed

  • Fixed breaking changes in SQLAlchemy cursor; supports >=1.4.42,<1.5 (#513#513)
  • Wrapped types in typing.Optional where applicable (#510#510)

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [databases](https://github.com/encode/databases) from 0.6.1 to 0.9.0.
- [Release notes](https://github.com/encode/databases/releases)
- [Changelog](https://github.com/encode/databases/blob/master/CHANGELOG.md)
- [Commits](encode/databases@0.6.1...0.9.0)

---
updated-dependencies:
- dependency-name: databases
  dependency-version: 0.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jun 6, 2025
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 python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant