Pyfatfs

Latest version: v1.1.0

Safety actively analyzes 623541 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.1.0

-------------------

Added
~~~~~
* (mkfs) `PR 30 <https://github.com/nathanhi/pyfatfs/pull/30>`_: Add support for different FAT12 cluster sizes for filesystems up to 256MB by `zurcher <https://github.com/zurcher>`_ / `Microsoft <https://github.com/Microsoft>`_
* `PR 36 <https://github.com/nathanhi/pyfatfs/pull/36>`_: Add Python 3.12 support by `zurcher <https://github.com/zurcher>`_ / `Microsoft <https://github.com/Microsoft>`_

Fixed
~~~~~

* `34 <https://github.com/nathanhi/pyfatfs/issues/34>`_ (DosDateTime) `PR #35 <https://github.com/nathanhi/pyfatfs/pull/35>`_: Gracefully handle invalid file timestamps by `beckerben <https://github.com/beckerben>`_
* `31 <https://github.com/nathanhi/pyfatfs/issues/31>`_ (FATDirectoryEntry): Handle file sizes larger than 4GB gracefully by responding with ``PyFATException`` and ``errno=E2BIG``
* Properly lock I/O on write operations to avoid issues on concurrent writes

Changed
~~~~~~~

* Deprecated ``FATDirectoryEntry.{g,s}et_size()`` method in favor of ``FATDirectoryEntry.size`` property (will be removed in PyFatFS 2.0)
* Only warn of broken long filename entries, do not fail when encountering them
* Convert given PyFilesystem2 opener string arguments to correct type (e.g., string to int)
* Discard unknown PyFilesystem2 opener arguments, do not pass through to underlying PyFatFS constructor
* Lazy load directory entries for performance and `regex2fat <https://github.com/8051Enthusiast/regex2fat>`_ compatibility
- Introduce ``lazy_load`` parameter to allow restoring previous behavior
- `PR 32 <https://github.com/nathanhi/pyfatfs/pull/32>`_: Fix tree iteration on non-lazy load by `zurcher <https://github.com/zurcher>`_ / `Microsoft <https://github.com/Microsoft>`_
- `PR 33 <https://github.com/nathanhi/pyfatfs/pull/33>`_: Fix missing parent directory entry link on lazy-load by `zurcher <https://github.com/zurcher>`_ / `Microsoft <https://github.com/Microsoft>`_
- `PR 33 <https://github.com/nathanhi/pyfatfs/pull/33>`_: Do not re-populate directory structure from disk on pending entry change by `zurcher <https://github.com/zurcher>`_ / `Microsoft <https://github.com/Microsoft>`_

Removed
~~~~~~~

* `PR 36 <https://github.com/nathanhi/pyfatfs/pull/36>`_: Drop Python 3.6 & 3.7 support by `zurcher <https://github.com/zurcher>`_ / `Microsoft <https://github.com/Microsoft>`_

1.0.5

-------------------

Fixed
~~~~~

* `Issue 26 <https://github.com/nathanhi/pyfatfs/issues/26>`_: Fix deserialization of date and time values ({a,c,m}time)

1.0.4

-------------------

Fixed
~~~~~

* `Issue 24 <https://github.com/nathanhi/pyfatfs/issues/24>`_: Do not reorder directory entries when adding/removing entries in a directory
* `Issue 25 <https://github.com/nathanhi/pyfatfs/issues/25>`_: Properly truncate files when configured for truncating (PyFilesystem2/FatIO)
* Always retain last cluster when truncating a file to 0 bytes
* `Issue 27 <https://github.com/nathanhi/pyfatfs/issues/27>`_: Remove outdated ``Not yet properly implemented`` hint from setinfo docstring

1.0.3

-------------------

Fixed
~~~~~

* `Issue 22 <https://github.com/nathanhi/pyfatfs/issues/22>`_: Properly combine date and time ``DosDateTime`` objects when querying ctime/mtime

1.0.2

-------------------

Fixed
~~~~~

* `PR 23 <https://github.com/nathanhi/pyfatfs/pull/23>`_: Do not try to write FAT if filesystem has been opened read-only by `abrasive <https://github.com/abrasive>`_

1.0.1

-------------------

Fixed
~~~~~

* (mkfs) Handle offset correct in case of multiple partitions.
* (mkfs) `Issue 18 <https://github.com/nathanhi/pyfatfs/issues/18>`_ Add volume label dir entry
* (mkfs) Fix default size detection

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.