Features and Improvements
Minor Improvements
Bugfixes
Miscellaneous
Minor Improvements
- Add type hint for most methods from
pathlib2.py
.
🚨 Breaking Change
- Drop support for Python 2.7 and 3.6. Only support Python 3.7+.
Features and Improvements
- Add
Path.atomic_open()
context manager. - Add
T_PATH_ARG
a type hint object forstr
orpathlib.Path
orpathlib_mate.Path
.
Minor Improvements
- Add more tests.
- Now
pathlib_mate
has zero dependencies.
Miscellaneous
- since the atomicwrites package is deprecated (see this announcement), we now use boltons 23.1.1 to provide this feature.
- upgrade pathlib2 to 2.3.7.post1.
- since pathlib_mate only support Python3 from this version, but we still have to use six because
pathlib2
need it. we include the latestsix.py
file in vendor folder as it is to eliminate all dependency. - migrate to cookiecuter-pyproject v3 folder structure.
Minor Improvements
- add
Path.temp_cwd
method.
Minor Improvements
- more coverage test for
Path.make_zip_archive
method
Miscellaneous
- Python2.7 and 3.6 are still supported, but not fully tested.
- now
autopep8
is an optional feature, not a required dependency.
Features and Improvements
- add
dir_here
method. - add
parse_data_size
function.
Minor Improvements
- add lots of API document.
Bugfixes
Miscellaneous
- refact code base, apply type hint almost everywhere, and change code style to black.
Features and Improvements
- add
remove_if_exists
andmkdir_if_not_exists
syntax sugar method.
Features and Improvements
- add
atomic_write_bytes
andatomic_write_text
method. Preventing overwriting existing file with incomplete data. - now
write_text
use "utf-8" encoding by default
Minor Improvements
Bugfixes
Miscellaneous
- Move CI to github Action
Features and Improvements
- type hint support for all method.
Minor Improvements
- since Python2.7 is no longer supported. but pathlib_mate still supports Python2.7, it bump
pathlib2
version to the latest 2.3.5
Bugfixes
Miscellaneous
A stable, rich features, fully tested version.
- First release