--- - branch: MAIN date: Mon Nov 27 20:30:58 UTC 2023 files: - new: '1.4' old: '1.3' path: pkgsrc/devel/py-pathvalidate/Makefile pathrev: pkgsrc/devel/py-pathvalidate/Makefile@1.4 type: modified - new: '1.2' old: '1.1' path: pkgsrc/devel/py-pathvalidate/PLIST pathrev: pkgsrc/devel/py-pathvalidate/PLIST@1.2 type: modified - new: '1.2' old: '1.1' path: pkgsrc/devel/py-pathvalidate/distinfo pathrev: pkgsrc/devel/py-pathvalidate/distinfo@1.2 type: modified id: 20231127T203058Z.2e854460ed0afcbf73db05e0ae035bb5709ff28d log: | py-pathvalidate: updated to 3.2.0 v3.2.0 Add reserved_name_handler argument to sanitize_filename function and sanitize_filepath function Add NullValueHandler class and ReservedNameHandler class Add fs_encoding property and byte_count property to ValidationError class Add additional_reserved_names argument to validate/sanitize functions to allow custom reserved names Modify the return value format of ValidationError.__str__ method Improve type annotations v3.1.0 Fix validation error messages to show the target-platform properly Fix README: out of date with the actual error generated by validate_filename Add description property to ErrorReason class Add as_slog method to ValidationError class Add docs extras Change the type of the return value of ValidationError.reason from Optional[ErrorReason] to ErrorReason Update [build-system] Drop support for Python 3.6 v3.0.0 Trim heading spaces in Windows Consider filesystem encoding for length calculations Fix type model Fix sanitizing of filenames that only consist of whitespaces and periods Add validate_unprintable_char function Add validate_after_sanitize keyword argument to sanitize_filename and sanitize_filepath functions Add error codes to ErrorReason Add zip_safe=False to setup Modify to accept pathvalidate.Platform type as platform arguments Rename type alias from Handler to NullValueHandler Remove InvalidLengthError to use ValidationError Improve type annotations Make it possible to import FileNameValidator and FilePathValidator classes from the package root Change constructor arguments of FileNameSanitizer and FilePathSanitizer classes Remove min_len Add validator Remove deprecated functions Modify error messages Refactoring module: pkgsrc subject: 'CVS commit: pkgsrc/devel/py-pathvalidate' unixtime: '1701117058' user: adam