-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency laminas/laminas-servicemanager to v4 #42
base: 2.5.x
Are you sure you want to change the base?
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: composer.lock
|
0130c91
to
b3c943e
Compare
b3c943e
to
1ef9ce9
Compare
1ef9ce9
to
ef9ba09
Compare
|
3e8f0a7
to
d90ba5f
Compare
d90ba5f
to
08380b6
Compare
08380b6
to
c8bd4ad
Compare
c8bd4ad
to
9dd139b
Compare
7ea2260
to
d29b8f6
Compare
d29b8f6
to
47332db
Compare
47332db
to
114616c
Compare
114616c
to
a71e9e2
Compare
30e7cef
to
4379c8d
Compare
e71ea7e
to
fce8603
Compare
658fd81
to
12da046
Compare
f96e430
to
b4911e4
Compare
4f3ce41
to
942f6c2
Compare
90f018a
to
2c1db7a
Compare
cacee07
to
fb871d1
Compare
| datasource | package | from | to | | ---------- | ------------------------------ | ------ | ----- | | packagist | laminas/laminas-servicemanager | 3.20.0 | 4.3.0 |
fb871d1
to
2b71e7b
Compare
This PR contains the following updates:
^3.20.0
->^4.3.0
Release Notes
laminas/laminas-servicemanager (laminas/laminas-servicemanager)
v4.3.0
Compare Source
Release Notes for 4.3.0
Feature release (minor)
Introduces PHP 8.4 Support
4.3.0
Enhancement
Documentation,Enhancement
renovate
v4.2.1
Compare Source
Release Notes for 4.2.1
4.2.x bugfix release (patch)
4.2.1
Documentation,Enhancement
v4.2.0
Compare Source
Release Notes for 4.2.0
Feature release (minor)
4.2.0
Enhancement
v4.1.0
Compare Source
Release Notes for 4.1.0
Feature release (minor)
4.1.0
Documentation
Documentation,Enhancement
ServiceLocatorInterface#get()
generic thanks to @InvisibleSmileyv4.0.2
Compare Source
Release Notes for 4.0.2
4.0.x bugfix release (patch)
4.0.2
Bug,Documentation
v4.0.1
Compare Source
Release Notes for 4.0.1
4.0.x bugfix release (patch)
4.0.1
Bug,Documentation
v4.0.0
Compare Source
Release Notes for 4.0.0
Release Notes for 4.0.0
laminas-servicemanager
4.0.0 is here and finally enables projects to consumepsr/container
v2.0.0 after 2 years along with several type-additions and plugin manager decoupling.The migration guide is not written yet but will be at some point (once we added support for SM v4 to other components) later.
Added
ServiceManager#get
,PluginManagerInterface#get
andServiceLocatorInterface#build
now explicitly implementmixed
as return-type to synchronize types withContainerInterface#get
psr/container
v1.1 and v2.0ReflectionBasedAbstractFactory
vialaminas-cli
Removed
Laminas\ServiceManager\AbstractFactoryInterface
Laminas\ServiceManager\FactoryInterface
Laminas\ServiceManager\InitializerInterface
Laminas\ServiceManager\DelegatorFactoryInterface
vendor/bin
are removed in favor of thelaminas-cli
integration. All CLI commands of v3.x are accessible viavendor/bin/laminas servicemanager:<v3.x command name>
oncelaminas/laminas-cli
is required in the projects dependenciesConfigInterface
andConfig
-class since these files did not provide any validation logic and were just used to proxy the configuration array structureAbstractPluginManager#validate
andAbstractPluginManager::$instanceOf
property as in v3.x, implementing plugin managers were able to implicitlyvalidate
mixed
. In case an implementing plugin manager is providing a single$instanceOf
such aslaminas-cache
, there is a new classAbstractSingleInstancePluginManager
available which requires the$instanceOf
property to be configuredBreaking Changes
AbstractPluginManager
does not extendServiceManager
anymore and instead uses an ownServiceManager
instance under the hood to manage plugin manager related services which can be configured the same way as in v3.xvendor/bin
are now integrated vialaminas-cli
and can be called viavendor/bin/laminas
oncelaminas/laminas-cli
is part of the projects requirements. Read more about how to consume these commands here.AbstractPluginManager
does not provide thevalidate
-Method anymore and requires migration action such as:AbstractSingleInstancePluginManager
in case the plugin manager only provides instances of a specific interface- or class-string (please be aware that the$instanceOf
property now requires nativestring
property type)validate
method and verify whatever type has to be returned and/or just allowmixed
as v3.x did when omitting$instanceOf
propertyConfigInterface
andConfig
-class since these files did not provide any validation logic and were just used to proxy the configuration array structureServiceManager
norAbstractPluginManager
do validate the provided configuration at runtime anymore. due to the psalm-types provided toServiceManager#__construct
,ServiceManager#configure
,AbstractPluginManager#__construct
andAbstractPluginManager#configure
, the configuration schema is strictly typed and thus, a miss-configuration can be mitigated on static-analysis level prior actual runtimeAbstractPluginManager#get
does not accept options anymore, in case an instance with options needs to be created,AbstractPluginManager#build
has to be used4.0.0
Enhancement
$this
toself
thanks to @boesingReflectionBasedAbstractFactory
mapped factories thanks to @boesingBC Break,Enhancement
psr/container
v2 thanks to @boesing and @danielspkServiceManager#getServiceLocator
method thanks to @boesingServiceManager
inheritance forAbstractPluginManager
thanks to @boesingRFC
AbstractPluginManager#validate
thanks to @boesingServiceManager
asfinal
and changeAbstractPluginManager
to use composition over inheritance thanks to @boesingBC Break
container-interop/container-interop
polyfill thanks to @boesingrenovate
Bug
v3.23.0
Compare Source
Release Notes for 3.23.0
3.23.0
Enhancement
v3.22.1
Compare Source
Release Notes for 3.22.1
3.22.x bugfix release (patch)
3.22.1
Enhancement
services
in ServiceManager configuration thanks to @rieschlv3.22.0
Compare Source
Release Notes for 3.22.0
3.22.0
Enhancement
v3.21.0
Compare Source
Release Notes for 3.21.0
Feature release (minor)
Added
ConfigInterface
inServiceManager
. This provides forward compatibility with v4.0.0Removed
Changed
ConfigInterface
andConfig
as deprecated as they will be removed with v4.0.03.21.0
Enhancement
Config
andConfigInterface
as deprecated thanks to @boesingConfigInterface
psalm types inServiceManager
thanks to @boesingocramius/proxy-manager
withfriendsofphp/proxy-manager-lts
thanks to @SlamdunkConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
Read more about the use of Renovate Bot within
ocramius/*
projects.