Skip to content

Releases: PyFilesystem/pyfilesystem2

API Refresh

02 Jan 21:06
d6cf403
Compare
Choose a tag to compare

[2.2.0] - 2019-01-01

A few methods have been renamed for greater clarity (but functionality remains the same).

The old methods are now aliases and will continue to work, but will
issue a deprecation warning via the warnings module.
Please update your code accordingly.

  • getbytes -> readbytes
  • getfile -> download
  • gettext -> readtext
  • setbytes -> writebytes
  • setbinfile -> upload
  • settext -> writetext

Changed

  • Changed default chunk size in copy_file_data to 1MB
  • Added chunk_size and options to FS.upload

v2.1.3: Opener refinements (#245)

24 Dec 14:35
5c362e4
Compare
Choose a tag to compare

[2.1.3] - 2018-12-24

Fixed

  • Incomplete FTPFile.write when using workers @geoffjukes
  • Fixed AppFS not creating directory

Added

v2.1.2

10 Nov 11:33
Compare
Choose a tag to compare

[2.1.2] - 20180-11-10

Added

  • Support for Windows NT FTP servers @sspross

Fixed

  • Root dir of MemoryFS accessible as a file
  • Packaging issues @televi
  • Deprecation warning re collections.Mapping

v2.1.1: Py.typed (#218)

03 Oct 11:08
5643bad
Compare
Choose a tag to compare

[2.1.1] - 2018-10-03

Added

  • Added PEP 561 py.typed files
  • Use sendfile for faster copies @althonos
  • Atomic exclusive mode in Py2.7 @sqwishy

Fixed

v2.1.0: implementation of glob (#209)

12 Aug 13:50
9e4d4b9
Compare
Choose a tag to compare

[2.1.0] - 2018-08-12

Added

  • fs.glob support

v2.0.27

05 Aug 10:14
Compare
Choose a tag to compare

[2.0.27] - 2018-08-05

Fixed

v2.0.26

26 Jul 16:09
Compare
Choose a tag to compare

Fixed

  • fs.copy and fs.move disable workers if not thread-safe
  • fs.match detects case insensitivity
  • Open in exclusive mode is atomic (@squishy)
  • Exceptions can be pickleabe (@Spacerat)

v2.0.25: Parallel copy (#188)

20 Jul 16:01
8ef6b05
Compare
Choose a tag to compare

Added

  • workers parameter to fs.copy, fs.move, and fs.mirror for concurrent
    copies

v2.0.24

28 Jun 12:54
Compare
Choose a tag to compare

[2.0.24] - 2018-06-28

Added timeout to FTP opener

v2.0.23

19 May 17:49
Compare
Choose a tag to compare

[2.0.23] - 2018-05-02

  • Fix for Markdown on PyPi, no code changes

[2.0.22] - 2018-05-02

Fixed

  • Handling of broken unicode on Python2.7

Added

  • Added fs.getospath