# What changed in aiosqlite

> 5 changes in aiosqlite 0.22 from its official release notes, upgrade guides and advisories: 1 breaking, 1 security, 1 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/pypi/aiosqlite/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## aiosqlite 0.22

### Breaking changes

- The project no longer depends on typing_extensions. (0.22.0) — [release notes](https://github.com/omnilib/aiosqlite/blob/9b127cecc7de843bf4f343b6da63b641866533fb/CHANGELOG.md#v0220)

### Security

- Support query access controls through set_authorizer. (0.22.0) — [release notes](https://github.com/omnilib/aiosqlite/blob/9b127cecc7de843bf4f343b6da63b641866533fb/CHANGELOG.md#v0220)

### New APIs and options

- Adds a synchronous method to aiosqlite.Connection for safely cleaning up and terminating the background thread without an active event loop. (0.22.1) — [release notes](https://github.com/omnilib/aiosqlite/blob/9b127cecc7de843bf4f343b6da63b641866533fb/CHANGELOG.md#v0221)

### Behavior and default changes

- A warning is emitted when a connection goes out of scope without being closed. (0.22.0) — [release notes](https://github.com/omnilib/aiosqlite/blob/9b127cecc7de843bf4f343b6da63b641866533fb/CHANGELOG.md#v0220)

### Fixes and other changes

- Closing a connection waits for the transaction queue to complete. (0.22.0) — [release notes](https://github.com/omnilib/aiosqlite/blob/9b127cecc7de843bf4f343b6da63b641866533fb/CHANGELOG.md#v0220)
