- Dropped Python 3.8 support. If you require it, use version 24.1.0. #204
- Import
os.link
conditionally 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.abspath
andaiofiles.os.getcwd
. #174 - aiofiles is now tested on Python 3.13 too. #184
- Dropped Python 3.7 support. If you require it, use version 23.2.1.
- Import
os.statvfs
conditionally 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.NamedTemporaryFile
now accepts adelete_on_close
argument, just like the stdlib version. - On Python 3.12,
aiofiles.tempfile.NamedTemporaryFile
no longer exposes adelete
attribute, just like the stdlib version. - Added
aiofiles.os.statvfs
andaiofiles.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
,dir
args toaiofiles.tempfile.TemporaryDirectory
. #116
- Added the
aiofiles.tempfile
module for async temporary files. #56 - Switched to Poetry and GitHub actions.
- Dropped 3.5 support.
aiofiles
is now tested on ppc64le.- Added
name
andmode
properties 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/await
instead 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.sendfile
will now work if the standardos
module contains asendfile
function.