Skip to content

Releases: puli/repository

1.0.0-alpha4

27 Jan 10:44
Compare
Choose a tag to compare
1.0.0-alpha4 Pre-release
Pre-release
  • moved extensions to separate repositories in https://github.com/puli
  • moved documentation to separate repository: https://github.com/puli/docs
  • moved Path to "webmozart/path-util" package
  • moved all code to Puli\Repository namespace
  • rearranged the directory structure
  • added ResourceCollectionIterator
  • added ResourceIteratorInterface
  • added RecursiveResourceIterator
  • added RecursiveResourceIteratorInterface
  • added ResourceFilterIterator
  • renamed ResourceRepositoryInterface to ManageableRepositoryInterface
  • renamed ResourceLocatorInterface to ResourceRepositoryInterface
  • renamed all "locators" to "repositories"
  • moved all filesystem specific code to Filesystem namespace
  • made ResourceInterface independent of the filesystem. The filesystem
    specific methods are now in LocalResourceInterface
  • getAlternativePaths() is now called getAllLocalPaths()
  • added getContents(), getSize(), getLastAccessedAt() and
    getLastModifiedAt() to FileResourceInterface
  • removed all pattern-related classes. This logic is now provided by the
    Selector class
  • ResourceRepository::remove(), tag() and untag() now return the number
    of affected resources
  • added UriRepository::getDefaultScheme() and setDefaultScheme()
  • renamed getByTag() to findByTag()
  • added merge() to ResourceCollectionInterface
  • added CompositeRepository
  • removed LazyDirectoryResource
  • fixed ResourceRepository::add() to be deterministic when selectors are passed. Closes #17

1.0.0-alpha3

27 Jan 10:44
Compare
Choose a tag to compare
1.0.0-alpha3 Pre-release
Pre-release
  • renamed PhpResourceLocator to PhpCacheLocator
  • renamed PhpResourceLocatorDumper to PhpCacheDumper
  • added FilesystemLocator
  • removed ResourceDiscoveringInterface
  • a base ResourceLocatorInterface can now be passed to ResourceRepository
  • instead of arrays, ResourceCollection objects are now returned everywhere
  • renamed ResourceInterface::getPath() to getRealPath()
  • renamed ResourceInterface::getRepositoryPath() to getPath()
  • added an extension for the templating engine Twig
  • added an extension for the Symfony Config and HttpKernel components

1.0.0-alpha2

27 Jan 10:43
Compare
Choose a tag to compare
1.0.0-alpha2 Pre-release
Pre-release
  • fixed "Maximum function nesting level" error on Windows
  • pushed minimum PHP version to 5.3.9
  • removed TagInterface and descending classes
  • added support for dot segments ("." and "..")
  • removed CreationNotAllowedException
  • removed RemoveNotAllowedException
  • removed RenameNotAllowedException
  • added UnsupportedOperationException
  • added Path
  • added Uri
  • added UriLocatorInterface and UriLocator
  • changed ResourceStreamWrapper::register() to take a UriLocatorInterface
    instance instead of a scheme and a resource locator

1.0.0-alpha1

27 Jan 10:43
Compare
Choose a tag to compare
1.0.0-alpha1 Pre-release
Pre-release
Released version 1.0.0-alpha1