# What changed in aiofile

> 10 changes in aiofile 3 from its official release notes, upgrade guides and advisories: 5 new APIs and options. Each one cited. Sources checked 2026-11-12. HTML: https://unstale.sh/pypi/aiofile/

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

## aiofile 3

### New APIs and options

- Adds a closed attribute. (3.12.1) — [release notes](https://github.com/mosquito/aiofile/releases/tag/3.12.1)
- Adds a clone function. (3.11.0) — [release notes](https://github.com/mosquito/aiofile/releases/tag/3.11.0)
- Added fdsync support. (3.10.0) — [release notes](https://github.com/mosquito/aiofile/releases/tag/3.10.0)
- Added flush support. (3.10.0) — [release notes](https://github.com/mosquito/aiofile/releases/tag/3.10.0)
- Added fsync support. (3.10.0) — [release notes](https://github.com/mosquito/aiofile/releases/tag/3.10.0)

### Performance

- Improved LineReader performance by reducing system calls while containing the tail size. (3.10.0) — [release notes](https://github.com/mosquito/aiofile/releases/tag/3.10.0)

### Fixes and other changes

- Fixes double close() calls. (3.12.1) — [release notes](https://github.com/mosquito/aiofile/releases/tag/3.12.1)
- Fixes read() overshoot. (3.12.1) — [release notes](https://github.com/mosquito/aiofile/releases/tag/3.12.1)
- Fixes a KeyError when reading package metadata on Python 3.14. (3.10.1) — [release notes](https://github.com/mosquito/aiofile/releases/tag/3.10.1)
- Added the missing offset in iter_chunked. (3.10.0) — [release notes](https://github.com/mosquito/aiofile/releases/tag/3.10.0)
