Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / mikey179 / vfsStream / CHANGELOG.md
1 1.6.5 (2017-08-01)
2 ------------------
3
4    * fixed #157 seeking before beginning of file should fail, reported and fixed by @merijnvdk
5    * structure array in `vfsStream::create()` and `vfsStream::setup()` now can contain instances of `org\bovigo\vfs\content\FileContent` and `org\bovigo\vfs\vfsStreamFile`, patch provivded by Joshua Smith (@jsmitty12)
6
7
8 1.6.4 (2016-07-18)
9 ------------------
10
11    * fixed #134 type safe directory names, reported and fixed by Sebastian Hopfe
12
13
14 1.6.3 (2016-04-09)
15 ------------------
16
17    * fixed #131 recursive mkdir() fails if the last dirname is '0'
18
19
20 1.6.2 (2016-01-13)
21 ------------------
22
23    * fixed #128 duplicate "valid" files/directories and incorrect file names
24
25
26 1.6.1 (2015-12-04)
27 ------------------
28
29    * `vfsStream::url()` didn't urlencode single path parts while `vfsStream::path()` did urldecode them
30    * fixed #120, #122: create directory with trailing slash results in "Uninitialized string offset: 0"
31
32
33 1.6.0 (2015-10-06)
34 ------------------
35
36    * added `vfsStreamWrapper::unregister()`, provided by @malkusch with #114
37    * fixed #115: incorrect handling of `..` in root directory on PHP 5.5, fix provided by @acoulton with #116
38
39
40 1.5.0 (2015-03-29)
41 ------------------
42
43    * implemented #91: `vfsStream::copyFromFileSystem()` should create large file instances
44    * implemented #92: `vfsStream::copyFromFileSystem()` should respect block devices
45    * fixed #107: `touch()` does not respect file permissions
46    * fixed #105: vfs directory structure is not reset after each test
47    * fixed #104: vfsStream can't handle url encoded pathes
48
49
50 1.4.0 (2014-09-14)
51 ------------------
52
53    * implemented #85: Added support for emulating block devices in the virtual filesystem, feature provided by Harris Borawski
54    * fixed #68: Unlink a non-existing file now triggers a PHP warning
55
56
57 1.3.0 (2014-07-21)
58 ------------------
59
60    * implemented #79: possibility to mock large files without large memory footprint, see https://github.com/mikey179/vfsStream/wiki/MockingLargeFiles
61    * implemented #67: added partial support for text-mode translation flag (i.e., no actual translation of line endings takes place) so it no longer throws an exception (provided by Anthon Pang)
62    * fixed issue #74: issue with trailing windows path separators (provided by Sebastian Krüger)
63    * fixed issue #50: difference between real file system and vfs with `RecursiveDirectoryIterator`
64    * fixed issue #80: touch with no arguments for modification and access time behave incorrect
65    * deprecated `org\bovigo\vfs\vfsStreamFile::readUntilEnd()`
66    * deprecated `org\bovigo\vfs\vfsStreamFile::getBytesRead()`
67
68
69 1.2.0 (2013-04-01)
70 ------------------
71
72    * implemented issue #34: provide `url()` method on all `vfsStreamContent` instances
73      * added `org\bovigo\vfs\vfsStreamContent::url()`
74      * added `org\bovigo\vfs\vfsStreamContent::path()`
75    * fixed issue #40: flock implementation doesn't work correctly, patch provided by Kamil Dziedzic
76    * fixed issue #49: call to member function on a non-object when trying to delete a file one above root where a file with same name in root exists
77    * fixed issue #51: `unlink()` must consider permissions of directory where file is inside, not of the file to unlink itself
78    * fixed issue #52: `chmod()`, `chown()` and `chgrp()` must consider permissions of directory where file/directory is inside
79    * fixed issue #53: `chmod()`, `chown()` and `chgrp()` must consider current user and current owner of file/directoy to change
80
81
82 1.1.0 (2012-08-25)
83 ------------------
84
85    * implemented issue #11: add support for `streamWrapper::stream_metadata()` vfsStream now supports `touch()`, `chown()`, `chgrp()` and `chmod()`
86    * implemented issue #33: add support for `stream_truncate()` (provided by https://github.com/nikcorg)
87    * implemented issue #35: size limit (quota) for VFS
88
89
90 1.0.0 (2012-05-15)
91 ------------------
92
93    * raised requirement for PHP version to 5.3.0
94    * migrated codebase to use namespaces
95    * changed distribution from PEAR to Composer
96    * implemented issue #30: support "c" mode for `fopen()`
97    * fixed issue #31: prohibit aquiring locks when already locked / release lock on `fclose()`
98    * fixed issue #32: problems when subfolder has same name as folder
99    * fixed issue #36: `vfsStreamWrapper::stream_open()` should return false while trying to open existing non-writable file, patch provided by Alexander Peresypkin
100
101
102 0.11.2 (2012-01-14)
103 -------------------
104
105    * fixed issue #29: set permissions properly when using `vfsStream::copyFromFileSystem()`, patch provided by predakanga
106    * fixed failing tests under PHP > 5.3.2
107
108
109 0.11.1 (2011-12-04)
110 -------------------
111
112    * fixed issue #28: `mkdir()` overwrites existing directories/files
113
114
115 0.11.0 (2011-11-29)
116 -------------------
117
118    * implemented issue #20: `vfsStream::create()` removes old structure
119    * implemented issue #4: possibility to copy structure from existing file system
120    * fixed issue #23: `unlink()` should not remove any directory
121    * fixed issue #25: `vfsStreamDirectory::hasChild()` gives false positives for nested paths, patch provided by Andrew Coulton
122    * fixed issue #26: opening a file for reading only should not update its modification time, reported and initial patch provided by Ludovic Chabant
123
124
125 0.10.1 (2011-08-22)
126 -------------------
127
128    * fixed issue #16: replace `vfsStreamContent` to `vfsStreamContainer` for autocompletion
129    * fixed issue #17: `vfsStream::create()` has issues with numeric directories, patch provided by mathieuk
130
131
132 0.10.0 (2011-07-22)
133 -------------------
134
135    * added new method `vfsStreamContainer::hasChildren()` and `vfsStreamDirectory::hasChildren()`
136    * implemented issue #14: less verbose way to initialize vfsStream
137    * implemented issue #13: remove deprecated method `vfsStreamContent::setFilemtime()`
138    * implemented issue #6: locking meachanism for files
139    * ensured that `stream_set_blocking()`, `stream_set_timeout()` and `stream_set_write_buffer()` on vfsStream urls have the same behaviour with PHP 5.2 and 5.3
140    * implemented issue #10: method to print directory structure
141
142
143 0.9.0 (2011-07-13)
144 ------------------
145
146    * implemented feature request issue #7: add support for `fileatime()` and `filectime()`
147    * fixed issue #3: add support for `streamWrapper::stream_cast()`
148    * fixed issue #9: resolve path not called everywhere its needed
149    * deprecated `vfsStreamAbstractContent::setFilemtime()`, use `vfsStreamAbstractContent::lastModified()` instead, will be removed with 0.10.0
150
151
152 0.8.0 (2010-10-08)
153 ------------------
154
155    * implemented enhancement #6: use `vfsStream::umask()` to influence initial file mode for files and directories
156    * implemented enhancement #19: support of .. in the url, patch provided by Guislain Duthieuw
157    * fixed issue #18: `getChild()` returns NULL when child's name contains parent name
158    * fixed bug with incomplete error message when accessing non-existing files on root level
159
160
161 0.7.0 (2010-06-08)
162 ------------------
163
164    * added new `vfsStream::setup()` method to simplify vfsStream usage
165    * fixed issue #15: `mkdir()` creates a subfolder in a folder without permissions
166
167
168 0.6.0 (2010-02-15)
169 ------------------
170
171    * added support for `$mode` param when opening files, implements enhancement #7 and fixes issue #13
172    * `vfsStreamWrapper::stream_open()` now evaluates `$options` for `STREAM_REPORT_ERRORS`
173
174
175 0.5.0 (2010-01-25)
176 ------------------
177
178    * added support for `rename()`, patch provided by Benoit Aubuchon
179    * added support for . as directory alias so that `vfs://foo/.` resolves to `vfs://foo`, can be used as workaround for bug #8
180
181
182 0.4.0 (2009-07-13)
183 ------------------
184
185    * added support for file modes, users and groups (with restrictions, see http://code.google.com/p/bovigo/wiki/vfsStreamDocsKnownIssues)
186    * fixed bug #5: `vfsStreamDirectory::addChild()` does not replace child with same name
187    * fixed bug with `is_writable()` because of missing `stat()` fields, patch provided by Sergey Galkin
188
189
190 0.3.2 (2009-02-16)
191 ------------------
192
193    * support trailing slashes on directories in vfsStream urls, patch provided by Gabriel Birke
194    * fixed bug #4: vfsstream can only be read once, reported by Christoph Bloemer
195    * enabled multiple iterations at the same time over the same directory
196
197
198 0.3.1 (2008-02-18)
199 ------------------
200
201    * fixed path/directory separator issues under linux systems
202    * fixed uid/gid issues under linux systems
203
204
205 0.3.0 (2008-01-02)
206 ------------------
207
208    * added support for `rmdir()`
209    * added `vfsStream::newDirectory()`, dropped `vfsStreamDirectory::ceate()`
210    * added new interface `vfsStreamContainer`
211    * added `vfsStreamContent::at()` which allows code like `$file = vfsStream::newFile('file.txt.')->withContent('foo')->at($otherDir);`
212    * added `vfsStreamContent::lastModified()`, made `vfsStreamContent::setFilemtime()` an alias for this
213    * moved from Stubbles development environment to bovigo
214    * refactorings to reduce crap index of various methods
215
216
217 0.2.0 (2007-12-29)
218 ------------------
219
220    * moved `vfsStreamWrapper::PROTOCOL` to `vfsStream::SCHEME`
221    * added new `vfsStream::url()` method to assist in creating correct vfsStream urls
222    * added `vfsStream::path()` method as opposite to `vfsStream::url()`
223    * a call to `vfsStreamWrapper::register()` will now reset the root to null, implemented on request from David Zuelke
224    * added support for `is_readable()`, `is_dir()`, `is_file()`
225    * added `vfsStream::newFile()` to be able to do `$file = vfsStream::newFile("foo.txt")->withContent("bar");`
226
227
228 0.1.0 (2007-12-14)
229 ------------------
230
231    * Initial release.