Skip to content

Releases: facelessuser/wcmatch

2.0.3

13 Oct 22:56
4f1c0e9
Compare
Choose a tag to compare

2.0.3

  • FIX: In glob, properly handle files in the current working directory when give a literal pattern that matches it.

2.0.2

12 Oct 15:53
44ff883
Compare
Choose a tag to compare

2.0.2

  • FIX: wcmatch override events (on_error and on_skip) should verify the return is not None and not not falsy.

2.0.1

14 Sep 14:41
71b4a20
Compare
Choose a tag to compare

2.0.1

-FIX: Can't install due to requirements being assigned to setup opposed to install.

2.0.0

25 Aug 19:06
02263bd
Compare
Choose a tag to compare

2.0.0

Breaking Changes

Version 2.0.0 introduces breaking changes in regards to flags. This is meant to bring about consistency amongst the provided libraries. Flag names have been changed in some cases, and logic has been inverted in some cases.

  • NEW: Glob's NOBRACE, NOGLOBSTAR, and NOEXTGLOB flags are now BRACE, GLOBSTAR, and EXTGLOB and now enable the features instead of disabling the features. This logic matches the provided fnmatch and wcmatch.
  • NEW: Glob's DOTGLOB and EXTGLOB also have the respective aliases DOTMATCH and EXTMATCH to provide consistent flags across provided libraries, but the GLOB variants that match Bash's feature names can still be used.
  • NEW: Fnmatch's PERIOD flag has been replaced with DOTMATCH with inverted logic from what was originally provided.
  • NEW: Documentation exposes the shorthand form of flags: FORCECASE --> F, etc.
  • FIX: Wcmatch always documented that it had the flag named EXTMATCH, but internally it was actually EXTGLOB, this was a bug though. EXTMATCH is now the documented and the actual flag to use.

1.0.2

18 Jun 23:12
f62e24d
Compare
Choose a tag to compare

1.0.2

  • FIX: Officially support Python 3.7.

1.0.1

13 Jun 19:37
24670a7
Compare
Choose a tag to compare

1.0.1

  • FIX: Ensure that all patterns in glob that have a directory preceding ** but also end with ** returns the preceding directory.
  • FIX: Fix byte conversion in path normalization.
  • FIX: Ensure POSIX character classes, when at the start of a sequence, properly have hyphens escaped following it. [[:ascii:]-z] should convert to [\x00-\x7f\\-b] not [\x00-\x7f-b].
  • FIX: Fix an issue where we would fail because we couldn't covert raw characters even though raw character parsing was disabled.
  • FIX: Better default for file patterns. Before if no pattern was provided for files, '*' was assumed, now it is '', and if '' is used, all files will be matched. This works better for when full path is enabled as you get the same file matching logic.

1.0.0

06 Jun 03:40
Compare
Choose a tag to compare

1.0.0

  • Initial release