All Versions
53
Latest Version
Avg Release Cycle
57 days
Latest Release
718 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v2.4.16 Changes
May 02, 2022๐ Changed
- ๐ Make
fs.zipfs._ZipExtFile
use the seeking mechanism implemented in the Python standard library in Python version 3.7 and later (#527). - Mark
fs.zipfs.ReadZipFS
as a case-sensitive filesystem (#527). - โก๏ธ Optimized moving files between filesystems with syspaths. (#523).
- ๐ Fixed
fs.move.move_file
to clean up the copy on the destination in case of errors. fs.opener.manage_fs
withwriteable=True
will now raise aResourceReadOnly
exception if the managed filesystem is not writeable.- Marked filesystems wrapped with
fs.wrap.WrapReadOnly
as read-only.
- ๐ Make
-
v2.4.15 Changes
February 07, 2022๐ Changed
- ๐ Support more lenient usernames and group names in FTP servers (#507). Closes #506.
- โ Removed dependency on pytz (#518). Closes #516.
๐ Fixed
- ๐ Fixed
MemoryFS.move
andMemoryFS.movedir
not updating the name of moved resources, causingMemoryFS.scandir
to use the old name. (#510). Closes #509. - ๐ Make
WrapFS.move
andWrapFS.movedir
use the delegate FS methods instead offs.move
functions, which was causing optimized implementation ofmovedir
to be always skipped. (#511).
-
v2.4.14 Changes
November 16, 2021โ Added
- Added
fs.copy.copy_file_if
,fs.copy.copy_dir_if
, andfs.copy.copy_fs_if
. Closes #458. - โ Added
fs.base.FS.getmodified
.
๐ Changed
- ๐ FTP servers that do not support the MLST command now try to use the MDTM command to retrieve the last modification timestamp of a resource. Closes #456.
๐ Fixed
- Fixed performance bugs in
fs.copy.copy_dir_if_newer
. Test cases were adapted to catch those bugs in the future. - ๐ Fixed precision bug for timestamps in
fs.OSFS.setinfo
.
- Added
-
v2.4.13 Changes
March 27, 2021โ Added
- โ Added FTP over TLS (FTPS) support to FTPFS. Closes #437, #449.
- ๐ป
PathError
now supports wrapping an exception using theexc
argument. Closes #453. - ๐ Better documentation of the
writable
parameter offs.open_fs
, and hint about usingfs.wrap.read_only
when a read-only filesystem is required. Closes #441. - ๐ Copy and move operations now provide a parameter
preserve_time
that, when passed asTrue
, makes sure the "mtime" of the destination file will be the same as that of the source file.
๐ Changed
- ๐ Make
FS.upload
explicit about the expected error when the parent directory of the destination does not exist. Closes #445. - ๐ Migrate continuous integration from Travis-CI to GitHub Actions and introduce several linters again in the build steps (#448). Closes #446.
- ๐
Stop requiring
pytest
to run tests, allowing any test runner supportingunittest
-style test suites. - ๐
FSTestCases
now builds the large data required forupload
anddownload
tests only once in order to reduce the total testing time. - ๐
MemoryFS.move
andMemoryFS.movedir
will now avoid copying data. Closes #452. - ๐
FS.removetree("/")
behaviour has been standardized in all filesystems, and is expected to clear the contents of the root folder without deleting it. Closes #471. - ๐
FS.getbasic
is now deprecated, as it is redundant withFS.getinfo
, andFS.getinfo
is now explicitly expected to return the basic info namespace unconditionally. Closes #469.
๐ Fixed
- ๐ Make
FTPFile
,MemoryFile
andRawWrapper
acceptarray.array
arguments for thewrite
andwritelines
methods, as expected by their base classio.RawIOBase
. - ๐ Various documentation issues, including
MemoryFS
docstring not rendering properly. - Avoid creating a new connection on every call of
FTPFS.upload
. Closes #455. - ๐
WrapReadOnly.removetree
not raising aResourceReadOnly
when called. Closes #468. WrapCachedDir.isdir
andWrapCachedDir.isfile
raising aResourceNotFound
error on non-existing path (#470).- ๐ง
FTPFS
not listing certain entries with sticky/SUID/SGID permissions set by Linux server (#473). Closes #451. - โ
scandir
iterator not being closed explicitly inOSFS.scandir
, occasionally causing aResourceWarning
to be thrown. Closes #311. - Incomplete type annotations for the
temp_fs
parameter ofWriteTarFS
andWriteZipFS
. Closes #410.
-
v2.4.12 Changes
January 14, 2021โ Added
- Missing
mode
attribute to_MemoryFile
objects returned byMemoryFS.openbin
. - Missing
readinto
method forMemoryFS
andFTPFS
file objects. Closes #380. - โ Added compatibility if a Windows FTP server returns file information to the
LIST
command with 24-hour times. Closes #438. - โ Added Python 3.9 support. Closes #443.
๐ Changed
- โ Start testing on PyPy. Due to #342 we have to treat PyPy builds specially and allow them to fail, but at least we'll be able to see if we break something aside from known issues with FTP tests.
- โ
Include docs in source distributions as well as the whole tests folder,
ensuring
conftest.py
is present, fixes #364. - Stop patching copy with Python 3.8+ because it already uses
sendfile
(#424). Closes #421.
๐ Fixed
- ๐ Fixed crash when CPython's -OO flag is used
- ๐ Fixed error when parsing timestamps from a FTP directory served from a WindowsNT FTP Server. Closes #395.
- Fixed documentation of
Mode.to_platform_bin
. Closes #382. - ๐ Fixed the code example in the "Testing Filesystems" section of the "Implementing Filesystems" guide. Closes #407.
- ๐ Fixed
FTPFS.openbin
not implicitly opening files in binary mode like expected fromopenbin
. Closes #406.
- Missing
-
v2.4.11 Changes
September 07, 2019[2.4.11] - 2019-09-07
โ Added
- โ Added geturl for TarFS and ZipFS for 'fs' purpose. NoURL for 'download' purpose.
- โ Added helpful root path in CreateFailed exception #340
- โ Added Python 3.8 support
๐ Fixed
- ๐ Fixed tests leaving tmp files
- ๐ Fixed typing issues
- ๐ Fixed link namespace returning bytes
- ๐ Fixed broken FSURL in windows #329
- ๐ Fixed hidden exception at fs.close() when opening an absent zip/tar file URL #333
- ๐ Fixed abstract class import from
collections
which would break on Python 3.8 - ๐ Fixed incorrect imports of
mock
on Python 3 - โ Removed some unused imports and unused
requirements.txt
file - โ Added mypy checks to Travis. Closes #332.
- ๐ Fixed missing
errno.ENOTSUP
on PyPy. Closes #338. - ๐ Fixed bug in a decorator that would trigger an
AttributeError
when a class
๐ was created that implemented a deprecated method and had no docstring of its
own.
๐ Changed
-
v2.4.10 Changes
July 29, 2019 -
v2.4.9 Changes
July 28, 2019[2.4.9] - 2019-07-28
๐ Fixed
- โช Restored fs.path import
- ๐ Fixed potential race condition in makedirs. Fixes #310
- โ Added missing methods to WrapFS. Fixed #294
๐ Changed
- ๐
MemFS
now immediately releases all memory it holds whenclose()
is called,
rather than when it gets garbage collected. Closes issue #308. FTPFS
now translatesEOFError
intoRemoteConnectionError
. Closes #292- โ Added automatic close for filesystems that go out of scope. Fixes #298
-
v2.4.8 Changes
June 12, 2019 -
v2.4.7 Changes
June 08, 2019[2.4.7] - 2019-06-08
โ Added
- Flag to OSFS to disable env var expansion