Skip to content

Releases: thombashi/pathvalidate

v0.24.0

03 Feb 08:51
v0.24.0

Choose a tag to compare

  • Add is_valid_filename/is_valid_filepath function
  • Add FileNameSanitizer/FilePathSanitizer classes
  • Add minimum length validation support
  • Remove deprecated functions

v0.23.0

06 Jan 03:02

Choose a tag to compare

  • Improve sanitization/validation for files
  • Add . and .. as reserved keywords for files
  • Add limit to max_filename_len
  • Fix platform specific sanitization: #7
  • Fix reserved keywords sanitization/validation for files
  • Integrate InvalidCharWindowsError into InvalidCharError
  • Change to use ReservedNameError instead of InvalidReservedNameError
  • Breaking changes
    • Rename a property for FileSanitizer from platform_name to platform
    • Rename methods argument from platform_name to platform

v0.22.0

23 Dec 14:30

Choose a tag to compare

  • Add universal (platform independent) filename/filepath sanitization/validation
  • Treat ASCII whitespace other than normal space as invalid on Windows #6 (Thanks to @nyuszika7h)

v0.21.1

28 Jul 05:05

Choose a tag to compare

  • Add support for PathLike object
  • Bug fixes

v0.18.0

07 Jul 07:57

Choose a tag to compare

  • Add validations/sanitizations for unprintable characters
  • Add support for Python 3.7

v0.15.0

18 Mar 13:23

Choose a tag to compare

  • Remove package dependencies
    • pathvalidate functions are expected to passing unicode strings.

v0.14.0

11 Feb 14:23

Choose a tag to compare

  • Change max file name/path length to configurable
  • Add support for Python 3.6
  • Bug fixes

v0.13.0

03 Jan 07:54

Choose a tag to compare

  • Add JavaScript validator/sanitizer
  • Bug fixes

v0.11.0

25 Dec 16:36

Choose a tag to compare

  • Add multibyte character validate/sanitize support

v0.10.0

23 Dec 11:02

Choose a tag to compare

  • Add LTSV support