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