Skip to content

1.0.0-beta2

Pre-release
Pre-release
Compare
Choose a tag to compare
@webmozart webmozart released this 27 Jan 10:54
· 300 commits to master since this release
  • moved public classes to Api sub-namespace
  • removed dependency to beberlei/assert
  • package load errors are not logged anymore
  • renamed InstallInfo::get/setInstaller() to get/setInstallerName()
  • renamed InstallInfo::DEFAULT_INSTALLER to DEFAULT_INSTALLER_NAME
  • multi-valued keys in puli.json are now sorted to avoid changed files in the
    VCS when they haven't really changed
  • made RepositoryManager::loadPackages() private
  • made PackageManager::loadPackages() private
  • PackageManager::getPackages() returns packages with any state now by default
  • DiscoveryManager::getBindingTypes() returns types with any state now by default
  • DiscoveryManager::getBindings() returns bindings with any state now by default
  • added AlreadyLoadedException
  • added NotLoadedException
  • added optional argument $failIfNotFound to RepositoryManager::addResourceMapping()
  • added optional argument $state to RepositoryManager::getResourceMappings()
  • added RepositoryPathConflict
  • added ResourceMappingState
  • added ResourceMapping::load()
  • added ResourceMapping::unload()
  • added ResourceMapping::getPathReferences()
  • added ResourceMapping::getContainingPackage()
  • added ResourceMapping::getLoadErrors()
  • added ResourceMapping::addConflict()
  • added ResourceMapping::removeConflict()
  • added ResourceMapping::getConflicts()
  • added ResourceMapping::getConflictingPackages()
  • added ResourceMapping::getConflictingMappings()
  • added ResourceMapping::getState()
  • added ResourceMapping::isLoaded()
  • added ResourceMapping::isEnabled()
  • added ResourceMapping::isNotFound()
  • added ResourceMapping::isConflicting()
  • RepositoryManager::getResourceMappings() does not throw exceptions anymore
    if mapped paths/packages are not found or have a conflict. Instead, you can
    access load errors and conflicts via ResourceMapping::getLoadErrors() and
    ResourceMapping::getConflicts()
  • removed unused ResourceDefinitionException
  • added Config::contains()
  • added ConfigFileManager::hasConfigKey()
  • moved $uuid argument to last position in BindingDescriptor::__construct()
  • removed BindingDescriptor::create()
  • removed BindingDescriptor::resetState()
  • removed BindingDescriptor::refreshState()
  • removed BindingState::NOT_LOADED
  • removed BindingState::detect()
  • added BindingDescriptor::load()
  • added BindingDescriptor::unload()
  • added BindingDescriptor::isLoaded()
  • added BindingDescriptor::getContainingPackage()
  • added BindingDescriptor::markDuplicate()
  • added BindingDescriptor::isDuplicate()
  • added BindingState::DUPLICATE
  • removed BindingTypeState::NOT_LOADED
  • removed BindingTypeState::detect()
  • removed BindingTypeDescriptor::resetState()
  • removed BindingTypeDescriptor::refreshState()
  • added BindingTypeDescriptor::load()
  • added BindingTypeDescriptor::unload()
  • added BindingTypeDescriptor::isLoaded()
  • added BindingTypeDescriptor::getContainingPackage()
  • added BindingTypeDescriptor::markDuplicate()
  • removed PackageState::NOT_LOADED
  • removed PackageState::detect()
  • changed DiscoveryManager::addBinding() to accept a BindingDescriptor instance
  • added BindingDescriptor::listPathMappings()
  • added BindingDescriptor::listRepositoryPaths()
  • added BindingDescriptor::getTypeDescriptor()
  • changed PackageFile::setOverriddenPackages() to only accept arrays
  • added PackageFile::removeOverriddenPackage()
  • added PackageFile::hasOverriddenPackage()
  • added RepositoryPathConflict::addMappings()
  • removed BindingDescriptor::isIgnored() and BindingState::IGNORED. Bindings
    with duplicate types have the state BindingState::HELD_BACK now
  • removed CannotDisableBindingException::duplicateType()
  • removed CannotEnableBindingException::duplicateType()
  • changed default value of $state in PackageManager::getPackagesByInstaller()
    to null
  • replaced ManagerFactory by the Puli class
  • renamed ManagerPlugin to PuliPlugin
  • changed PuliPlugin::activate() to receive the Puli instance
  • renamed Package::getLoadError() to getLoadErrors()
  • added Config::getBaseConfig()
  • added "discovery.store.type" values "php-redis", "predis" and "riak"
  • renamed Config::DISCOVERY_STORE_SERVER to DISCOVERY_STORE_HOST
  • added Config::DISCOVERY_STORE_BUCKET