Skip to content

Releases: thombashi/pathvalidate

v1.0.0

03 Jan 06:28
v1.0.0
Compare
Choose a tag to compare
  • Drop Python 2 support
  • Modify to use Python 3 functionality
  • Update extras_require
  • Bug fixes
  • Remove a deprecated property

v0.29.1

02 Jan 02:40
v0.29.1
Compare
Choose a tag to compare
  • Fix file path length validation: #10 (Thanks to @UncleGoogle)
  • Add .asc files of packages to PyPI

v0.29.0

16 Jun 16:52
v0.29.0
Compare
Choose a tag to compare
  • Add filename/filepath validators for argparse/click
  • Modify error messages

v0.28.2

18 May 07:31
v0.28.2
Compare
Choose a tag to compare
  • Fix to properly escape special chars for validation error messages: #9 (Thanks to @UncleGoogle)

v0.28.0

01 May 14:51
v0.28.0
Compare
Choose a tag to compare
  • Drop support for Python 3.4

v0.26.0

15 Mar 22:17
v0.26.0
Compare
Choose a tag to compare
  • Add support for NTFS reserved names
  • Improve drive letter handling

v0.25.0

14 Mar 16:06
v0.25.0
Compare
Choose a tag to compare
  • Add CLOCK$ as a reserved filename for Windows platform: #8 (Thanks to @sparr)
  • Improve reserved name detection
  • Add reserved_name property to ReservedNameError class

v0.24.1

12 Feb 09:32
v0.24.1
Compare
Choose a tag to compare
  • Fix improper error messages
  • Improve error message readability

v0.24.0

03 Feb 08:51
v0.24.0
Compare
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
Compare
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