af499ca70b
- Update to 3.2.3 * Fix dot-files validation - from version 3.2.2 * Fix the detection logic of the reservation words for the file name on Windows * Drop support for Python 3.7/3.8 * Refactor type annotations
Nico Krapp2025-01-14 13:36:41 +00:00
7be160c94a
- update to 3.2.1: * Test Python 3.12 in CIs * Fix coverage report * Fix sanitize_filename truncation * Fix validation functions of filepaths * If platform argument is windows or universal, filepaths ending with a space or a period should be detected as an error * Fix POSIX-style absolute paths were not detected as errors with platform="windows" or platform="universal" on Python 3.12 and below * Add support for Python 3.13 * Improve type annotations * Add a build and publish workflow * Add Sigstore signatures to release assets
Dirk Mueller2024-08-31 12:19:37 +00:00
10b0ac5be1
- update to 3.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 - update to 3.1.0: * Fix validation error messages to show the target-platform properly: #34 (Thanks to @matanster) * Fix README: out of date with the actual error generated by validate_filename#35 (Thanks to @hXtreme) * 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
Dirk Mueller2023-12-09 10:07:13 +00:00
04394bcc60
- Update to version 2.5.2 * Add support for Python 3.11: #22 (Thanks to @hegjon) - v2.5.1 * Add __all__ by @eggplants in #24 * Add DeprecationWarning to deprecated functions - v2.5.0 * Add support for Python 3.10 * Drop support for Python 3.5 * Add null_value_handler argument to sanitize_filename/sanitize_filepath functions: #20 (Thanks to @ mkbloke) * Add AbstractSanitizer/AbstractValidator classes to import path * Add replace_ansi_escape function * Add setup-ci target to Makefile * Modify min_len/max_len to use default values when assigned minus values - v2.4.1 * Fix filename validations that include '\' (backslash) on other than Windows: #18 (Thanks to @Traktormaster)
Daniel Garcia2023-02-24 12:57:42 +00:00