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

[RoadRunner] Add support for RoadRunner 2023 and 2024 #172

Merged
merged 6 commits into from
Nov 17, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove spiral/roadrunner dependency
  • Loading branch information
msmakouz committed Jun 18, 2024
commit a0d0a5e3e5e51e116c4264b30e7921e96dc2587c
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"nyholm/psr7": "^1.3",
"nyholm/psr7-server": "^1.0",
"react/http": "^1.2",
"spiral/roadrunner": "^2.0 || ^2023.3 || ^2024.1",
"spiral/roadrunner-cli": "^2.6",
"spiral/roadrunner-http": "^2.2 || ^3.5.1",
"symfony/console": "^5.2 || ^6.0",
Expand Down
1 change: 0 additions & 1 deletion src/roadrunner-nyholm/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
],
"require": {
"nyholm/psr7": "^1.4",
"spiral/roadrunner": "^2.0 || ^2023.3 || ^2024.1",
"spiral/roadrunner-cli": "^2.6",
"spiral/roadrunner-http": "^2.2 || ^3.5.1",
"symfony/runtime": "^5.4 || ^6.0 || ^7.0"
Expand Down
1 change: 0 additions & 1 deletion src/roadrunner-symfony-nyholm/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"require": {
"php": ">=8.0.5",
"nyholm/psr7": "^1.4",
"spiral/roadrunner": "^2.0 || ^2023.3 || ^2024.1",
"spiral/roadrunner-cli": "^2.6",
"spiral/roadrunner-http": "^2.2 || ^3.5.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have really a min requirement to 2.2 and 3.5.1? Or can we go with "^2 || ^3". Keep the versions wide as possible makes upgrading for others mostly easier.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexander-schranz
3.x - Starting from version 3.5.0, support for RoadRunner 2024.1 has been added. Versions below this will only support RoadRunner 2023.3.12 and earlier. I wanted to ensure support for 2024. If ensuring support for 2024 is not necessary, the version can be downgraded to 3.0.
2.x - Version 2.x is required to support RoadRunner 2.x. I added 2.2 because it was the latest 2.x version, released on November 30, 2022. I assumed that users have been using it for a long time. However, we can downgrade to 2.0 if necessary.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From library perspective we should keep it as open as possible if we don't require a newer version we should keep it in our range aslong as possible. This make it easier for projects adopting lib updates.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes sense, changed to ^2.0 || ^3.0.

"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
Expand Down
Loading