- [Ftp::isConnected] PHP warnings are prevented by improving the connection check.
- [Ftp::listContents] Recursive listings not use the
R
flag instead of the function param. - [Ftp::listContents] The
*
character is now properly escaped. - [Ftp::getMetadata] The
*
character is now properly escaped. - [Ftp] An
ignorePassiveAddress
option has been added to allow NAS FTP servers to work. - [Util] Mimetype
application/x-empty
is not treated astext/plain
and will fall back to extension based mimetype checks. - [Local] Unreadable files no longer cause a Fatal error, they're not a catchable exception.
- [Util::emulateDirectories] Now emulates correctly when a mix of files and directories are returned.
- [Adapter\Local] Now has configurable file and directory permissions.
- [Adapter\Ftp] Now tries to reconnect when a connection is dropped.
- [Util::pathinfo] Now checks for existence of the dirname key, it's missing in some PHP versions.
- [Adapter\Local::deleteDir] Now removes up links correctly.
- [Filesystem::listContents] The implementation is clearer now and works more reliably for windows users.
- [Filesystem::listContents] This function now uses DIRECTORY_SEPARATOR when the local adapter is used.
- [Local::deleteDir] This function now uses the correct (reversed) iterator instead of relying in listContents.
- [Local] The Local adapter now has the ability to skip links using Local::SKIP_LINKS as the third constructor argument.
- [Filesystem] Fixed the handling of directories named "0".
- [Adapter\Local] Directories are no longer created with the 0777 permissions which is unsafe for shared hosting environments.
- [Filesystem::listContent] Emulated directories didn't respect the natural sorting, this is now corrected in the listContents method.
- [Filesystem::listContents] The result excess from listing calls wasn't filtered strict enough, this is now improved.
- [Handler] Added getter for the Filesystem.
- [Handler] Now allows plugins calls.
- [Adapter\Ftp] Now handles windows FTP servers.
- [Adapter\Local] Symlinks are now explicitly not supported, this was previously broken.
- [Adapter\Ftp] Detecting whether a path is a directory or not is more reliable.
- [Adapter\SynologyFtp] Has been renamed to Ftpd (The original class still exists for BC).
- [Filesystem] Not uses
getAdapter
internally to aid extension. - [Adapter\Local] Now uses
umask
when creating directories to make it more reliable. - [Misc] Coding style fixes.
- #429: Handle FTP filenames with leading spaces.
- #418: Handle FTP filenames with dot prefixes.
- #427: Path normalising edge case resolved.
- [Adapter\Local] Again allows read only dirs to be the adapter's root.
- Re-added missing metadata from pathinfo to
getMetadata
calls.
- Adapters moved into their own repo's: AwsS3, Dropbox, GridFS, Rackspace
- [Filesystem] Caching is removed and moved into it's own repo as an adapter decorator.
- [FilesystemInterface] This interface is now no longer related to the AdapterInterface and now correctly specifies return type.
- [AdapterInterface] The adapter interface now consistently specifies return type.
- [AbstractAdapter / Polyfills] Polyfill methods from the AbstractAdapter are now moved to their own traits and only included in adapters that need them.
- [Cache] Cache contents is now in control over what's cached instead of the implicit controle the adapters had.
- [AwsS3] Removed raw response from response array
- [Cache] Ensure cache response is JSON formatted and has the correct entries.
- [AwsS3] Contents supplied during AwsS3::write is now cached like all the other adapters. (Very minor chance of this happening)
- [AwsS] Detached stream from guzzle response to prevent it from closing on EntityBody destruction.
- [Util] Paths with directory names or file names with double dots are now allowed.
- [Cache:Noop] Added missing readStream method.
- [AwsS3] CacheControl write option is now correctly mapped.
- [AwsS3] writeStream now properly detects Body type which resulted in cache corruption: c7246e3341135baad16180760ece3967da7a44f3
- [Rackspace] Path prefixing done twice when retrieving meta-data.
- [Core] Finfo is only used to determine mime-type when available.
- [AwsS3] Previously set ACL is now respected in rename and copy.
- Stash cache adapter.
- Path prefixing would done twice for rackspace when using streams for writes or updates.
- Copy Adapter
- Dropbox path normalisation.