chore(deps): update dependency google/cloud-logging to v2#2203
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the google/cloud-logging dependency to version 2.0 in the composer.json file. Feedback indicates that this package should be moved from the require-dev section to the main require section to ensure logging functionality is available in production environments where development dependencies are not installed.
| "require-dev": { | ||
| "monolog\/monolog": "^2.0", | ||
| "google/cloud-logging": "^1.14" | ||
| "google/cloud-logging": "^2.0" |
There was a problem hiding this comment.
The google/cloud-logging package is used by the application's logging configuration (CreateStackdriverLogger.php) and should be listed in the require section rather than require-dev. If the application is deployed with --no-dev, the logging functionality will fail because the package will be missing. Additionally, note that google/cloud-logging v2.0.0 requires PHP 7.4 or higher, which may impact compatibility with older App Engine runtimes.
This PR contains the following updates:
^1.14→^2.0Release Notes
googleapis/google-cloud-php-logging (google/cloud-logging)
v2.0.0: google/cloud-logging v2.0.0Compare Source
Bug Fixes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.