Releases: facelessuser/wcmatch
Releases · facelessuser/wcmatch
2.1.0
2.1.0
- NEW: Deprecate
versionandversion_infoin favor of the more standard__version__and__version_info__. - FIX: Fix issue where negated patterns would trigger before end of path.
- FIX: Fix
GLOBSTARregular expression pattern issues.
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:
wcmatchoverride events (on_errorandon_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, andNOEXTGLOBflags are nowBRACE,GLOBSTAR, andEXTGLOBand now enable the features instead of disabling the features. This logic matches the provided fnmatch and wcmatch. - NEW: Glob's
DOTGLOBandEXTGLOBalso have the respective aliasesDOTMATCHandEXTMATCHto provide consistent flags across provided libraries, but theGLOBvariants that match Bash's feature names can still be used. - NEW: Fnmatch's
PERIODflag has been replaced withDOTMATCHwith 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.EXTMATCHis 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
globthat 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