1.0.0-beta2
Pre-release
Pre-release
- moved public classes to
Api
sub-namespace - removed dependency to beberlei/assert
- package load errors are not logged anymore
- renamed
InstallInfo::get/setInstaller()
toget/setInstallerName()
- renamed
InstallInfo::DEFAULT_INSTALLER
toDEFAULT_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 defaultDiscoveryManager::getBindingTypes()
returns types with any state now by defaultDiscoveryManager::getBindings()
returns bindings with any state now by default- added
AlreadyLoadedException
- added
NotLoadedException
- added optional argument
$failIfNotFound
toRepositoryManager::addResourceMapping()
- added optional argument
$state
toRepositoryManager::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 viaResourceMapping::getLoadErrors()
and
ResourceMapping::getConflicts()
- removed unused
ResourceDefinitionException
- added
Config::contains()
- added
ConfigFileManager::hasConfigKey()
- moved
$uuid
argument to last position inBindingDescriptor::__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 aBindingDescriptor
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()
andBindingState::IGNORED
. Bindings
with duplicate types have the stateBindingState::HELD_BACK
now - removed
CannotDisableBindingException::duplicateType()
- removed
CannotEnableBindingException::duplicateType()
- changed default value of
$state
inPackageManager::getPackagesByInstaller()
tonull
- replaced
ManagerFactory
by thePuli
class - renamed
ManagerPlugin
toPuliPlugin
- changed
PuliPlugin::activate()
to receive thePuli
instance - renamed
Package::getLoadError()
togetLoadErrors()
- added
Config::getBaseConfig()
- added "discovery.store.type" values "php-redis", "predis" and "riak"
- renamed
Config::DISCOVERY_STORE_SERVER
toDISCOVERY_STORE_HOST
- added
Config::DISCOVERY_STORE_BUCKET