- UnableToListContents exception was added to uniformely represent content listing exceptions.
- StaticInMemoryAdapterRegistry contributed by @kbond
- ReadonlyFilesystemAdapter contributed by @kbond
- PathPrefixedAdapter contributed by @shyim
- WebDAV prefix is now encoded and the dir is not required to be pre-created (#1533)
- [ZipArchive] reverted regression introduced in #1525
- [AwsS3V3] Added configuration options for forwarded options, multipart upload configuration, and metadata fields.
- [ZipArchive] delete top-level directory when deleting directories.
- [AwsS3V3] add
ChecksumAlgorithm
to forwarded options. - [AwsS3V3] add
ContentMD5
to forwarded options. - [AwsS3V3] made forwarded options and metadata fields configurable.
- [SftpV3] upgrade minimum version, PHP 8 and the lowest version fails to authenticate.
- [AwsS3V3] Corrected exception type (#1524)
- Added option for the Local adapter to create the root directory only on the first mutating (write/copy/move) action.
- Added reasons for exceptions for all adapters that were missing previous exception messages.
- [AwsS3V3] Added reasons for exceptions
- [AwsS3V3] Use ListObjectsV2 instead of ListObjects
- [AwsS3V3] Use ListObjectsV2 instead of ListObjects
- [Core] Fix deprecated ${var} string interpolation patterns (#1470)
- [FTP] Turn errors into proper exceptions when resolving the connection root (#1460)
- [SFTP v3] Fix retries (#1451)
- [SFTP v2] Avoid type errors when public key is not retrieved (#1446)
- [SFTP v3] Avoid type errors when public key is not retrieved (#1446)
- [Local] fall back to extension lookups when the mime-type comes up as inconclusive.
- [GCS] Allow setting upload metadata
- [GCS] Allow setting contentType, or resolve it
- [SFTP v2+v3] Delete top-level directory too.
- [InMemory] allow to set a last-updated time (#1438)
- [SFTP V3] allow configuring preferred algo's (#1440)
- [AWS S3 V3] Do not return top-level directory when listing that same directory
- [SFTP V3] Fix issue where listing is false.
- [Async AWS S3] Cosmetic fix for directory prefixing.
- [AWS S3] Use globally configured options.
- [AWS S3] fix detecting directories that only contain other directories but no files.
- [AWS S3] when checking for directory existence, limit the result set (perf)
- [AWS S3] throw interface exception when failing to delete directory
- [Async AWS S3] when checking for directory existence, limit the result set (perf)
- [AWS S3] support setting an ACL as a direct option instead of using visibility.
- [AWS S3] Set ContentType when mime-type config option is set during writes, like in v1.
- [WebDAV] added missing composer.json for sub-split
- [WebDAV] new adapter added
- [Core] Trim slashed uniformly in the attribute classes.
- [Core] Uniformly use directory_visibility over visibility for directory usage.
- [FTP] export-ignore the test case.
- [AzureBlobStorage] New adapter added
- [AsyncAwsS3] Make EXTRA_METADATA_FIELDS protected to prevent error when extending the class
- [FTP] Do not require setting of the root directory, use '' by default.
- [FTP] Made connection resolving lazy again (#1414)
- [FTP] Support relative or empty connection root directories (#1410)
- [ZipArchive] delete top-level directory too when deleting a directory
- [GoogleCloudStorage] Use listing to check for directory existence (consistency)
- [GoogleCloudStorage] Fixed bug where exceptions were not thrown
- [AwsS3V3] Allow passing options for controlling multi-upload options (#1396)
- [Local] Convert windows-style directory separator to unix-style (#1398)
- FilesystemReader::has to check for directory or file existence
- FilesystemReader::directoryExists to check for directory existence
- FilesystemReader::fileExists to check for file existence
- FilesystemAdapter::directoryExists to check for directory existence
- FilesystemAdapter::fileExists to check for file existence
- [SFTP v3] Fix retries (#1451)
- [SFTP v2] Avoid type errors when public key is not retrieved (#1446)
- [SFTP v3] Avoid type errors when public key is not retrieved (#1446)
- [AWS S3] Set ContentType when mime-type config option is set during writes, like in v1.
- [FTP] Made connection resolving lazy again (#1414)
- [FTP] Fix relative connection root handling
- [SFTP V3] New adapter officially published
- [FTP] Check for FTP\Connection object in addition to a
resource
for connectivity checks and connection handling. - [Local] Simplify writeStream, as a bonus, have an EXT_LOCK on it now by default.
- [ZipArchive] copy stream, the ziparchive is closed after getting the stream
- [Core] PHP 8.1 compatibility updates
- [LocalFilesystem] parse permissions during listing
- [LocalFilesystem] clear realstatcache
- [FTP] PHP 8.1 compatibility updates
- [Core] Upgraded PHP-CS-Fixer
- [GoogleCloudStorage] Make it possible to set an empty prefix (#1358)
- [GoogleCloudStorage] Added possibility not to set visibility (#1356)
- [Core] Corrected exception message for UnableToCopyFile.
- [Core] Ensure the sorted directory listing can be iterated over (#1342).
- [FTP] use original path when ensuring the parent directory exists during
move
operation. - [FTP] do not fail setting UTF-8 when the server is already on UTF-8.
- [Core] Added sortByPath on the directory listing to allows content listings to be sorted.
- [Core] Whitespace normalization now no longer strips funky whitespace but throws an exception.
- [Core] the DirectoryAttributes now have an
extraMetadata
like files do.
- [AwsS3V3] Allow the ACL config option to take precedence over the visibility key.
- [SFTP] Don't fail listing contents when a directory does not exist (#1301)
- [LocalFilesystem] convert windows style paths to unix style paths on listing
- [AsyncAwsS3] do not urlencode CopySource arguments (#1302)
- [AwsS3] ensure write errors are turned into exceptions.
- [InMemory] Corrected how the file size is determined.
- [AwsS3V3] Use the $config array during the copy operation.
- [Ftp] Close FTP connections when the object is destructed.
- [Core] Allow for an absolute root path of
/
.
- Corrected the ignored exports for Ftp
- Corrected the ignored exports for Phpseclib
- string type added to all visibility input
- Google Cloud Storage adapter.
- UnableToCheckFileExistence error introduced
- Mount manager is re-introduced
- Allow FTP filenames to contain special characters.
- Prevent resources of incorrect types to be passed.
- [AWS] By default, make sure readStream resources are streamed over HTTP.
- DirectoryAttributes now have a
lastModified
accessor.
- Allow listing of top-level directory for AWS S3
- Ensure the adapters can use the correct beta release.
- Small code optimizations
- Add global options array to AwsS3V3Adapter like in V1
- Renamed AwsS3V3Filesystem to AwsS3V3Adapter (in line with other adapter names).
- Renamed the PHPSecLibV2 package to PhpseclibV2, Renamed the FTP package to Ftp.
- Public key and ss-agent authentication support for Sftp
- Allow creation of files with empty streams.
- Corrected the required version for the sub-split packages.
- The
League\Flysystem\FilesystemAdapter::listContents
method returns aniterable
instead of aGenerator
. - The
League\Flysystem\DirectoryListing
class accepts aniterable
instead of aGenerator
.
- Initial 2.0.0 alpha release