Skip to content

2.0.0

Choose a tag to compare

@facelessuser facelessuser released this 25 Aug 19:06
02263bd

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.