Skip to content
This repository was archived by the owner on Sep 15, 2021. It is now read-only.

Conversation

@dependabot-preview
Copy link

Bumps asyncpg from 0.19.0 to 0.22.0.

Release notes

Sourced from asyncpg's releases.

v0.22.0

A new asyncpg release is here.

Notable additions include Python 3.9 support, support for recently added PostgreSQL types like jsonpath, and last but not least, vastly improved executemany() performance. Importantly, executemany() is also now atomic, which means that either all iterations succeed, or none at all, whereas previously partial results would have remained in place, unless executemany() was called in a transaction.

There is also the usual assortment of improvements and bugfixes, see the details below.

This is the last release of asyncpg that supports Python 3.5, which has reached EOL last September.

Improvements

  • Vastly speedup executemany by batching protocol messages (#295) (by @fantix in 690048db for #295)

  • Allow using custom Record class (by @elprans in db4f1a6c for #577)

  • Add Python 3.9 support (#610) (by @elprans in c05d7260 for #610)

  • Prefer SSL connections by default (#660) (by @elprans in 16183aa0 for #660)

  • Add codecs for a bunch of new builtin types (#665) (by @elprans in b53f0384 for #665)

  • Expose Pool as asyncpg.Pool (#669) (by @rugleb in 0e0eb8d3 for #669)

  • Avoid unnecessary overhead during connection reset (#648) (by @kitogo in ff5da5f9 for #648)

Fixes

  • Add a workaround for bpo-37658 (by @elprans in 2bac166c for #21894)

  • Fix wrong default transaction isolation level (#622) (by @fantix in 4a627d55 for #622)

  • Fix set_type_codec() to accept standard SQL type names (#619)

... (truncated)

Commits
  • 1616076 asyncpg v0.22.0
  • 022d0b5 Don't build aarch64 wheels for now
  • 232adcf docs: fix simple typo, verifiction -> verification (#682)
  • ff5da5f Avoid unnecessary overhead during connection reset (#648)
  • 0dd636f Update README
  • c443374 Adjust executemany() docs
  • c162909 Fix method calls on custom Record subclasses
  • 3d0e23f Update README and setup.py to reflect the current state better
  • 50f65fb Untangle custom codec confusion (#662)
  • 7252dbe Raise proper error on anonymous composite input (tuple arguments) (#664)
  • 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [asyncpg](https://github.com/MagicStack/asyncpg) from 0.19.0 to 0.22.0.
- [Release notes](https://github.com/MagicStack/asyncpg/releases)
- [Commits](MagicStack/asyncpg@v0.19.0...v0.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Feb 11, 2021
@dependabot-preview
Copy link
Author

We've just been alerted that this update fixes a security vulnerability:

Sourced from The GitHub Security Advisory Database.

Access of Uninitialized Pointer

asyncpg before 0.21.0 allows a malicious PostgreSQL server to trigger a crash or execute arbitrary code (on a database client) via a crafted server response, because of access to an uninitialized pointer in the array data decoder.

Affected versions: ["< 0.21.0"]

@dependabot-preview dependabot-preview bot changed the title Bump asyncpg from 0.19.0 to 0.22.0 [Security] Bump asyncpg from 0.19.0 to 0.22.0 Apr 20, 2021
@dependabot-preview dependabot-preview bot added the security Pull requests that address a security vulnerability label Apr 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant