Releases: puli/discovery
Releases · puli/discovery
1.0.0-beta9
- decoupled from puli/repository
- decoupled from webmozart/glob
- added
JsonDiscovery
1.0.0-beta8
- removed
$repo
argument from the constructors ofDiscovery
implementations - added
$initializers
argument to the constructors ofDiscovery
implementations - renamed
ResourceDiscovery
toDiscovery
- renamed
ResourceDiscovery::findByType()
toDiscovery::findBindings()
- renamed
ResourceDiscovery::isTypeDefined()
toDiscovery::hasBindingType()
- renamed
ResourceDiscovery::getDefinedType()
toDiscovery::getBindingType()
- renamed
ResourceDiscovery::getDefinedTypes()
toDiscovery::getBindingTypes()
- removed
ResourceDiscovery::findByPath()
- added
Discovery::hasBindings()
- added
Discovery::hasBinding()
- added
Discovery::getBinding()
- added
Discovery::hasBindingTypes()
- renamed
EditableDiscovery::bind()
toEditableDiscovery::addBinding()
- renamed
EditableDiscovery::unbind()
toEditableDiscovery::removeBinding()
- renamed
EditableDiscovery::defineType()
toEditableDiscovery::addBindingType()
- renamed
EditableDiscovery::undefineType()
toEditableDiscovery::removeBindingType()
- renamed
EditableDiscovery::clear()
toEditableDiscovery::removeBindingTypes()
- added
EditableDiscovery::removeBindings()
- added
Binding
- removed
ResourceBinding
interface - added
ResourceBinding
class - added
BindingInitializer
- added
NotInitializedException
- added
NoSuchBindingException
- added
BindingNotAcceptedException
- moved
BindingParameter
toPuli\Discovery\Api\Type
namespace - moved
BindingType
toPuli\Discovery\Api\Type
namespace - moved
DuplicateTypeException
toPuli\Discovery\Api\Type
namespace - moved
MissingParameterException
toPuli\Discovery\Api\Type
namespace - moved
NoSuchParameterException
toPuli\Discovery\Api\Type
namespace - moved
NoSuchTypeException
toPuli\Discovery\Api\Type
namespace - added parameter
$acceptedBindings
to constructor ofBindingType
- added
BindingType::hasParameters()
- added
BindingType::acceptsBinding()
- added
BindingType::getAcceptedBindings()
- removed
ParameterValidator
interface - renamed
SimpleParameterValidator
class toParameterValidator
- changed
AbstractBinding
to implementBinding
- 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
- fixed minimum package versions in composer.json
1.0.0-beta6
- upgraded to webmozart/glob 3.0
1.0.0-beta5
- 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
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
- replaced
Assert
by webmozart/assert - renamed
ResourceDiscovery::find()
tofindByType()
- split
ResourceDiscovery::getBindings()
intofindByPath()
and
getBindings()
without arguments
1.0.0-beta2
- added
NullDiscovery
- changed
ResourceDiscovery::find()
andgetBindings()
to throw a
NoSuchTypeException
if the type has not been defined - removed dependency to beberlei/assert
1.0.0-beta
Released version "1.0.0-beta"