Skip to content

Releases: puli/discovery

1.0.0-beta9

14 Jan 10:19
Compare
Choose a tag to compare
1.0.0-beta9 Pre-release
Pre-release
  • decoupled from puli/repository
  • decoupled from webmozart/glob
  • added JsonDiscovery

1.0.0-beta8

05 Oct 10:22
Compare
Choose a tag to compare
1.0.0-beta8 Pre-release
Pre-release
  • removed $repo argument from the constructors of Discovery implementations
  • added $initializers argument to the constructors of Discovery
    implementations
  • renamed ResourceDiscovery to Discovery
  • renamed ResourceDiscovery::findByType() to Discovery::findBindings()
  • renamed ResourceDiscovery::isTypeDefined() to Discovery::hasBindingType()
  • renamed ResourceDiscovery::getDefinedType() to Discovery::getBindingType()
  • renamed ResourceDiscovery::getDefinedTypes() to Discovery::getBindingTypes()
  • removed ResourceDiscovery::findByPath()
  • added Discovery::hasBindings()
  • added Discovery::hasBinding()
  • added Discovery::getBinding()
  • added Discovery::hasBindingTypes()
  • renamed EditableDiscovery::bind() to EditableDiscovery::addBinding()
  • renamed EditableDiscovery::unbind() to EditableDiscovery::removeBinding()
  • renamed EditableDiscovery::defineType() to EditableDiscovery::addBindingType()
  • renamed EditableDiscovery::undefineType() to EditableDiscovery::removeBindingType()
  • renamed EditableDiscovery::clear() to EditableDiscovery::removeBindingTypes()
  • added EditableDiscovery::removeBindings()
  • added Binding
  • removed ResourceBinding interface
  • added ResourceBinding class
  • added BindingInitializer
  • added NotInitializedException
  • added NoSuchBindingException
  • added BindingNotAcceptedException
  • moved BindingParameter to Puli\Discovery\Api\Type namespace
  • moved BindingType to Puli\Discovery\Api\Type namespace
  • moved DuplicateTypeException to Puli\Discovery\Api\Type namespace
  • moved MissingParameterException to Puli\Discovery\Api\Type namespace
  • moved NoSuchParameterException to Puli\Discovery\Api\Type namespace
  • moved NoSuchTypeException to Puli\Discovery\Api\Type namespace
  • added parameter $acceptedBindings to constructor of BindingType
  • added BindingType::hasParameters()
  • added BindingType::acceptsBinding()
  • added BindingType::getAcceptedBindings()
  • removed ParameterValidator interface
  • renamed SimpleParameterValidator class to ParameterValidator
  • changed AbstractBinding to implement Binding
  • added ClassBinding
  • removed EagerBinding
  • removed LazyBinding
  • added ResourceBindingInitializer
  • adapted data structures stored by KeyValueStoreDiscovery
  • added support for search/removal using Expression instances

1.0.0-beta7

24 Aug 19:51
Compare
Choose a tag to compare
1.0.0-beta7 Pre-release
Pre-release
  • fixed minimum package versions in composer.json

1.0.0-beta6

12 Aug 11:59
Compare
Choose a tag to compare
1.0.0-beta6 Pre-release
Pre-release
  • upgraded to webmozart/glob 3.0

1.0.0-beta5

29 May 09:28
Compare
Choose a tag to compare
1.0.0-beta5 Pre-release
Pre-release
  • fixed: no exception is thrown by KeyValueStoreDiscovery::findByPath() if
    the discovery contains the requested type, but no bindings
  • fixed: no exception is thrown by InMemoryDiscovery::findByPath() if
    the discovery contains the requested type, but no bindings
  • ResourceDiscovery::findByPath() now throws an exception if the path does
    not exist

1.0.0-beta4

13 Apr 15:02
Compare
Choose a tag to compare
1.0.0-beta4 Pre-release
Pre-release
  • LazyBinding does not cache resources anymore in case the repository
    contents changed since the last call
  • removed NoQueryMatchesException
  • changed boolean parameter $required to integer parameter $flags in
    BindingParameter::__construct()
  • removed $code arguments from static exception factory methods
  • updated to webmozart/glob 2.0

1.0.0-beta3

19 Mar 18:25
Compare
Choose a tag to compare
1.0.0-beta3 Pre-release
Pre-release
  • replaced Assert by webmozart/assert
  • renamed ResourceDiscovery::find() to findByType()
  • split ResourceDiscovery::getBindings() into findByPath() and
    getBindings() without arguments

1.0.0-beta2

27 Jan 10:49
Compare
Choose a tag to compare
1.0.0-beta2 Pre-release
Pre-release
  • added NullDiscovery
  • changed ResourceDiscovery::find() and getBindings() to throw a
    NoSuchTypeException if the type has not been defined
  • removed dependency to beberlei/assert

1.0.0-beta

27 Jan 10:48
Compare
Choose a tag to compare
1.0.0-beta Pre-release
Pre-release
Released version "1.0.0-beta"