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

(#73) Moved grpc/grpc dependency #76

Merged
merged 8 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ phpunit.phar

# phpunit cache
/.phpunit.cache
.phpunit.result.cache
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Chg #61: Increased minimum PHP version to 8.1 (@s1lver)
- Enh #67: Added runner for gRPC requests (@s1lver)
- Enh #74: Add support for `psr/http-message` of `^2.0` version (@vjik)
- Chg #76: `grpc/grpc` dependency is made optional (@s1lver)

## 2.0.0 February 19, 2023

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
"yiisoft/log": "^2.0",
"yiisoft/log-target-file": "^3.0",
"yiisoft/yii-http": "^1.0",
"yiisoft/yii-runner": "^2.0",
"grpc/grpc": "^1.50.0"
"yiisoft/yii-runner": "^2.0"
},
"require-dev": {
"httpsoft/http-message": "^1.0",
Expand All @@ -56,7 +55,8 @@
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^5.22",
"yiisoft/middleware-dispatcher": "^5.0",
"yiisoft/test-support": "^3.0"
"yiisoft/test-support": "^3.0",
"grpc/grpc": "^1.50.0"
},
"suggest": {
"grpc/grpc": "Needed for gRPC support",
Expand Down
1 change: 1 addition & 0 deletions docs/en/grpc-application-runner.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ grpc:
command: "php GrpcWorker.php"
```

> Notice! If you are also implementing the client side (to call RoadRunner API from the PHP application) then you will need to manually add the `grpc/grpc` package of the correct version to your composer.json.
1 change: 1 addition & 0 deletions docs/ru/grpc-application-runner.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ grpc:
command: "php GrpcWorker.php"
```

> Обратите внимание! Если вы также реализуете клиентскую часть (отправляете запросы в RoadRunner из PHP), то вам необходимо самостоятельно добавить пакет `grpc/grpc` нужной версии в ваш composer.json.
Loading