Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency pathvalidate to v3 #88

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 29, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pathvalidate (changelog) <3.0.0,>=2.5.2 -> <3.3.0,>=3.2.3 age adoption passing confidence

Release Notes

thombashi/pathvalidate (pathvalidate)

v3.2.3

Compare Source

What's Changed

Full Changelog: thombashi/pathvalidate@v3.2.2...v3.2.3

[Changes][v3.2.3]

v3.2.2

Compare Source

  • Fix the detection logic of the reservation words for the file name on Windows: #​57 (Thanks to @​jplarocque)
  • Drop support for Python 3.7/3.8
  • Refactor type annotations

Full Changelog: thombashi/pathvalidate@v3.2.1...v3.2.2

[Changes][v3.2.2]

v3.2.1

Compare Source

What's Changed

  • Test Python 3.12 in CIs by @​MatthieuDartiailh in #​40
  • Bump actions/setup-python from 4 to 5 by @​dependabot in #​36
  • Bump actions/upload-artifact from 3 to 4 by @​dependabot in #​38
  • Bump actions/download-artifact from 3 to 4 by @​dependabot in #​37
  • Fix CI by @​thombashi in #​41
  • Update the CI workflow to include a job that publishes packages to TestPyPI by @​thombashi in #​42
  • Fix coverage report by @​thombashi in #​45
  • Fix sanitize_filename truncation by @​7x11x13 in #​48
  • Fix validation functions of filepaths by @​thombashi in #​55
    • 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 by @​thombashi in #​56
  • Improve type annotations
  • Add a build and publish workflow
  • Add Sigstore signatures to release assets
  • Update copyright year to include the last update year: #​54 (Thanks to @​Flimm)
  • Add CHANGELOG

New Contributors

Full Changelog: thombashi/pathvalidate@v3.2.0...v3.2.1

[Changes][v3.2.1]

v3.2.0

Compare Source

  • 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

Full Changelog: thombashi/pathvalidate@v3.1.0...v3.2.0

[Changes][v3.2.0]

v3.1.0

Compare Source

  • 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

Full Changelog: thombashi/pathvalidate@v3.0.0...v3.1.0

[Changes][v3.1.0]

v3.0.0

Compare Source

What's Changed

  • Trim heading spaces in Windows by @​eggplants in #​28
  • Consider filesystem encoding for length calculations: #​26 (Thanks to @​virlos)
  • Fix type model: #​29 (Thanks to @​rogalski)
  • 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

Full Changelog: thombashi/pathvalidate@v2.5.2...v3.0.0

[Changes][v3.0.0]


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Oct 29, 2023
@renovate renovate bot force-pushed the renovate/pathvalidate-3.x branch from eecacac to e3316ea Compare December 30, 2023 13:28
@renovate renovate bot changed the title fix(deps): update dependency pathvalidate to v3 chore(deps): update dependency pathvalidate to v3 Dec 30, 2023
@renovate renovate bot force-pushed the renovate/pathvalidate-3.x branch from e3316ea to 7b1309f Compare August 23, 2024 09:47
@renovate renovate bot force-pushed the renovate/pathvalidate-3.x branch 8 times, most recently from 2e185d4 to 63ec255 Compare October 11, 2024 03:52
@renovate renovate bot force-pushed the renovate/pathvalidate-3.x branch from 63ec255 to 4de69a5 Compare October 11, 2024 07:03
@renovate renovate bot changed the title chore(deps): update dependency pathvalidate to v3 fix(deps): update dependency pathvalidate to v3 Oct 28, 2024
@renovate renovate bot force-pushed the renovate/pathvalidate-3.x branch 5 times, most recently from dd04a6e to 45e7294 Compare November 15, 2024 10:44
@renovate renovate bot force-pushed the renovate/pathvalidate-3.x branch from 45e7294 to c389207 Compare January 6, 2025 04:30
@renovate renovate bot force-pushed the renovate/pathvalidate-3.x branch from c389207 to fa7a3bd Compare January 6, 2025 04:32
@bhrevol bhrevol merged commit 35bcf7f into main Jan 6, 2025
4 of 12 checks passed
@bhrevol bhrevol deleted the renovate/pathvalidate-3.x branch January 6, 2025 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant