2023-12-09 10:07:13 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sat Dec 9 10:06:13 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
|
|
|
|
|
|
|
|
- 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
|
|
|
|
|
|
2023-02-24 12:57:42 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Fri Feb 24 12:52:28 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
|
|
|
|
|
|
|
|
|
- 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)
|
|
|
|
|
|
2021-03-22 22:15:52 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sun Mar 21 13:33:57 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
|
|
|
|
|
|
|
|
|
- Update to version 2.4.0
|
|
|
|
|
* Add exclude_symbols argument to replace_symbol function.
|
|
|
|
|
* Fix permissions of files included in sdist package binary.
|
|
|
|
|
|
2020-11-27 13:18:06 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Thu Nov 26 10:16:44 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
|
|
|
|
|
|
|
|
|
- Update to v2.3.0
|
|
|
|
|
* Change not to process for "."/".." by sanitization functions
|
|
|
|
|
* Change to normalize with sanitize_filepath in default
|
|
|
|
|
|
2020-03-28 14:10:23 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sat Mar 28 12:35:30 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
|
|
|
|
|
|
|
|
|
- Update to version 2.2.2
|
|
|
|
|
* 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
|
|
|
|
|
|
2020-03-20 18:27:50 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Fri Mar 20 16:48:47 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
|
|
|
|
|
|
|
|
|
- Update to version 2.2.1
|
|
|
|
|
* Fix to include py.typed to the package
|
|
|
|
|
|
2020-02-16 12:15:24 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sun Feb 16 09:54:22 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
|
|
|
|
|
|
|
|
|
- Update to version 2.2.0
|
|
|
|
|
* Add POSIX as a platform
|
|
|
|
|
* Change platform of validate_filepath_arg/sanitize_filepath_arg
|
|
|
|
|
to 'auto':
|
|
|
|
|
|
2020-02-10 08:27:18 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sat Feb 8 09:47:08 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
|
|
|
|
|
|
|
|
|
- Initial package, version 2.1.0
|