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 #42

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 5, 2024

This PR contains the following updates:

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

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
  • Total issues resolved: 0
  • Total pull requests resolved: 5
  • Total contributors: 4
Enhancement
Documentation,Enhancement
renovate

v4.2.1

Compare Source

Release Notes for 4.2.1

4.2.x bugfix release (patch)

4.2.1
  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1
Documentation,Enhancement

v4.2.0

Compare Source

Release Notes for 4.2.0

Feature release (minor)

4.2.0
  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1
Enhancement

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

v3.23.0

Compare Source

Release Notes for 3.23.0
3.23.0
  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1
Enhancement

v3.22.1

Compare Source

Release Notes for 3.22.1

3.22.x bugfix release (patch)

3.22.1
  • Total issues resolved: 1
  • Total pull requests resolved: 1
  • Total contributors: 1
Enhancement

v3.22.0

Compare Source

Release Notes for 3.22.0
3.22.0
  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1
Enhancement

v3.21.0

Compare Source

Release Notes for 3.21.0

Feature release (minor)

Added
  • Duplicated all psalm-types from ConfigInterface in ServiceManager. This provides forward compatibility with v4.0.0
Removed
  • Support for PHP <8.1 due to PHPUnit 10 upgrade
Changed
  • Marked ConfigInterface and Config as deprecated as they will be removed with v4.0.0
3.21.0
  • Total issues resolved: 0
  • Total pull requests resolved: 4
  • Total contributors: 2
Enhancement

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

Read more about the use of Renovate Bot within ocramius/* projects.

@renovate renovate bot added the renovate label Mar 5, 2024
Copy link
Contributor Author

renovate bot commented Mar 5, 2024

⚠ Artifact update problem

Renovate 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:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update laminas/laminas-servicemanager:4.1.0 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
Loading composer repositories with package information
Dependency psr/container is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires laminas/laminas-servicemanager ^4.1.0 -> satisfiable by laminas/laminas-servicemanager[4.1.0].
    - laminas/laminas-servicemanager 4.1.0 requires php ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.0.99; overridden via config.platform, actual: 8.0.30) does not satisfy that requirement.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 6 times, most recently from 0130c91 to b3c943e Compare April 9, 2024 16:50
@renovate renovate bot changed the base branch from 2.4.x to 2.5.x April 9, 2024 16:52
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from b3c943e to 1ef9ce9 Compare April 24, 2024 08:33
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from 1ef9ce9 to ef9ba09 Compare May 7, 2024 03:53
Copy link
Contributor Author

renovate bot commented May 22, 2024

⚠️ Artifact update problem

Renovate 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:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update laminas/laminas-servicemanager:4.3.0 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
Loading composer repositories with package information
Dependency psr/container is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires laminas/laminas-servicemanager ^4.3.0 -> satisfiable by laminas/laminas-servicemanager[4.3.0].
    - laminas/laminas-servicemanager 4.3.0 requires php ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 -> your php version (8.0.99; overridden via config.platform, actual: 8.0.30) does not satisfy that requirement.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 2 times, most recently from 3e8f0a7 to d90ba5f Compare May 23, 2024 04:45
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from d90ba5f to 08380b6 Compare June 6, 2024 00:00
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from 08380b6 to c8bd4ad Compare June 13, 2024 03:26
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from c8bd4ad to 9dd139b Compare June 20, 2024 05:04
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 3 times, most recently from 7ea2260 to d29b8f6 Compare July 11, 2024 03:42
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from d29b8f6 to 47332db Compare July 22, 2024 04:29
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from 47332db to 114616c Compare August 23, 2024 03:02
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from 114616c to a71e9e2 Compare August 30, 2024 04:51
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 2 times, most recently from 30e7cef to 4379c8d Compare September 10, 2024 03:34
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 3 times, most recently from e71ea7e to fce8603 Compare September 20, 2024 03:05
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 2 times, most recently from 658fd81 to 12da046 Compare September 27, 2024 04:14
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 2 times, most recently from f96e430 to b4911e4 Compare October 3, 2024 04:43
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 2 times, most recently from 4f3ce41 to 942f6c2 Compare October 14, 2024 04:45
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 2 times, most recently from 90f018a to 2c1db7a Compare October 22, 2024 14:54
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 2 times, most recently from cacee07 to fb871d1 Compare November 5, 2024 14:41
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch 2 times, most recently from 2b71e7b to 659117a Compare November 13, 2024 04:33
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from 659117a to d384727 Compare November 17, 2024 03:28
| datasource | package                        | from   | to    |
| ---------- | ------------------------------ | ------ | ----- |
| packagist  | laminas/laminas-servicemanager | 3.20.0 | 4.3.0 |
@renovate renovate bot force-pushed the renovate/laminas-laminas-servicemanager-4.x branch from d384727 to 6dc78fa Compare November 28, 2024 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants