Releases: PHLAK/Splat
Releases · PHLAK/Splat
v5.0.1
v5.0.0
v4.0.1
v4.0.0
Changed
- Refactored
Glob
to use static methods - Introduced the
Pattern
class
Detailed changelog: 3.1.0...4.0.0
v3.1.0
v3.0.0
Changed
- Renamed library to "Splat" (
phlak/splat
) - Explicitly bumped minimum PHP version to 7.2 (this was already required by
symfony/finder
)
Detailed changelog: 2.1.0...3.0.0
v2.1.0
Changed
- Internally cache
Glob::toRegex()
method (improves performance when calling the sameGlob
object)
Detailed changelog: 2.0.0...2.1.0
v2.0.0
Added
- Added
Glob::in()
method for retrieving a list of files in a directory matching a pattern - Added
Glob::filter()
andGlob::rejecet()
methods for filtering arrays of strings by a glob pattern - Added
Glob::escape()
method for escaping glob pattern characters in a string - Added
Glob::directorySeparator()
method for overriding the directory separator
Changed
- Use the OS configured directory separator for matching
*
and**
- Forward slash (
/
) on Mac/Linux - Back slash (
\
) on Windows
- Forward slash (
Detailed changelog: 1.0.0...2.0.0