| 1 |
CHANGELOG |
| 2 |
========= |
| 3 |
|
| 4 |
6.4 |
| 5 |
--- |
| 6 |
|
| 7 |
* Add early directory pruning to `Finder::filter()` |
| 8 |
|
| 9 |
6.2 |
| 10 |
--- |
| 11 |
|
| 12 |
* Add `Finder::sortByExtension()` and `Finder::sortBySize()` |
| 13 |
* Add `Finder::sortByCaseInsensitiveName()` to sort by name with case insensitive sorting methods |
| 14 |
|
| 15 |
6.0 |
| 16 |
--- |
| 17 |
|
| 18 |
* Remove `Comparator::setTarget()` and `Comparator::setOperator()` |
| 19 |
|
| 20 |
5.4.0 |
| 21 |
----- |
| 22 |
|
| 23 |
* Deprecate `Comparator::setTarget()` and `Comparator::setOperator()` |
| 24 |
* Add a constructor to `Comparator` that allows setting target and operator |
| 25 |
* Finder's iterator has now `Symfony\Component\Finder\SplFileInfo` inner type specified |
| 26 |
* Add recursive .gitignore files support |
| 27 |
|
| 28 |
5.0.0 |
| 29 |
----- |
| 30 |
|
| 31 |
* added `$useNaturalSort` argument to `Finder::sortByName()` |
| 32 |
|
| 33 |
4.3.0 |
| 34 |
----- |
| 35 |
|
| 36 |
* added Finder::ignoreVCSIgnored() to ignore files based on rules listed in .gitignore |
| 37 |
|
| 38 |
4.2.0 |
| 39 |
----- |
| 40 |
|
| 41 |
* added $useNaturalSort option to Finder::sortByName() method |
| 42 |
* the `Finder::sortByName()` method will have a new `$useNaturalSort` |
| 43 |
argument in version 5.0, not defining it is deprecated |
| 44 |
* added `Finder::reverseSorting()` to reverse the sorting |
| 45 |
|
| 46 |
4.0.0 |
| 47 |
----- |
| 48 |
|
| 49 |
* removed `ExceptionInterface` |
| 50 |
* removed `Symfony\Component\Finder\Iterator\FilterIterator` |
| 51 |
|
| 52 |
3.4.0 |
| 53 |
----- |
| 54 |
|
| 55 |
* deprecated `Symfony\Component\Finder\Iterator\FilterIterator` |
| 56 |
* added Finder::hasResults() method to check if any results were found |
| 57 |
|
| 58 |
3.3.0 |
| 59 |
----- |
| 60 |
|
| 61 |
* added double-star matching to Glob::toRegex() |
| 62 |
|
| 63 |
3.0.0 |
| 64 |
----- |
| 65 |
|
| 66 |
* removed deprecated classes |
| 67 |
|
| 68 |
2.8.0 |
| 69 |
----- |
| 70 |
|
| 71 |
* deprecated adapters and related classes |
| 72 |
|
| 73 |
2.5.0 |
| 74 |
----- |
| 75 |
* added support for GLOB_BRACE in the paths passed to Finder::in() |
| 76 |
|
| 77 |
2.3.0 |
| 78 |
----- |
| 79 |
|
| 80 |
* added a way to ignore unreadable directories (via Finder::ignoreUnreadableDirs()) |
| 81 |
* unified the way subfolders that are not executable are handled by always throwing an AccessDeniedException exception |
| 82 |
|
| 83 |
2.2.0 |
| 84 |
----- |
| 85 |
|
| 86 |
* added Finder::path() and Finder::notPath() methods |
| 87 |
* added finder adapters to improve performance on specific platforms |
| 88 |
* added support for wildcard characters (glob patterns) in the paths passed |
| 89 |
to Finder::in() |
| 90 |
|
| 91 |
2.1.0 |
| 92 |
----- |
| 93 |
|
| 94 |
* added Finder::sortByAccessedTime(), Finder::sortByChangedTime(), and |
| 95 |
Finder::sortByModifiedTime() |
| 96 |
* added Countable to Finder |
| 97 |
* added support for an array of directories as an argument to |
| 98 |
Finder::exclude() |
| 99 |
* added searching based on the file content via Finder::contains() and |
| 100 |
Finder::notContains() |
| 101 |
* added support for the != operator in the Comparator |
| 102 |
* [BC BREAK] filter expressions (used for file name and content) are no more |
| 103 |
considered as regexps but glob patterns when they are enclosed in '*' or '?' |