Repository navigation
Pre-release 4.2.115 → 4.2.114 — task 4.5 (auth): swap illuminate/auth to ^13 - #87
Merged
Merged
Conversation
agissept
force-pushed
the
pre-release/4.2.115
branch
from
September 30, 2026 10:37
4e1e5b3 to
095a2fb
Compare
agissept
force-pushed
the
pre-release/4.2.115
branch
2 times, most recently
from
October 1, 2026 10:33
db13e57 to
4f1ff81
Compare
agissept
marked this pull request as ready for review
October 1, 2026 10:40
- composer.json requires illuminate/auth ^13 and drops it from
replace; the fork's Auth tree (Guard, AuthManager, providers,
Reminders and their console commands) and its tests are deleted.
- Application aliases 'auth' to the v13 Auth Factory contract and
'auth.driver' to the Guard contract; the Reminders aliases go with
the Reminders component.
- ApplicationTrait::be() takes an Authenticatable and sets it on
guard($driver): v13's AuthManager has no driver().
The session guard's state names change with it: v13 keeps the
logged-in id under login_{guard}_{sha1(class)} and the remember-me
cookie under remember_{guard}_{sha1(class)} as id|token|hmac. Reading
the fork's login_/remember_ state is the app's dual-read (roadmap §8).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0169SsatCE8LhaTsQTPiGtVo
agissept
force-pushed
the
pre-release/4.2.115
branch
from
October 1, 2026 10:40
4f1ff81 to
5d30de8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task 4.5, auth — swap
illuminate/authto ^13Stacks on #86. This is the auth part of SCC-2 (task 4.5). Mail went separately in 4.2.111 (#83), so only
auth,exception,foundationandhtmlstay inreplace.Changes
composer.json: requiresilluminate/auth ^13and removes it fromreplace. Its hard requirementilluminate/queueis already v13 (4.2.109).Authtree (Guard,AuthManager, the database/Eloquent providers,GenericUser,Remindersand its three console commands) andtests/Auth/*. v13 ships all of them exceptReminders.Application::registerCoreContainerAliases():authtoContracts\Auth\Factoryandauth.drivertoContracts\Auth\Guard, mirroring v13's auth alias cluster;auth.reminder*aliases along withReminders.ApplicationTrait::be(): now takes anAuthenticatableand callsguard($driver), because v13'sAuthManagerhas nodriver().tests/Auth/AuthForkBridgeTest.php(3 tests): the contracts resolve to the fork's bindings, andbe()sets the user on the default guard and on a named one.Session and cookie state
login_{guard}_{sha1(SessionGuard)};remember_{guard}_{sha1(SessionGuard)}, and its value isid|token|hmac(password hash).login_{md5(Guard)}andremember_{md5(Guard)}, with anid|tokenvalue.Verification
composer validate: only the existingvoku/portable-asciiwarning;composer.json(with rector) resolves:illuminate/authv13.34.0.feature/platform/framework-4.2.115-rc1) ran with vendor installed exactly from its lock and the local SMTP sink on127.0.0.1:1025:Rest of 4.5
There is no
illuminate/foundationv13 package: Foundation ships only insidelaravel/framework. Sofoundationandexceptioncan't be swapped one package at a time. They leave in the final flip, when the app requires stocklaravel/framework ^13and the fork is dropped. That also needshtmlout first (task 3.1).Tag
4.2.115on4e1e5b39is not pushed; tag pushes are refused for this session.🤖 Generated with Claude Code
https://claude.ai/code/session_0169SsatCE8LhaTsQTPiGtVo