Skip to content

Upgrading league/flysystem 0.3 to 0.4

Unknown0.3.5 → 0.4.5

Fetching 6 releases from GitHub…0 / 6
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Generated by DepDelta from published PHP source. Not mixed with prose notes.

  • removed: static method Util.contentMimetype($content)
  • changed: class FileExistsException extends LogicException → class FileExistsException extends Exception
  • changed: class FileNotFoundException extends LogicException → class FileNotFoundException extends Exception
  • changed: constructor FileExistsException($path, $code = …, Exception $previous = …) → constructor FileExistsException($path, $code = …, BaseException $previous = …)
  • changed: constructor FileNotFoundException($path, $code = …, Exception $previous = …) → constructor FileNotFoundException($path, $code = …, BaseException $previous = …)
  • added: class Exception extends \Exception
  • added: class RootViolationException extends LogicException
  • added: method AdapterInterface.copy($path, $newpath)
  • added: method Config.has($key)
  • added: method Filesystem.copy($path, $newpath)
  • added: method Filesystem.readAndDelete($path)
  • added: method FilesystemInterface.readAndDelete($path)
  • added: static method Util.guessMimeType($path, $content)
  • changed: protected method AwsS3.getOptions($path, array $options = …) → protected method AwsS3.getOptions($path, array $options = …, Config $config = …)
  • changed: protected method Dropbox.upload($path, $contents, $mode) → protected method Dropbox.upload($path, $contents, WriteMode $mode)
  • changed: protected method Dropbox.uploadStream($path, $resource, $mode) → protected method Dropbox.uploadStream($path, $resource, WriteMode $mode)
  • changed: protected method Local.prefix($path) → method Local.prefix($path)
  • added: method AbstractAdapter.copy($path, $newpath)
  • added: method AwsS3.copy($path, $newpath)
  • added: method Dropbox.copy($path, $newpath)
  • added: method Local.copy($path, $newpath)
  • added: method Sftp.setNetSftpConnection(Net_SFTP $connection)
  • added: protected method AwsS3.getOptionsFromConfig(Config $config)
  • added: protected property AbstractFtpAdapter.configurable
  • added: protected property Local.root
  • added: protected static property AwsS3.metaOptions
  • added: method AbstractCache.copy($path, $newpath)
  • added: method Noop.copy($path, $newpath)
  • added: method Noop.rename($path, $newpath)
  • added: class MimeType
  • added: static method MimeType.detectByContent($content)
  • added: static method MimeType.detectByFileExtension($extension)
  • added: static method MimeType.getExtenionToMimeTypeMap()