Skip to content

Support for psr/http-message ^2.0 #18698

@rokorolov

Description

@rokorolov

Description

Hi Sylius Team,

I am attempting to update my project dependencies, but I am running into a version conflict related to psr/http-message.

The newer versions of league/oauth2-server-bundle (and other modern libraries) now require psr/http-message: ^2.0. However, it appears that the current version of sylius/sylius constraints this package to ^1.0.

Context on Release Dates:

psr/http-message v2.0 was released in August 2023 (introducing strict types).

Since v1.0 is nearly a decade old, many ecosystem packages are migrating to v2.0 exclusively, which prevents Sylius projects from using updated versions of those libraries.

Question: Is there a plan to bump support to ^1.0 || ^2.0 in the core Sylius packages to allow for this upgrade?

Metadata

Metadata

Assignees

No one assigned

    Labels

    DependenciesPull requests that update a dependency fileEnhancementMinor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).MaintenanceCI configurations, READMEs, releases, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions