Skip to content

1.0.0-beta3

Pre-release
Pre-release
Compare
Choose a tag to compare
@webmozart webmozart released this 19 Mar 18:28
· 249 commits to master since this release
  • added BindingState::DUPLICATE to output of BindingState::all()
  • renamed ManagerEvents to PuliEvents 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() to Criteria
  • added BindingDescriptor::match()
  • added DiscoveryManager::getBinding()
  • added DiscoveryManager::hasBinding()
  • added DiscoveryManager::hasBindings()
  • removed the arguments of DiscoveryManager::getBindingTypes()
  • changed the arguments of DiscoveryManager::findBindingTypes() to Criteria
  • 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 to Api 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 an Expression instead
  • renamed BindingState::DUPLICATE to OVERRIDDEN
  • renamed Generator namespace to Factory
  • turned GlobalEnvironment and ProjectEnvironment interfaces into classes
  • removed ProjectEnvironment::getRepository() and ProjectEnvironment::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