- Specify files and directories explicitly in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathvalidate?expand=0&rev=21
130 lines
4.8 KiB
Plaintext
130 lines
4.8 KiB
Plaintext
-------------------------------------------------------------------
|
|
Wed Jun 11 05:50:32 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
|
|
|
- Switch to pyproject macros.
|
|
- Specify files and directories explicitly in %files.
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Jan 14 11:12:53 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Aug 31 12:18:51 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
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
|
|
|
|
-------------------------------------------------------------------
|
|
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)
|
|
|
|
-------------------------------------------------------------------
|
|
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.
|
|
|
|
-------------------------------------------------------------------
|
|
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
|
|
|
|
-------------------------------------------------------------------
|
|
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
|
|
|
|
-------------------------------------------------------------------
|
|
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
|
|
|
|
-------------------------------------------------------------------
|
|
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':
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Feb 8 09:47:08 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
|
|
|
- Initial package, version 2.1.0
|