Update Laminas packages (major) #6
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.20→^3.20 || ^4.0^2.30→^2.30 || ^3.0Release Notes
laminas/laminas-servicemanager (laminas/laminas-servicemanager)
v4.5.0Compare Source
Release Notes for 4.5.0
Feature release (minor)
4.5.0
Dependencies,Enhancement
v4.4.0Compare Source
Release Notes for 4.4.0
Feature release (minor)
4.4.0
Dependencies,Enhancement,QA
Enhancement,QA,Review Needed
Review Needed,renovate
v4.3.0Compare Source
Release Notes for 4.3.0
Feature release (minor)
Introduces PHP 8.4 Support
4.3.0
Enhancement
Documentation,Enhancement
renovate
v4.2.1Compare Source
Release Notes for 4.2.1
4.2.x bugfix release (patch)
4.2.1
Documentation,Enhancement
v4.2.0Compare Source
Release Notes for 4.2.0
Feature release (minor)
4.2.0
Enhancement
v4.1.0Compare Source
Release Notes for 4.1.0
Feature release (minor)
4.1.0
Documentation
Documentation,Enhancement
ServiceLocatorInterface#get()generic thanks to @InvisibleSmileyv4.0.2Compare Source
Release Notes for 4.0.2
4.0.x bugfix release (patch)
4.0.2
Bug,Documentation
v4.0.1Compare Source
Release Notes for 4.0.1
4.0.x bugfix release (patch)
4.0.1
Bug,Documentation
v4.0.0Compare Source
Release Notes for 4.0.0
Release Notes for 4.0.0
laminas-servicemanager4.0.0 is here and finally enables projects to consumepsr/containerv2.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#getandServiceLocatorInterface#buildnow explicitly implementmixedas return-type to synchronize types withContainerInterface#getpsr/containerv1.1 and v2.0ReflectionBasedAbstractFactoryvialaminas-cliRemoved
Laminas\ServiceManager\AbstractFactoryInterfaceLaminas\ServiceManager\FactoryInterfaceLaminas\ServiceManager\InitializerInterfaceLaminas\ServiceManager\DelegatorFactoryInterfacevendor/binare removed in favor of thelaminas-cliintegration. All CLI commands of v3.x are accessible viavendor/bin/laminas servicemanager:<v3.x command name>oncelaminas/laminas-cliis required in the projects dependenciesConfigInterfaceandConfig-class since these files did not provide any validation logic and were just used to proxy the configuration array structureAbstractPluginManager#validateandAbstractPluginManager::$instanceOfproperty as in v3.x, implementing plugin managers were able to implicitlyvalidatemixed. In case an implementing plugin manager is providing a single$instanceOfsuch aslaminas-cache, there is a new classAbstractSingleInstancePluginManageravailable which requires the$instanceOfproperty to be configuredBreaking Changes
AbstractPluginManagerdoes not extendServiceManageranymore and instead uses an ownServiceManagerinstance under the hood to manage plugin manager related services which can be configured the same way as in v3.xvendor/binare now integrated vialaminas-cliand can be called viavendor/bin/laminasoncelaminas/laminas-cliis part of the projects requirements. Read more about how to consume these commands here.AbstractPluginManagerdoes not provide thevalidate-Method anymore and requires migration action such as:AbstractSingleInstancePluginManagerin case the plugin manager only provides instances of a specific interface- or class-string (please be aware that the$instanceOfproperty now requires nativestringproperty type)validatemethod and verify whatever type has to be returned and/or just allowmixedas v3.x did when omitting$instanceOfpropertyConfigInterfaceandConfig-class since these files did not provide any validation logic and were just used to proxy the configuration array structureServiceManagernorAbstractPluginManagerdo validate the provided configuration at runtime anymore. due to the psalm-types provided toServiceManager#__construct,ServiceManager#configure,AbstractPluginManager#__constructandAbstractPluginManager#configure, the configuration schema is strictly typed and thus, a miss-configuration can be mitigated on static-analysis level prior actual runtimeAbstractPluginManager#getdoes not accept options anymore, in case an instance with options needs to be created,AbstractPluginManager#buildhas to be used4.0.0
Enhancement
$thistoselfthanks to @boesingReflectionBasedAbstractFactorymapped factories thanks to @boesingBC Break,Enhancement
psr/containerv2 thanks to @boesing and @danielspkServiceManager#getServiceLocatormethod thanks to @boesingServiceManagerinheritance forAbstractPluginManagerthanks to @boesingRFC
AbstractPluginManager#validatethanks to @boesingServiceManagerasfinaland changeAbstractPluginManagerto use composition over inheritance thanks to @boesingBC Break
container-interop/container-interoppolyfill thanks to @boesingrenovate
Bug
laminas/laminas-view (laminas/laminas-view)
v3.0.1Compare Source
Release Notes for 3.0.1
3.0.x bugfix release (patch)
3.0.1
Bug
configservice thanks to @gsteelv3.0.0Compare Source
Release Notes for 3.0.0
This release includes a significant number of breaking changes for the following primary reasons:
For full details on BC breaks, please read the migration guide at:
https://docs.laminas.dev/laminas-view/v3/migration/v2-to-v3
3.0.0
Documentation,Enhancement
PartialLoopdocs into a separate page thanks to @gsteel and @froschdesigniterable<non-empty-string, mixed>thanks to @gsteelPartialhelper documentation thanks to @Genjiff and @weierophinneyHelperPluginManagerInterfacethanks to @gsteelTemplateResolverDocumentation thanks to @gsteelDependencies,QA
Laminas\EventManagerthanks to @gsteelcomposer.jsonupdate thanks to @gsteelQA
@internalthanks to @gsteelViewModel::setCaptureTo()thanks to @gsteel@internalwhere necessary thanks to @gsteelmake clean: Only rm the docs image when it exists thanks to @gsteelEnhancement
ViewInterfacethanks to @gsteelPhpRenderer::renderthanks to @gsteelnullinput thanks to @gsteel and @weierophinneyBC Break,Documentation Needed,Enhancement
BC Break,Documentation,Feature Removal
RenderChildModelView Helper thanks to @gsteelTreeRendererInterfacethanks to @gsteelLaminas\Feedrelated code thanks to @gsteelAbstractHtmlElementthanks to @gsteelHtmlPageview helper thanks to @gsteelDependencies
Dependencies,Enhancement,QA
Dependencies,Enhancement
Bug,Documentation
mkdocs.ymlthanks to @froschdesignDocumentation
PhpRendererthanks to @gsteelViewModelthanks to @gsteelBC Break,Enhancement
templatemap&#​95;generator.phpwith aSymfony\Consolecommand thanks to @gsteelLaminas\View\Viewthanks to @gsteelPluginManageris a hard dependency forPhpRendererthanks to @gsteelHtmlObjectview helper thanks to @gsteelHeadLinkHelper thanks to @gsteelPartialandPartialLoophelpers thanks to @gsteelEnhancement,QA
PartialLoopTest thanks to @gsteelBC Break,Feature Removal
Variablesthanks to @gsteelViewModel"Options" thanks to @gsteelBC Break,Enhancement,QA
roave-infection-static-analysis-pluginthanks to @gsteelTemplateResolveris a hard dependency forPhpRenderer, removesetResolverfromRendererInterfacethanks to @gsteelRenderChildModelthanks to @gsteelBC Break,Enhancement,Feature Removal,QA
Variableswith BC Breaking Changes toRendererInterfacethanks to @gsteelBC Break
FilterChainfor acallablethanks to @gsteellaminas-translatorsupport thanks to @earthiverseBC Break,Documentation,Enhancement,Feature Removal
IdentityView Helper thanks to @gsteelLayout,HtmlAttributes,HtmlListandBasePathhelpers thanks to @gsteelHeadTitleHelper, Remove MVC and i18n Dependencies thanks to @gsteelBC Break,Documentation Needed,Enhancement,Feature Removal
ServerUrl,AbstractHelperand emptyHelperInterfacethanks to @gsteelBC Break,Documentation,Enhancement
CycleView Helper thanks to @gsteelHtmlTagview helper thanks to @gsteelHeadMetaview helper thanks to @gsteelRenderToPlaceholderthanks to @gsteelDoctypethanks to @gsteelBug,Enhancement
HelperPluginManagerthanks to @gsteelRFC
laminas-viewthanks to @gsteelBC Break,Dependencies,Enhancement
EscaperInterfacethanks to @gsteelBC Break,Feature Removal,RFC
Viewclass, alternative view models and rendering strategies. thanks to @gsteelBC Break,Dependencies,Feature Removal
BC Break,Enhancement,Feature Removal
DeclareVarsHelper, Introduce factory forPhpRendererthanks to @gsteelBC Break,Dependencies
Feature Removal
Bug
257: Remove laminas-json thanks to @arhimede
118: Workaround for Cyclic Incompatible Dependencies on 3.0.x thanks to @gsteel
249: Merge release 2.35.0 into 3.0.x thanks to @github-actions[bot]
236: Merge release 2.34.0 into 3.0.x thanks to @github-actions[bot]
83: Merge release 2.13.0 into 3.0.x thanks to @github-actions[bot]
82: Merge release 2.12.1 into 3.0.x thanks to @github-actions[bot]
renovate
BC Break,Duplicate,Enhancement
BC Break,Duplicate
Configuration
📅 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
Read more information about the use of Renovate Bot within LM-Commons.