Releases: thombashi/pathvalidate
Releases · thombashi/pathvalidate
v2.4.0
- Add
exclude_symbols
argument to replace_symbol
function
- Fix permissions of files included in
sdist
package binary (Thanks to @hegjon)
v2.3.2
- Fix to disallow file name/path that only white spaces for
universal
platform
v2.3.1
- Modify to accept file name/path that consists only whitespaces: #15 (Thank to @Traktormaster)
v2.3.0
- Change not to process for
"."
/".."
by sanitization functions: #13 (Thanks to @ProfElectric)
- Change to normalize with
sanitize_filepath
in default
- Add normalize interface to
sanitize_filepath
v2.2.2
- Improve file path validation for Windows platform: #12 (Thanks to @bschollnick)
- Fix
__str__
method
- Fix to avoid raise an exception when an absolute path includes
"."
/".."
- Modify an error message
- Modify raising exception from
NullNameError
to ValidationError
of validate_pathtype
v2.2.1
- Fix to include
py.typed
to the package
v2.2.0
- Add
POSIX
as a platform
- Add a reserved keyword for macOS
- Change platform of
validate_filepath_arg
/sanitize_filepath_arg
to 'auto'
: #11 (Thanks to @freelanceAndy)
v2.1.0
- Add
check_reserved
argument to validate/sanitize functions
- Add
'/'
as a reserved file path for Linux/macOS
- Suppress errors when sanitizing null values
- Fix
max_len
value check for file names
- Include type annotation information to the package
- Remove
dev
extras_require
- Bug fixes
v2.0.0
- Change to be more strict validation for absolute paths
- Fix argparse validator/sanitizer failed when empty inputs
- Bug fixes
v1.1.0
- Modify validate/sanitize functions for
argparse
- Modify validate/sanitize functions for
click
- Update
dev
extras