Skip to content

Commit 41bbe3c

Browse files
committed
Update CHANGELOG.md with changes introduced in #467
1 parent 41fd7ef commit 41bbe3c

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1515
[#449](https://github.com/PyFilesystem/pyfilesystem2/pull/449).
1616
- `PathError` now supports wrapping an exception using the `exc` argument.
1717
Closes [#453](https://github.com/PyFilesystem/pyfilesystem2/issues/453).
18+
- Better documentation of the `writable` parameter of `fs.open_fs`, and
19+
hint about using `fs.wrap.read_only` when a read-only filesystem is
20+
required. Closes [#441](https://github.com/PyFilesystem/pyfilesystem2/issues/441).
1821

1922
### Changed
2023

@@ -28,7 +31,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2831
- `FSTestCases` now builds the large data required for `upload` and `download` tests only
2932
once in order to reduce the total testing time.
3033
- `MemoryFS.move` and `MemoryFS.movedir` will now avoid copying data.
31-
Closes [#452](https://github.com/PyFilesystem/pyfilesystem2/issues/452).
34+
Closes [#452](https://github.com/PyFilesystem/pyfilesystem2/issues/452).
35+
- `FS.removetree("/")` behaviour has been standardized in all filesystems, and
36+
is expected to clear the contents of the root folder without deleting it.
37+
Closes [#471](https://github.com/PyFilesystem/pyfilesystem2/issues/471).
38+
- `FS.getbasic` is now deprecated, as it is redundant with `FS.getinfo`,
39+
and `FS.getinfo` is now explicitly expected to return the *basic* info
40+
namespace unconditionally. Closes [#469](https://github.com/PyFilesystem/pyfilesystem2/issues/469).
3241

3342
### Fixed
3443

@@ -40,8 +49,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4049
- `WrapCachedDir.isdir` and `WrapCachedDir.isfile` raising a `ResourceNotFound` error on non-existing path ([#470](https://github.com/PyFilesystem/pyfilesystem2/pull/470)).
4150
- `FTPFS` not listing certain entries with sticky/SUID/SGID permissions set by Linux server ([#473](https://github.com/PyFilesystem/pyfilesystem2/pull/473)).
4251
Closes [#451](https://github.com/PyFilesystem/pyfilesystem2/issues/451).
43-
- `scandir` iterator not being closed explicitly in `OSFS.scandir`, occasionally causing a `ResourceWarning`
52+
- `scandir` iterator not being closed explicitly in `OSFS.scandir`, occasionally causing a `ResourceWarning`
4453
to be thrown. Closes [#311](https://github.com/PyFilesystem/pyfilesystem2/issues/311).
54+
- Incomplete type annotations for the `temp_fs` parameter of `WriteTarFS` and `WriteZipFS`.
55+
Closes [#410](https://github.com/PyFilesystem/pyfilesystem2/issues/410).
4556

4657

4758
## [2.4.12] - 2021-01-14

0 commit comments

Comments
 (0)