Releases: puli/manager
Releases · puli/manager
1.0.0-beta10
- made compatible with Symfony 3.0
- fixed
puli.json
schema filepackage-schema-1.0.json
- fixed: disabled binding UUIDs are now removed if the referenced bindings
don't exist - added
DiscoveryManager::removeObsoleteDisabledBindingDescriptors()
- fixed: a meaningful exception is now thrown if an
AssetMapping
is added
but the "puli/url-generator" package is not installed - fixed: packages whose puli.json does not exist now return
null
from
Package::getPackageFile()
- replaced
StorageException
byReadException
andWriteException
- added
getPackageOrder()
to generatedGeneratedPuliFactory
class - added support for
ChangeStream
and implementations - added support for
JsonRepository
- added support for
OptimizedJsonRepository
- added support for
JsonDiscovery
- added
Config::CHANGE_STREAM
- added
Config::CHANGE_STREAM_TYPE
- added
Config::CHANGE_STREAM_PATH
- added
Config::CHANGE_STREAM_STORE
- added
Config::CHANGE_STREAM_STORE_TYPE
- added
Config::CHANGE_STREAM_STORE_PATH
- added
Config::CHANGE_STREAM_STORE_HOST
- added
Config::CHANGE_STREAM_STORE_PORT
- added
Config::CHANGE_STREAM_STORE_BUCKET
- added
Config::CHANGE_STREAM_STORE_CACHE
- added
Config::DISCOVERY_PATH
1.0.0-beta9
- fixed regression in
BindingExpressionBuilder
1.0.0-beta8
- added
PuliEvents::POST_ADD_ASSET_MAPPING
andPuliEvents::POST_REMOVE_ASSET_MAPPING
- removed constants from
AssetMapping
to match changed webmozart/expression API - removed constants from
BindingDescriptor
to match changed webmozart/expression API - removed constants from
BindingTypeDescriptor
to match changed webmozart/expression API - removed constants from
InstallerDescriptor
to match changed webmozart/expression API - removed constants from
Package
to match changed webmozart/expression API - removed constants from
PathMapping
to match changed webmozart/expression API - removed constants from
Server
to match changed webmozart/expression API - removed
BindingDescriptor::match()
- removed
BindingTypeDescriptor::match()
- removed
InstallerDescriptor::match()
- removed
Package::match()
- removed
PathMapping::match()
- removed
Server::match()
- changed
BindingDescriptor::__construct()
to accept aBinding
instance - removed
BindingDescriptor::getQuery()
- removed
BindingDescriptor::getLanguage()
- removed
BindingDescriptor::getParameterValues()
- removed
BindingDescriptor::getParameterValue()
- removed
BindingDescriptor::hasParameterValues()
- removed
BindingDescriptor::hasParameterValue()
- renamed
BindingDescriptor::getViolations()
togetLoadErrors()
- added
BindingDescriptor::getBinding()
- changed
BindingTypeDescriptor::__construct()
to accept aBindingType
instance - renamed
BindingTypeDescriptor::getName()
togetTypeName()
- added
BindingTypeDescriptor::getType()
- added
BindingTypeDescriptor::getParameterDescriptions()
- added
BindingTypeDescriptor::getParameterDescription()
- added
BindingTypeDescriptor::hasParameterDescriptions()
- added
BindingTypeDescriptor::hasParameterDescription()
- removed
BindingTypeDescriptor::toBindingType()
- removed
BindingTypeDescriptor::getParameters()
- removed
BindingTypeDescriptor::getParameter()
- removed
BindingTypeDescriptor::hasParameter()
- removed
BindingTypeDescriptor::hasRequiredParameters()
- removed
BindingTypeDescriptor::hasOptionalParameters()
- removed
BindingTypeDescriptor::getParameterValues()
- removed
BindingTypeDescriptor::getParameterValue()
- removed
BindingTypeDescriptor::hasParameterValues()
- removed
BindingTypeDescriptor::hasParameterValue()
- removed
BindingParameterDescriptor
- renamed
DiscoveryManager::addRootBindingType()
toaddRootTypeDescriptor()
- renamed
DiscoveryManager::removeRootBindingType()
toremoveRootTypeDescriptor()
- renamed
DiscoveryManager::removeRootBindingTypes()
toremoveRootTypeDescriptors()
- renamed
DiscoveryManager::clearRootBindingTypes()
toclearRootTypeDescriptors()
- renamed
DiscoveryManager::getRootBindingType()
togetRootTypeDescriptor()
- renamed
DiscoveryManager::getRootBindingTypes()
togetRootTypeDescriptors()
- renamed
DiscoveryManager::hasRootBindingType()
tohasRootTypeDescriptor()
- renamed
DiscoveryManager::hasRootBindingTypes()
tohasRootTypeDescriptors()
- renamed
DiscoveryManager::getBindingType()
togetTypeDescriptor()
- renamed
DiscoveryManager::getBindingTypes()
togetTypeDescriptors()
- renamed
DiscoveryManager::findBindingTypes()
tofindTypeDescriptors()
- renamed
DiscoveryManager::hasBindingType()
tohasTypeDescriptor()
- renamed
DiscoveryManager::hasBindingTypes()
tohasTypeDescriptors()
- renamed
DiscoveryManager::addRootBinding()
toaddRootBindingDescriptor()
- renamed
DiscoveryManager::removeRootBinding()
toremoveRootBindingDescriptor()
- renamed
DiscoveryManager::removeRootBindings()
toremoveRootBindingDescriptors()
- renamed
DiscoveryManager::clearRootBindings()
toclearRootBindingDescriptors()
- renamed
DiscoveryManager::getRootBinding()
togetRootBindingDescriptor()
- renamed
DiscoveryManager::getRootBindings()
togetRootBindingDescriptors()
- renamed
DiscoveryManager::findRootBindings()
tofindRootBindingDescriptors()
- renamed
DiscoveryManager::hasRootBinding()
tohasRootBindingDescriptor()
- renamed
DiscoveryManager::hasRootBindings()
tohasRootBindingDescriptors()
- renamed
DiscoveryManager::enableBinding()
toenableBindingDescriptor()
- renamed
DiscoveryManager::disableBinding()
todisableBindingDescriptor()
- renamed
DiscoveryManager::getBinding()
togetBindingDescriptor()
- renamed
DiscoveryManager::getBindings()
togetBindingDescriptors()
- renamed
DiscoveryManager::findBindings()
tofindBindingDescriptors()
- renamed
DiscoveryManager::hasBinding()
tohasBindingDescriptor()
- renamed
DiscoveryManager::hasBindings()
tohasBindingDescriptors()
- added
RootPackageFileManager::migrate()
- added
MigrationManager
- added
JsonMigration
- added
MigrationException
- added
PackageFile::DEFAULT_VERSION
- added
PackageFile::getVersion()
- added
PackageFile::setVersion()
- removed
UnsupportedVersionException::versionTooHigh()
- removed
UnsupportedVersionException::versionTooLow()
- added
UnsupportedVersionException::forVersion()
- fixed to register PHAR autoloaders before project-specific autoloaders
1.0.0-beta7
- renamed
GlobalEnvironment
toContext
- renamed
ProjectEnvironment
toProjectContext
- added
Environment
- removed
InstallInfo::isDevDependency()
- removed
InstallInfo::setDevDependency()
- added
InstallInfo::getEnvironment()
- added
InstallInfo::setEnvironment()
- added
Puli::setEnvironment()
andPuli::getEnvironment()
- added
ProjectContext::getEnvironment()
- fixed minimum package versions in composer.json
- upgraded to webmozart/glob 3.1
1.0.0-beta6
- added
Storage
andFilesystemStorage
- renamed
Puli\Manager\Api\IOException
toPuli\Manager\Api\Storage\StorageException
- replaced
PackageFileReader
andPackageFileWriter
byPackageFileSerializer
- replaced
ConfigFileReader
andConfigFileWriter
byConfigFileSerializer
- bindings are now always enabled unless they are explicitly disabled
- removed
BindingState::UNDECIDED
- removed
InstallInfo::*Enabled*()
methods - improved speed by 99% through optimized
SyncRepositoryPath
algorithm - added config key "bootstrap-file" which is loaded before loading plugins
- added repository type "path-mapping"
- added config key "repository.optimize"
- the config key "factory.in.file" can now be set to
null
if "factory.in.class"
is auto-loadable - changed default "repository.type" to "path-mapping"
- added
$dev
parameter toPackageManager::installPackage()
- added
InstallInfo::isDev()
1.0.0-beta5
- integrated puli/asset-plugin into puli/manager
- added
ConfigManager
interface - added argument
$raw
to the getters inConfigManager
- added
PuliEvents::PRE_BUILD_REPOSITORY
andPuliEvents::POST_BUILD_REPOSITORY
- added
PackageManager::renamePackage()
- removed default servers
- renamed
AssetMapping::getPublicPath()
togetServerPath()
- renamed
InstallationParams::getPublicPath()
togetServerPath()
- upgraded to webmozart/path-util 2.0
- fixed
PackageFileInstallerManager
for unloadable packages - decoupled from puli/factory
- fixed filemtime() warning when no puli.json is present in the current directory
- removed realpath() where it doesn't work if the package is distributed in a
PHAR
1.0.0-beta4
- separated "factory.class" and "factory.file" config keys into
"factory.in.class", "factory.out.class", "factory.in.file" and "factory.out.file" - added
NO_DUPLICATE_CHECK
flag to suppress duplicate checks in
DiscoveryManager::addBindingType()
- added
NO_TYPE_CHECK
flag to suppress type checks inDiscoveryManager::addBinding()
- changed boolean parameter
$required
to integer parameter$flags
in
BindingParameterDescriptor::__construct()
- duplicate binding UUIDs are forbidden now
- renamed
BindingState::HELD_BACK
toBindingState::TYPE_NOT_LOADED
- renamed "resources" key in puli.json to "path-mappings"
- renamed
ResourceMapping
toPathMapping
- renamed
ResourceMappingState
toPathMappingState
- renamed
NoSuchMappingException
toNoSuchPathMappingException
- renamed
RepositoryPathConflict
toPathConflict
- renamed
RepositoryManager::*ResourceMapping*()
toRepositoryManager::*PathMapping*()
- changed boolean parameter
$failIfNotFound
to integer parameter$flags
in
RepositoryManager::addPathMapping()
- made argument
$packageName
mandatory inDiscoveryManager::getBindingType()
- removed
CannotEnableBindingException
andCannotDisableBindingException
- replaced
BindingState::TYPE_NOT_LOADED
byTYPE_NOT_FOUND
and
TYPE_NOT_ENABLED
RepositoryManager::addPathMapping()
now throws an exception if the same
repository path is already mapped in the root package- renamed
DiscoveryManager::addBindingType()
toaddRootBindingType()
- renamed
DiscoveryManager::removeBindingType()
toremoveRootBindingType()
- added
DiscoveryManager::getRootBindingType()
- added
DiscoveryManager::getRootBindingTypes()
- added
DiscoveryManager::hasRootBindingType()
- added
DiscoveryManager::hasRootBindingTypes()
- renamed
DiscoveryManager::addBinding()
toaddRootBinding()
- renamed
DiscoveryManager::removeBinding()
toremoveRootBinding()
- added
DiscoveryManager::getRootBinding()
- added
DiscoveryManager::getRootBindings()
- added
DiscoveryManager::hasRootBinding()
- added
DiscoveryManager::hasRootBindings()
- renamed
RepositoryManager::addPathMapping()
toaddRootPathMapping()
- renamed
RepositoryManager::removePathMapping()
toremoveRootPathMapping()
- added
RepositoryManager::getRootPathMapping()
- added
RepositoryManager::getRootPathMappings()
- added
RepositoryManager::hasRootPathMapping()
- added
RepositoryManager::hasRootPathMappings()
- added
RepositoryManager::hasPathMappings()
- added
RepositoryManager::findPathMappings()
- added
$packageName
argument toRepositoryManager::getPathMapping()
- added
$packageName
argument toRepositoryManager::hasPathMapping()
- removed arguments from
RepositoryManager::getPathMappings()
- removed
$code
arguments from exception factory methods - added
Config::clear()
- added
Config::isEmpty()
- added
ConfigFileManager::clearConfigKeys()
- added
ConfigFileManager::hasConfigKeys()
- added
PackageCollection::clear()
- added
PackageManager::clearPackages()
- added
RootPackageFile::clearInstallInfos()
- added
RootPackageFile::getInstallInfos()
- added
RootPackageFile::hasInstallInfos()
- added
DiscoveryManager::clearRootBindingTypes()
- added
DiscoveryManager::clearRootBindings()
- fixed restoring of conflicts when
RepositoryManager::removeRootPathMapping()
fails - added
RepositoryManager::clearRootPathMappings()
- fixed
Package::__construct()
when neitherPackageFile
norInstallInfo
are passed RepositoryManager::addRootPathMapping()
now accepts the flags
OVERRIDE
andIGNORE_FILE_NOT_FOUND
- renamed
DiscoveryManager::NO_DUPLICATE_CHECK
toOVERRIDE
- split
DiscoveryManager::NO_TYPE_CHECK
intoIGNORE_TYPE_NOT_FOUND
and
IGNORE_TYPE_NOT_ENABLED
- added
RootPackageFileManager::removePluginClasses()
- fixed
RootPackageFileManager
methods when saving fails - added optional argument
$expr
toRootPackageFileManager::hasPluginClasses()
- added
RootPackageFileManager::findPluginClasses()
- added optional argument
$expr
toRootPackageFileManager::hasExtraKeys()
- changed argument
$keys
to$expr
forRootPackageFileManager::removeExtraKeys()
- added
RootPackageFileManager::findExtraKeys()
- added
Config::replace()
- changed argument
$keys
to$expr
forConfigFileManager::removeConfigKeys()
- added optional argument
$expr
toConfigFileManager::hasConfigKeys()
- changed argument
$pattern
to$expr
forConfigFileManager::findConfigKeys()
- added
DiscoveryManager::removeRootBindingTypes()
- added
DiscoveryManager::removeRootBindings()
- added
RepositoryManager::removeRootPathMappings()
- added
PackageCollection::merge()
- added
PackageCollection::replace()
- added
PackageManager::removePackages()
- fixed
PackageManager::clearPackages()
- added
DiscoveryManager::findRootBindingTypes()
- added
DiscoveryManager::findRootBindings()
- added
RepositoryManager::findRootPathMappings()
1.0.0-beta3
- added
BindingState::DUPLICATE
to output ofBindingState::all()
- renamed
ManagerEvents
toPuliEvents
and moved to
Puli\RepositoryManager\Api\Event\
namespace - added
Puli::getRepository()
shortcut - added
Puli::getDiscovery()
shortcut - added
Puli::getEventDispatcher()
shortcut - removed the arguments of
DiscoveryManager::getBindings()
- changed the arguments of
DiscoveryManager::findBindings()
toCriteria
- added
BindingDescriptor::match()
- added
DiscoveryManager::getBinding()
- added
DiscoveryManager::hasBinding()
- added
DiscoveryManager::hasBindings()
- removed the arguments of
DiscoveryManager::getBindingTypes()
- changed the arguments of
DiscoveryManager::findBindingTypes()
toCriteria
- added
BindingTypeDescriptor::match()
- added
DiscoveryManager::getBindingType()
- added
DiscoveryManager::hasBindingType()
- added
DiscoveryManager::hasBindingTypes()
- removed the arguments of
PackageManager::getPackages()
- removed
PackageManager::getPackagesByInstaller()
- added
Package::match()
- added
PackageManager::findPackages()
- added
PackageManager::hasPackages()
- moved
Puli
toApi
namespace - added
Puli::start()
which must be called explicitly to start the service
container - added
Puli::enablePlugins()
- added
Puli::disablePlugins()
- added
Puli::arePluginsEnabled()
- added
Puli::isStarted()
- added support for extra keys
- added
OverrideGraph::forPackages()
- removed superfluous
PackageManager::isPackageInstalled()
. Use
PackageManager::hasPackages()
with anExpression
instead - renamed
BindingState::DUPLICATE
toOVERRIDDEN
- renamed
Generator
namespace toFactory
- turned
GlobalEnvironment
andProjectEnvironment
interfaces into classes - removed
ProjectEnvironment::getRepository()
andProjectEnvironment::getDiscovery()
- added
FactoryManager
- added
Puli::getFactory()
- added
Puli::getFactoryManager()
- added
PuliEvents::GENERATE_FACTORY
which is thrown whenever the factory
class is generated - removed
PuliEvents::LOAD_PACKAGE_FILE
andPuliEvents::SAVE_PACKAGE_FILE
- moved code to
Puli\Manager
namespace - renamed package to "puli/manager"
- added more plugin management methods to
RootPackageFile
and
RootPackageFileManager
1.0.0-beta2
- 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
1.0.0-beta
- removed
Interface
suffix of all interfaces - added
$name
argument toPackageManager::installPackage()
- added default returned value to
Config::get()
andConfig::getRaw()
- added
GlobalEnvironment::getDiscoveryStorage()
- added composite key handling to
Config
- added
Assert
- added
PuliFactoryGenerator
- added
BuildRecipe
- added
BuildRecipeProvider
- added
ProviderFactory
- added
PuliFactoryGenerator
- added
KeyValueStoreDiscoveryRecipeProvider
- added
ArrayStoreRecipeProvider
- added
JsonFileStoreRecipeProvider
- added
MemcachedStoreRecipeProvider
- added
MemcacheStoreRecipeProvider
- added
NullStoreRecipeProvider
- added
FilesystemRepositoryRecipeProvider
- added
getRepository()
andgetDiscovery()
toProjectEnvironment
- added
PackageConflict
- added
PackageConflictDetector
- added
PackageConflictException
- added
DiscoveryManager
- added
DiscoveryNotEmptyException
- added
BindingDescriptor
- added
BindingParameterDescriptor
- added
BindingState
- added
BindingTypeDescriptor
- added
BindingTypeState
- added
CannotDisableBindingException
- added
CannotEnableBindingException
- added
NoSuchBindingException
- added
CompositeKeyStore
- added
BindingDescriptorStore
- added
BindingTypeDescriptorStore
- added
TypeNotEnabledException
- added
UnsupportedVersionException
- added
PackageState
- added
RecursivePathIterator
- added
RecursivePathsIterator
- added
NoSuchMappingException
- added
RepositoryUpdater
- added
DistinguishedName
- added
Config::FACTORY
- added
Config::FACTORY_AUTO_GENERATE
- added
Config::FACTORY_CLASS
- added
Config::FACTORY_FILE
- added
Config::REPOSITORY
- added
Config::REPOSITORY_TYPE
- added
Config::REPOSITORY_SYMLINK
- added
Config::DISCOVERY
- added
Config::DISCOVERY_TYPE
- added
Config::DISCOVERY_STORE
- added
Config::DISCOVERY_STORE_TYPE
- added
Config::DISCOVERY_STORE_PATH
- added
Config::DISCOVERY_STORE_SERVER
- added
Config::DISCOVERY_STORE_PORT
- added
Config::DISCOVERY_STORE_CACHE
- added
$name
argument to constructor ofInstallInfo
- added optional
$baseConfig
argument toConfigFileStorage::loadConfigFile()
- added optional
$baseConfig
argument toConfigFileReader::readConfigFile()
- added optional
$baseConfig
argument toConfigFile
constructor - added
Config::getKeys()
- added optional
$default
argument toConfig::get()
andConfig::getRaw()
- added
Config::toFlatArray()
- added
Config::toFlatRawArray()
- added
OverrideGraph::addPackageNames()
- added
Package::DEFAULT_NAME
- added
Package::getInstallInfo()
- added
Package::getLoadError()
- added
Package::getState()
- added
Package::resetState()
- added
Package::refreshState()
- added
Package::isLoaded()
- added
Package::isEnabled()
- added
Package::isNotFound()
- added
Package::isNotLoadable()
- added
PackageCollection::getRootPackageName()
- added
PackageCollection::getInstalledPackages()
- added
PackageCollection::getPackageNames()
- added
PackageFile::addOverriddenPackage()
- added
PackageFile::addResourceMappings()
- added
PackageFile::getResourceMapping()
- added
PackageFile::hasResourceMapping()
- added
PackageFile::removeResourceMapping()
- added
PackageFile::getBindingDescriptors()
- added
PackageFile::getBindingDescriptor()
- added
PackageFile::addBindingDescriptor()
- added
PackageFile::removeBindingDescriptor()
- added
PackageFile::hasBindingDescriptor()
- added
PackageFile::clearBindingDescriptors()
- added
PackageFile::getTypeDescriptors()
- added
PackageFile::getTypeDescriptor()
- added
PackageFile::hasTypeDescriptor()
- added
PackageFile::addTypeDescriptor()
- added
PackageFile::removeTypeDescriptor()
- added
PackageFile::clearTypeDescriptors()
- added
RootPackageFile::getInstallInfos()
- added
RootPackageFile::addInstallInfo()
- added
RootPackageFile::removeInstallInfo()
- added
RootPackageFile::getInstallInfo()
- added
RootPackageFile::hasInstallInfo()
- added
PackageManager::loadPackages()
- added
RepositoryManager::loadPackages()
- added
RepositoryManager::addResourceMapping()
- added
RepositoryManager::removeResourceMapping()
- added
RepositoryManager::hasResourceMapping()
- added
RepositoryManager::getResourceMapping()
- added
RepositoryManager::getResourceMappings()
- added
RepositoryManager::clearRepository()
- added
$packageFileStorage
argument toRepositoryManager
constructor - added argument
$state
toPackageManager::getPackages()
- added argument
$state
toPackageManager::getPackagesByInstaller()
- added puli.json keys:
version
packages
bindings
binding-types
- added "config" options to puli.json:
factory.auto-generate
factory.class
factory.file
repository.type
repository.path
repository.symlink
discovery.type
discovery.store.type
discovery.store.path
discovery.store.server
discovery.store.port
discovery.store.cache
- renamed
PackageFileManager
toRootPackageFileManager
- renamed
ResourceDescriptor
toResourceMapping
- renamed
PackageMetadata
toInstallInfo
- renamed
CycleException
toCyclicDependencyException
- renamed
PackageNameGraph
toOverrideGraph
- renamed
Plugin
toManagerPlugin
- renamed
Config::REPO_DUMP_DIR
toREPOSITORY_PATH
- renamed puli.json key
package-order
tooverride-order
- renamed "config" option
repo-dump-dir
in puli.json torepository.path
- renamed
PackageFile::addResourceDescriptor()
toaddResourceMapping()
- renamed
PackageFile::getResourceDescriptors()
togetResourceMappings()
- renamed
RootPackageFile::getPackageOrder()
togetOverrideOrder()
- renamed
RootPackageFile::setPackageOrder()
tosetOverrideOrder()
- renamed
RepositoryManager::dumpRepository()
tobuildRepository()
- moved
CyclicDependencyException to
Puli\RepositoryManager\Conflict` - moved
OverrideGraph to
Puli\RepositoryManager\Conflict` - moved
PackageMetadata to
Puli\RepositoryManager\Package` - moved
PackageCollection to
Puli\RepositoryManager\Package` - moved
ResourceMapping to
Puli\RepositoryManager\Package` - moved
InstallInfo to
Puli\RepositoryManager\Package` - removed
InstallFile
, merged methods intoRootPackageFile
- removed
InstallFileStorage
- removed
InstallFileReader
- removed
InstallFileJsonReader
- removed
InstallFileWriter
- removed
InstallFileJsonWriter
- removed
TagDescriptor
- removed
Config::INSTALL_FILE
- removed
Config::REPO_DUMP_FILE
- removed
Config::REPO_FILE
- removed
setNew()
andisNew()
fromInstallInfo
- removed
PackageManager::getInstallFile()
- removed puli.json keys:
tags
- removed "config" options from puli.json:
install-file
repo-dump-file
repo-file
- changed
Package
to prefer the name of the install info over the name set in
the package file PackageManager
is now responsible for checking whether a package name is
set instead ofPackageFileStorage
- made the HOME/PULI_HOME/APPDATA environment variables optional in
GlobalEnvironment
GlobalEnvironment::getConfigFile()
may now returnnull
Config::toArray()
now returns a recursive array. The old result is returned
fromConfig::toFlatArray()
- changed all
ManagerFactory
methods from static to concrete