Releases: facelessuser/wcmatch
Releases · facelessuser/wcmatch
2.0.3
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
2.0.2
- FIX:
wcmatch
override events (on_error
andon_skip
) should verify the return is not None and not not falsy.
2.0.1
2.0.1
-FIX: Can't install due to requirements being assigned to setup opposed to install.
2.0.0
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
, andNOEXTGLOB
flags are nowBRACE
,GLOBSTAR
, andEXTGLOB
and now enable the features instead of disabling the features. This logic matches the provided fnmatch and wcmatch. - NEW: Glob's
DOTGLOB
andEXTGLOB
also have the respective aliasesDOTMATCH
andEXTMATCH
to provide consistent flags across provided libraries, but theGLOB
variants that match Bash's feature names can still be used. - NEW: Fnmatch's
PERIOD
flag has been replaced withDOTMATCH
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 actuallyEXTGLOB
, this was a bug though.EXTMATCH
is now the documented and the actual flag to use.
1.0.2
1.0.2
- FIX: Officially support Python 3.7.
1.0.1
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
1.0.0
- Initial release