Skip to content

Releases: facelessuser/wcmatch

10.0

26 Sep 18:39
Compare
Choose a tag to compare

10.0

  • NEW: Added GLOBSTARLONG which adds support for the Zsh style *** which acts like ** with GLOBSTAR but
    but traverses symlinks.
  • NEW: pathlib.match will respect symlink rules (when the REALPATH flag is given). Hidden file rules will
    be respected at all times. Enable DOTALL to match hidden files.
  • NEW: Symlinks should not be traversed when GLOBSTAR is enabled unless FOLLOW is also enabled, but they
    should still be matched. Prior to this change, symlinks were not traversed and they were ignored from matching
    which contradicts how Bash works and could be confusing to users.
  • FIX: Fix some inconsistencies with globmatch and symlink handling when REALPATH is enabled.

9.0

03 Aug 04:05
2939d2a
Compare
Choose a tag to compare
9.0

9.0

  • NEW: Remove deprecated function glob.raw_escape.
  • NEW: Officially support Python 3.13.

8.5.2

15 May 12:50
dd0b3c2
Compare
Choose a tag to compare

8.5.2

  • FIX: Fix pathlib issue with inheritance on Python versions greater than 3.12.
  • FIX: Fix EXTMATCH case with !(...) patterns.

8.5.1

20 Feb 17:18
6d105d1
Compare
Choose a tag to compare

8.5.1

  • FIX: Fix issue with type check failure in wcmatch.glob.

8.5

30 Aug 21:08
ff57d25
Compare
Choose a tag to compare
8.5

8.5

  • NEW: Formally support Python 3.11 (no change).
  • NEW: Add support for Python 3.12 (pathlib changes).
  • NEW: Drop Python 3.7 support.
  • FIX: Fix handling of current directory when magic and non-magic patterns are mixed in glob pattern list.

8.4.1

19 Sep 23:14
d8f2835
Compare
Choose a tag to compare

8.4.1

  • FIX: Windows drive path separators should normalize like other path separators.
  • FIX: Fix a Windows pattern parsing issue that caused absolute paths with ambiguous drives to not parse correctly.

8.4

31 May 00:27
Compare
Choose a tag to compare
8.4

8.4

  • NEW: Drop support for Python 3.6.
  • NEW: Switch to Hatch backend instead of Setuptools.
  • NEW: Add new exclude option to fnmatch, pathlib, and glob methods that allows exclusion patterns to be
    specified directly without needing to enable NEGATE and prepend patterns with !. exclude accepts a separate
    pattern or pattern list. exclude should not be used in conjunction with NEGATE. One or the other should be used.

8.3

02 Nov 23:03
Compare
Choose a tag to compare
8.3

8.3

  • NEW: Officially support Python 3.10.
  • NEW: Provide type hints for API.
  • FIX: Gracefully handle calls with an empty pattern list.

8.2

21 May 16:09
Compare
Choose a tag to compare
8.2

8.2

  • NEW: Add support for dir_fd in glob patterns.
  • FIX: Small fix for Python 3.10 Beta 1 and pathlib.

8.1.2

10 Mar 04:04
Compare
Choose a tag to compare

8.1.2

  • FIX: fnmatch.translate no longer requires users to normalize their Windows paths for comparison. Previously, portions of the translate regex handled both / and \\, while other portions did not. This inconsistent handling forced users to normalize paths for reliable matching. Now all of the generated regex should handle both / and \\.
  • FIX: On Linux/Unix systems, a backslash should not be assumed literal if it is followed by a forward slash. Backslash is magic on all systems, and an escaped forward slash is still counted as a forward slash, not a backslash and forward slash.
  • FIX: A trailing backslash that is not escaped via another backslash should not be assumed as a backslash. Since it is escaping nothing, it will be ignored. Literal backslashes on any system must be escaped.