Skip to content
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 #361

Open
wants to merge 1 commit into
base: 1.8.x
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 4, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
laminas/laminas-servicemanager (source) ^3.22.1 -> ^4.0.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

laminas/laminas-servicemanager (laminas/laminas-servicemanager)

v4.1.0

Compare Source

Release Notes for 4.1.0

Feature release (minor)

4.1.0
  • Total issues resolved: 1
  • Total pull requests resolved: 3
  • Total contributors: 2
Documentation
Documentation,Enhancement

v4.0.2

Compare Source

Release Notes for 4.0.2

4.0.x bugfix release (patch)

4.0.2
  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1
Bug,Documentation

v4.0.1

Compare Source

Release Notes for 4.0.1

4.0.x bugfix release (patch)

4.0.1
  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 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 consume psr/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
  • Several native type-additions including property-, argument- and return-types and a lot more psalm types
  • ServiceManager#get, PluginManagerInterface#get and ServiceLocatorInterface#build now explicitly implement mixed as return-type to synchronize types with ContainerInterface#get
  • Support for psr/container v1.1 and v2.0
  • Ahead of Time factory creation for services explicitly using ReflectionBasedAbstractFactory via laminas-cli
Removed
  • Dropped support for PHP <8.1
  • Removed deprecated interfaces such as
    • Laminas\ServiceManager\AbstractFactoryInterface
    • Laminas\ServiceManager\FactoryInterface
    • Laminas\ServiceManager\InitializerInterface
    • Laminas\ServiceManager\DelegatorFactoryInterface
  • CLI commands which were exposed via vendor/bin are removed in favor of the laminas-cli integration. All CLI commands of v3.x are accessible via vendor/bin/laminas servicemanager:<v3.x command name> once laminas/laminas-cli is required in the projects dependencies
  • Removed deprecated ConfigInterface and Config-class since these files did not provide any validation logic and were just used to proxy the configuration array structure
  • Removed AbstractPluginManager#validate and AbstractPluginManager::$instanceOf property as in v3.x, implementing plugin managers were able to implicitly validate mixed. In case an implementing plugin manager is providing a single $instanceOf such as laminas-cache, there is a new class AbstractSingleInstancePluginManager available which requires the $instanceOf property to be configured
Breaking Changes
  • AbstractPluginManager does not extend ServiceManager anymore and instead uses an own ServiceManager instance under the hood to manage plugin manager related services which can be configured the same way as in v3.x
  • Dedicated CLI commands which were previously linked to vendor/bin are now integrated via laminas-cli and can be called via vendor/bin/laminas once laminas/laminas-cli is part of the projects requirements. Read more about how to consume these commands here.
  • AbstractPluginManager does not provide the validate-Method anymore and requires migration action such as:
    • extend 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 native string property type)
    • implement validate method and verify whatever type has to be returned and/or just allow mixed as v3.x did when omitting $instanceOf property
  • Removed deprecated ConfigInterface and Config-class since these files did not provide any validation logic and were just used to proxy the configuration array structure
  • neither ServiceManager nor AbstractPluginManager do validate the provided configuration at runtime anymore. due to the psalm-types provided to ServiceManager#__construct, ServiceManager#configure, AbstractPluginManager#__construct and AbstractPluginManager#configure, the configuration schema is strictly typed and thus, a miss-configuration can be mitigated on static-analysis level prior actual runtime
  • AbstractPluginManager#get does not accept options anymore, in case an instance with options needs to be created, AbstractPluginManager#build has to be used
4.0.0
  • Total issues resolved: 7
  • Total pull requests resolved: 14
  • Total contributors: 6
Enhancement
BC Break,Enhancement
RFC
BC Break
renovate
Bug

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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies label Mar 4, 2024
Copy link

codecov bot commented Mar 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.36%. Comparing base (3febebd) to head (01f950b).

Additional details and impacted files
@@            Coverage Diff            @@
##              1.8.x     #361   +/-   ##
=========================================
  Coverage     65.36%   65.36%           
  Complexity      210      210           
=========================================
  Files            34       34           
  Lines           924      924           
=========================================
  Hits            604      604           
  Misses          320      320           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 3 times, most recently from de5efe9 to 38d24b3 Compare March 8, 2024 07:41
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 5 times, most recently from 4978feb to 231c4ba Compare March 23, 2024 05:04
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 5 times, most recently from 88c6c4d to 4be3a3a Compare March 31, 2024 08:06
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 5 times, most recently from 80137c4 to 850012b Compare April 8, 2024 06:01
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 4 times, most recently from 7bb83d0 to 89a5769 Compare April 16, 2024 09:21
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 5 times, most recently from 2f65086 to 682b77d Compare April 25, 2024 04:27
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from 682b77d to 85b294f Compare April 26, 2024 20:19
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 2 times, most recently from 8bc384e to ce9505e Compare May 1, 2024 06:40
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from ce9505e to 21fcaa0 Compare May 10, 2024 02:12
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from 21fcaa0 to f72375e Compare May 18, 2024 11:20
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from f72375e to 371931b Compare June 4, 2024 15:24
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from 371931b to b9ee48a Compare June 14, 2024 02:34
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from b9ee48a to c140c84 Compare June 25, 2024 10:42
| datasource | package                        | from   | to    |
| ---------- | ------------------------------ | ------ | ----- |
| packagist  | laminas/laminas-servicemanager | 3.22.1 | 4.2.0 |
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from c140c84 to 01f950b Compare July 11, 2024 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants