Skip to content

Pin league/oauth2-google dependency to version ^5.0 - #61

Merged
mychidarko merged 1 commit into
leafsphp:v5.xfrom
fadrian06:pin-league-oauth2-google
Oct 20, 2026
Merged

mychidarko merged 1 commit into
leafsphp:v5.xfrom
fadrian06:pin-league-oauth2-google

Conversation

@fadrian06

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce? (pls check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe below

Description

This pull request updates the dependency version constraint for the league/oauth2-google package in the composer.json file. Instead of allowing any version, it now requires version 5.0 or higher, but less than 6.0. This helps ensure compatibility and stability by preventing unexpected breaking changes from future major versions.

  • Dependency version constraint update:
    • Changed the league/oauth2-google dependency from "*" (any version) to "^5.0" (version 5.x only) in composer.json.

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Copilot AI lite review requested due to automatic review settings September 11, 2026 02:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

馃煝 Approval recommended

The narrowly scoped dependency update has no unresolved issues.

Pull request overview

Updates league/oauth2-google to the stable 5.x dependency range.

Changes:

  • Replaces the unrestricted * constraint with ^5.0.
File summaries
File Description
composer.json Restricts the Google OAuth dependency to compatible 5.x releases.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@mychidarko mychidarko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good, pinning the dev dependency to the current major is better than *. The only failing check is lint, which is the checkout bug fixed in #58. A rebase on v5.x should turn it green.

Update the version constraint for league/oauth2-google from a wildcard
to ^5.0. This ensures the project uses a stable version and avoids
potential breaking changes from future major releases.
@mychidarko
mychidarko force-pushed the pin-league-oauth2-google branch from 9de4eb8 to 8f08765 Compare October 20, 2026 09:14
@mychidarko
mychidarko merged commit 372a2f8 into leafsphp:v5.x Oct 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants