- Nothing yet
- Add
JoinablePath.relative_to()andJoinablePath.is_relative_to().
- Make
vfsopen()try to callopen(), like it did before 0.5.0.
- Add
vfspath(), which returns the virtual filesystem path as a string. - Replace
JoinablePath.__str__()abstract method with__vfspath__(). - Replace
magic_open()withvfsopen(). The new function takes the same arguments. - Replace
ReadablePath.__open_rb__()abstract method with__open_reader__(), and remove buffering argument. - Replace
WritablePath.__open_wb__()abstract method with__open_writer__(), and remove buffering and add mode arguments.
- Set correct
__name__for ABCs andPathParser.
- Emit encoding warnings from
magic_open(),ReadablePath.read_text(), andWritablePath.write_text()at the correct stack level.
- When
magic_open()is called to open a path in binary mode, raiseValueErrorif any of the encoding, errors or newline arguments are given. - In
ReadablePath.glob(), raiseValueErrorwhen given an empty pattern. - In
ReadablePath.glob()andJoinablePath.full_match(), stop acceptingJoinablePathobjects as patterns. Only strings are allowed. - In
ReadablePath.copy()andcopy_into(), stop accepting strings as target paths. OnlyWritablePathobjects are allowed.
- Several months worth of upstream refactoring:
- Rename
PurePathBasetoJoinablePath. - Split
PathBaseintoReadablePathandWritablePath. - Replace
stat()withinfoattribute andPathInfoprotocol. - Remove many nonessential methods.
- Add support for copying between path instances.
- Rename
- Drop support for Python 3.7 and 3.8.
- Add support for Python 3.7.
- Rename
PathModuleBasetoParserBase, andPurePathBase.pathmodtoPurePathBase.parser. - Add
ParserBase.splitext(). - Add
PurePathBase.full_match(). - Treat a single dot ("
.") as a valid file extension. - Revert
match()back to 3.12 behaviour (no recursive wildcards). - Replace
PathBase.glob(follow_symlinks=...)withrecurse_symlinks=.... - Suppress all
OSErrorexceptions fromPathBase.exists()andis_*()methods. - Disallow passing
bytesto initialisers. - Improve walking and globbing performance.
- Expand test coverage.
- Clarify that we're using the PSF license.
- Add
PathModuleBaseABC to support path syntax customization. - Add CI. Thank you Edgar Ramírez Mondragón!
- Return paths with trailing slashes if a glob pattern ends with a slash.
- Return both files and directory paths if a glob pattern ends with
**, rather than directories only. - Improve
PathBase.resolve()performance by avoiding some path object allocations. - Remove
PurePathBase.is_reserved(). - Remove automatic path normalization. Specifically, the ABCs no longer convert alternate separators nor remove either dot or empty segments.
- Remove caching of the path drive, root, tail, and string.
- Remove deprecation warnings and audit events.
- Improve globbing performance by avoiding re-initialising path objects.
- Add docs.
- Initial release.