- Switch to uv + add Python v3.14 support. (#219)
- Add
ruffformatter and linter. #216 - Drop Python 3.8 support. If you require it, use version 24.1.0. #204
- Import
os.linkconditionally to fix importing on android. #175 - Remove spurious items from
aiofiles.os.__all__when running on Windows. - Switch to more modern async idioms: Remove types.coroutine and make AiofilesContextManager an awaitable instead a coroutine.
- Add
aiofiles.os.path.abspathandaiofiles.os.getcwd. #174 - aiofiles is now tested on Python 3.13 too. #184
- Drop Python 3.7 support. If you require it, use version 23.2.1.
- Import
os.statvfsconditionally to fix importing on non-UNIX systems. #171 #172 - aiofiles is now also tested on Windows.
- aiofiles is now tested on Python 3.12 too. #166 #168
- On Python 3.12,
aiofiles.tempfile.NamedTemporaryFilenow accepts adelete_on_closeargument, just like the stdlib version. - On Python 3.12,
aiofiles.tempfile.NamedTemporaryFileno longer exposes adeleteattribute, just like the stdlib version. - Added
aiofiles.os.statvfsandaiofiles.os.path.ismount. #162 - Use PDM instead of Poetry. #169
- Added
aiofiles.os.access. #146 - Removed
aiofiles.tempfile.temptypes.AsyncSpooledTemporaryFile.softspace. #151 - Added
aiofiles.stdin,aiofiles.stdin_bytes, and other stdio streams. #154 - Transition to
asyncio.get_running_loop(vsasyncio.get_event_loop) internally.
- Added
aiofiles.os.path.islink. #126 - Added
aiofiles.os.readlink. #125 - Added
aiofiles.os.symlink. #124 - Added
aiofiles.os.unlink. #123 - Added
aiofiles.os.link. #121 - Added
aiofiles.os.renames. #120 - Added
aiofiles.os.{listdir, scandir}. #143 - Switched to CalVer.
- Dropped Python 3.6 support. If you require it, use version 0.8.0.
- aiofiles is now tested on Python 3.11.
- aiofiles is now tested on Python 3.10.
- Added
aiofiles.os.replace. #107 - Added
aiofiles.os.{makedirs, removedirs}. - Added
aiofiles.os.path.{exists, isfile, isdir, getsize, getatime, getctime, samefile, sameopenfile}. #63 - Added
suffix,prefix,dirargs toaiofiles.tempfile.TemporaryDirectory. #116
- Added the
aiofiles.tempfilemodule for async temporary files. #56 - Switched to Poetry and GitHub actions.
- Dropped 3.5 support.
aiofilesis now tested on ppc64le.- Added
nameandmodeproperties to async file objects. #82 - Fixed a DeprecationWarning internally. #75
- Python 3.9 support and tests.
- Python 3.8 support. Code base modernization (using
async/awaitinstead ofasyncio.coroutine/yield from). - Added
aiofiles.os.remove,aiofiles.os.rename,aiofiles.os.mkdir,aiofiles.os.rmdir. #62
- Python 3.7 support.
- Removed Python 3.3/3.4 support. If you use these versions, stick to aiofiles 0.3.x.
- The LICENSE is now included in the sdist. #31
- Introduced a changelog.
aiofiles.os.sendfilewill now work if the standardosmodule contains asendfilefunction.