Skip to content

Releases: PHLAK/Splat

v5.0.1

30 Mar 16:21
e74fcfe
Compare
Choose a tag to compare

Fixed

  • Fixed some characters being improperly escaped within character groups

v5.0.0

27 Mar 16:39
2c93400
Compare
Choose a tag to compare

Changed

  • Bumped minimum supported PHP version to 8.0

Fixed

  • Fixed character handling within character groups (Thanks @vlakoff!)

v4.0.1

14 Dec 21:33
eb87ed6
Compare
Choose a tag to compare

Fixed

  • Fixed Pattern::escape() not returning a string

v4.0.0

17 May 01:03
a3da691
Compare
Choose a tag to compare

Changed

  • Refactored Glob to use static methods
  • Introduced the Pattern class

Detailed changelog: 3.1.0...4.0.0

v3.1.0

10 Oct 06:29
a57702e
Compare
Choose a tag to compare

Added

  • Added lookahead assertions

Detailed changelog: 3.0.0...3.1.0

v3.0.0

15 May 17:11
4fa09d6
Compare
Choose a tag to compare

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

11 May 20:57
9d0d084
Compare
Choose a tag to compare

Changed

  • Internally cache Glob::toRegex() method (improves performance when calling the same Glob object)

Detailed changelog: 2.0.0...2.1.0

v2.0.0

07 May 22:20
95c93ae
Compare
Choose a tag to compare

Added

  • Added Glob::in() method for retrieving a list of files in a directory matching a pattern
  • Added Glob::filter() and Glob::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

Detailed changelog: 1.0.0...2.0.0

v1.0.0

11 May 20:54
6a58c51
Compare
Choose a tag to compare

Initial stable release.

v0.1.0

30 Apr 23:21
2c03a67
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

First pre-release.