Skip to content

1.0.0-beta

Pre-release
Pre-release
Compare
Choose a tag to compare
@webmozart webmozart released this 27 Jan 10:44
· 269 commits to master since this release
  • renamed Selector to Glob and moved it to package "webmozart/glob"
  • removed AttachableResourceInterface
  • removed DirectoryResourceInterface
  • removed FileResourceInterface
  • removed OverriddenPathLoaderInterface
  • removed Interface suffix of all interfaces
  • ResourceRepository::find() now matches directory separators "/" when given
    a wildcard "*"
  • merged AbstractResource and DirectoryResource into GenericResource
  • renamed LocalDirectoryResource to DirectoryResource
  • renamed LocalFileResource to FileResource
  • removed LocalResource::getAllLocalPaths
  • rename LocalResource::getLocalPath to LocalResource::getFilesystemPath
  • renamed LocalResource to FilesystemResource
  • renamed LocalResourceCollection to FilesystemResourceCollection
  • removed createAttached() from GenericResource, FileResource and
    DirectoryResource
  • removed tagging
  • renamedResourceRepository to InMemoryRepository
  • renamed ResourceCollection to ArrayResourceCollection
  • renamed RecursiveResourceIterator to RecursiveResourceIteratorIterator
  • renamed ManageableResourceRepository to EditableRepository
  • removed UriRepository
  • added $scheme argument to ResourceStreamWrapper::register() and
    ResourceStreamWrapper::unregister()
  • added ResourceNotFoundException::forPath()
  • added NoDirectoryException::forPath()
  • moved contents of Puli\Repository\Filesystem\Iterator to Puli\Repository\Iterator
  • moved contents of Puli\Repository\Filesystem\Resource to Puli\Repository\Resource
  • moved FilesystemRepository to Puli\Repository
  • removed PhpCacheRepository
  • added domain-specific Assert class
  • moved API interfaces to Api sub-namespace
  • removed notions of "directories" and "files". All resources can have children
    and a body now.
  • added ResourceRepository::listChildren() and hasChildren()
  • added ResourceMetadata and FilesystemMetadata
  • added methods to Resource:
    • getChild()
    • hasChild()
    • hasChildren()
    • listChildren()
    • getMetadata()
    • getRepository()
    • getRepositoryPath()
    • attachTo()
    • detach()
    • isAttached()
    • createReference()
    • isReference()
  • made Resource extend Serializable
  • added EditableRepository::clear()
  • removed backend repositories from InMemoryRepository and FilesystemRepository
  • added symlink support to FilesystemRepository
  • removed FilesystemException
  • removed InvalidPathException
  • removed UnsupportedSchemeException
  • replaced NoDirectoryException by UnsupportedOperationException
  • removed CompositeRepository from the 1.0 branch