-
-
Notifications
You must be signed in to change notification settings - Fork 259
Laravel 12.49.0 Shift #2145
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
Laravel 12.49.0 Shift #2145
Conversation
📝 WalkthroughWalkthroughDependency version updates in composer.json bumping Laravel framework from ^12.47 to ^12.49, Flysystem AWS S3 from ^3.30 to ^3.31, Flysystem memory adapter from ^3.29 to ^3.31, and Spatie Laravel Data from ^4.18 to ^4.19. No code logic changes. Changes
Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@composer.json`:
- Around line 18-26: Update the invalid package constraint in composer.json:
replace the dependency "league/flysystem-memory": "^3.31" with a valid released
constraint such as "^3.29" (refer to the "league/flysystem-memory" entry in
composer.json), then run composer update to regenerate composer.lock and confirm
the lockfile contains the new resolved version.
| "laravel/framework": "^12.49", | ||
| "laravel/helpers": "^1.8", | ||
| "laravel/sanctum": "^4.2", | ||
| "laravel/socialite": "^5.24", | ||
| "laravel/tinker": "^2.10.1", | ||
| "laravel/ui": "^4.6", | ||
| "lcobucci/jwt": "^5.6", | ||
| "league/flysystem-aws-s3-v3": "^3.30", | ||
| "league/flysystem-memory": "^3.29", | ||
| "league/flysystem-aws-s3-v3": "^3.31", | ||
| "league/flysystem-memory": "^3.31", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
cat -n composer.json | head -50Repository: pelican-dev/panel
Length of output: 2315
🏁 Script executed:
#!/bin/bash
# Run the verification script from the review comment
python - <<'PY'
import json, pathlib, sys
p = pathlib.Path("composer.lock")
if not p.exists():
print("composer.lock not found")
sys.exit(1)
data = json.loads(p.read_text())
def find(pkg):
for sec in ("packages", "packages-dev"):
for item in data.get(sec, []):
if item.get("name") == pkg:
return item.get("version")
return None
pkgs = [
"laravel/framework",
"league/flysystem-aws-s3-v3",
"league/flysystem-memory",
"spatie/laravel-data",
]
for pkg in pkgs:
print(f"{pkg}: {find(pkg)}")
PYRepository: pelican-dev/panel
Length of output: 147
🌐 Web query:
Laravel 12.49.0 release notes breaking changes PHP requirements
💡 Result:
Laravel Framework v12.49.0 (released 2026-01-28)
PHP requirement
- PHP:
^8.2(i.e., PHP 8.2+) forlaravel/frameworkv12.49.0. [1]
Breaking changes
- None expected in a Laravel 12.x patch release (Laravel states minor/patch releases “should never contain breaking changes”). [2]
Notable change in this release stream (deprecation)
Collection::containsOneItem()is deprecated as of 12.49.0; usehasSole()instead. [3]- Related:
Collection::containsManyItems()exists as a companion helper. [4]
Sources: [1] [2] [3] [4]
🌐 Web query:
league/flysystem-aws-s3-v3 3.31 release notes breaking changes
💡 Result:
league/flysystem-aws-s3-v3 3.31.0 (tagged 2026-01-23) contains no functional changes and no breaking changes—it only updates the LICENSE copyright year (2013–2024 → 2013–2026). [1][2]
Implication: upgrading 3.30.1 → 3.31.0 should be safe; any breaking behavior would have to come from your dependency resolution (e.g., different installed aws/aws-sdk-php within the allowed constraint), not from changes in this adapter’s code. [2]
Sources:
[1] https://github.com/thephpleague/flysystem-aws-s3-v3/tags
[2] thephpleague/flysystem-aws-s3-v3@e36a2bc
🌐 Web query:
league/flysystem-memory 3.31 release notes breaking changes
💡 Result:
league/flysystem-memorydoes not have a 3.31 release. Packagist currently shows the latest as 3.29.0 (2024-08-09), so there are no “3.31” release notes / breaking changes for that package. [1]- If you meant
league/flysystem(core), 3.31.0 exists (released 2026-01-23). [2] - For breaking-change guidance, Flysystem’s BC breaks are documented in the upgrade docs (primarily around major-version upgrades, e.g., 1.x → 3.x). [3]
Sources:
[1] league/flysystem-memory on Packagist (latest version listing) (packagist.org)
[2] league/flysystem on Packagist (3.31.0 listing) (packagist.org)
[3] Flysystem upgrade guide (flysystem.thephpleague.com)
Citations:
- 1: https://packagist.org/packages/league/flysystem-memory?utm_source=openai
- 2: https://packagist.org/packages/league/flysystem?utm_source=openai
- 3: https://flysystem.thephpleague.com/docs/upgrade-from-1.x/?utm_source=openai
🌐 Web query:
spatie/laravel-data 4.19 release notes breaking changes
💡 Result:
spatie/laravel-data v4.19.0 — breaking changes?
None listed in the v4.19.0 release notes (there is no “Breaking changes” section for 4.19.0). [1]
What changed in 4.19.0 (Jan 19, 2026)
- Fix:
DataMorphClassResolver— skip applying default value if the morph property was resolved ([#1101]). [1] - Fix: dependency issue ([
#1136]). [1]
Full changelog: 4.18.0...4.19.0. [1]
Sources
- [1] (github.com)
Citations:
Fix invalid constraint: league/flysystem-memory: ^3.31 does not exist.
Version 3.31 of league/flysystem-memory has never been released; the latest available version is 3.29.0 (August 2024). This constraint will cause composer update to fail. Correct this to a valid version (e.g., ^3.29) before proceeding.
The other bumped dependencies are safe:
laravel/framework12.49.0 has no breaking changes (only deprecatesCollection::containsOneItem()in favor ofhasSole()).league/flysystem-aws-s3-v33.31.0 contains only a LICENSE year update, no functional changes.spatie/laravel-data4.19.0 has no breaking changes.
After correcting the flysystem-memory constraint, verify that composer.lock reflects the updated versions.
🤖 Prompt for AI Agents
In `@composer.json` around lines 18 - 26, Update the invalid package constraint in
composer.json: replace the dependency "league/flysystem-memory": "^3.31" with a
valid released constraint such as "^3.29" (refer to the
"league/flysystem-memory" entry in composer.json), then run composer update to
regenerate composer.lock and confirm the lockfile contains the new resolved
version.
This pull request includes updates for the recent minor version release of Laravel as well as bumps your package dependencies. You may review the full list of changes in the Laravel Release Notes, or highlighted changes and tips in the weekly Shifty Bits newsletter.
Before merging, you need to:
shift-ci-v12.49.0branchcomposer update