Releases: puli/repository
Releases · puli/repository
1.0.0-beta10
- fixed regression in
FilesystemRepository::clear()
which caused files in
symlinked directories to be deleted
1.0.0-beta9
- made compatible with Symfony 3.0
- added JSON schema for path mapping files:
path-mappings-schema-1.0.json
- upgraded to webmozart/glob 4.1 to improve performance
- renamed
Resource
toPuliResource
- renamed
AbstractPathMappingRepository
toAbstractJsonRepository
- renamed
PathMappingRepository
toJsonRepository
- renamed
OptimizedPathMappingRepository
toOptimizedJsonRepository
- changed constructor arguments of JSON repositories from
KeyValueStore
to paths of JSON files - added
AbstractEditableRepository
- added
ChangeStream
- added
VersionList
- added
NoVersionFoundException
- added
InMemoryChangeStream
- added
KeyValueStoreChangeStream
- added
JsonChangeStream
- added
PuliResource::getVersions()
- added
ResourceRepository::getVersions()
- added
LinkResource::getTarget()
- made
LinkResource
serializable
1.0.0-beta8
- fixed problem with slash handling in
PathMappingRepository
- added
LinkResource
1.0.0-beta7
- improved Windows compatibility
- fixed minimum package versions in composer.json
- switched to webmozart/glob 3.1 to fix Windows issues
- fixed resource overriding in the
PathMappingRepository
- supported removal of path mappings in
PathMappingRepository
1.0.0-beta6
- added
PathMappingRepository
- added
OptimizedPathMappingRepository
- fixed repository building on Windows
- upgraded to webmozart/glob 3.0 for enhanced performance of file iteration
- added
AbstractRepository
andAbstractPathMappingRepository
- fixed reading of file modification time for symlinks
1.0.0-beta5
- upgraded to webmozart/path-util 2.0
- fixed overriding of files in deep directories
1.0.0-beta4
- removed
Resource::getPayload()
- removed
$code
arguments from static exception factory methods - updated to webmozart/glob 2.0
1.0.0-beta3
- added
Resource::getPayload()
- removed
DetachedException
- replaced
Assert
by webmozart/assert - added support for relative symlinks to
FilesystemRepository
FilesystemRepository
now falls back to copies if symlinks are not supported
1.0.0-beta2
- added
NullRepository
- removed dependency to beberlei/assert
- symfony/filesystem is now an optional dependency that is only needed when
using the FilesystemRepository
1.0.0-beta
- renamed
Selector
toGlob
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
andDirectoryResource
intoGenericResource
- renamed
LocalDirectoryResource
toDirectoryResource
- renamed
LocalFileResource
toFileResource
- removed
LocalResource::getAllLocalPaths
- rename
LocalResource::getLocalPath
toLocalResource::getFilesystemPath
- renamed
LocalResource
toFilesystemResource
- renamed
LocalResourceCollection
toFilesystemResourceCollection
- removed
createAttached()
fromGenericResource
,FileResource
and
DirectoryResource
- removed tagging
- renamed
ResourceRepository
toInMemoryRepository
- renamed
ResourceCollection
toArrayResourceCollection
- renamed
RecursiveResourceIterator
toRecursiveResourceIteratorIterator
- renamed
ManageableResourceRepository
toEditableRepository
- removed
UriRepository
- added
$scheme
argument toResourceStreamWrapper::register()
and
ResourceStreamWrapper::unregister()
- added
ResourceNotFoundException::forPath()
- added
NoDirectoryException::forPath()
- moved contents of
Puli\Repository\Filesystem\Iterator
toPuli\Repository\Iterator
- moved contents of
Puli\Repository\Filesystem\Resource
toPuli\Repository\Resource
- moved
FilesystemRepository
toPuli\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()
andhasChildren()
- added
ResourceMetadata
andFilesystemMetadata
- added methods to
Resource
:getChild()
hasChild()
hasChildren()
listChildren()
getMetadata()
getRepository()
getRepositoryPath()
attachTo()
detach()
isAttached()
createReference()
isReference()
- made
Resource
extendSerializable
- added
EditableRepository::clear()
- removed backend repositories from
InMemoryRepository
andFilesystemRepository
- added symlink support to
FilesystemRepository
- removed
FilesystemException
- removed
InvalidPathException
- removed
UnsupportedSchemeException
- replaced
NoDirectoryException
byUnsupportedOperationException
- removed
CompositeRepository
from the 1.0 branch