Skip to content

Update dependency mezzio/mezzio-router to v4 #45

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

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 27, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mezzio/mezzio-router (source) ^3.7 -> ^3.7 || ^4.0 age adoption passing confidence

Release Notes

mezzio/mezzio-router (mezzio/mezzio-router)

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

v4.0.0

Compare Source

Release Notes for 4.0.0

Release notes for 4.0

  • #​66 Adds the final keyword to all classes preventing subclassing
  • #​70 Introduces native types where they were previously missing. Most of these changes will not cause any impact now that the classes are final.
  • #​71 removes the deprecated ImplicitMethodsIntegrationTest - this abstract test case was renamed for PHPUnit compatibility to AbstractImplicitMethodsIntegrationTest. This change will only affect integration tests for Router implementations
  • #​68 changes the constructor signature of ImplicitHeadMiddleware - it now only accepts a PSR-17 StreamFactoryInterface where previously, it also accepted an arbitrary callable.
  • #​69 changes the constructor signatures of MethodNotAllowedMiddleware and ImplicitOptionsMiddleware. Previously, both of these middleware accepted a callable and a PSR-17 ResponseFactoryInterface. The ability to pass a callable has been removed
  • Some internal, and now unused traits and classes have been removed. As these were not part of the public API, their removal should not cause any problems.
  • #​72 Changes the way that configuration is processed for the the detection of duplicate routes.
    Previously an array was expected in the format:
    return [
      \Mezzio\Router\RouteCollector::class => [
        'detect_duplicates' => true,
      ],
    ];
    Now, the top level key of router should be used:
    return [
      'router' => [
        'detect_duplicates' => true,
      ],
    ];
    Duplicate route detection still defaults to true so this change will affect users that explicitly turned off duplicate route detection, and, where duplicate routes exist, or the feature was turned off explictly to save the additional overhead in production.
4.0.0
  • Total issues resolved: 4
  • Total pull requests resolved: 12
  • Total contributors: 3
QA,dependencies
Documentation,Enhancement
Enhancement,QA
Enhancement
Bug
BC Break
BC Break,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 information about the use of Renovate Bot within Laminas.

| datasource | package              | from   | to    |
| ---------- | -------------------- | ------ | ----- |
| packagist  | mezzio/mezzio-router | 3.18.0 | 4.0.1 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot added the renovate label Apr 27, 2025
Copy link
Contributor Author

renovate bot commented Apr 27, 2025

⚠️ 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 mezzio/mezzio-router:4.0.1 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
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 mezzio/mezzio-router ^3.7 || ^4.0, found mezzio/mezzio-router[3.7.0, ..., 3.18.0, 4.0.0, 4.0.1] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - mezzio/mezzio-helpers is locked to version 5.17.0 and an update of this package was not requested.
    - mezzio/mezzio-helpers 5.17.0 requires mezzio/mezzio-router ^3.0 -> found mezzio/mezzio-router[3.0.0, ..., 3.18.0] but it conflicts with your temporary update constraint (mezzio/mezzio-router:4.0.1).

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

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