# Changelog

## Score

- CAI 55 → 57 (+2.6)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

## Lenses

- Code Health 70 → 70 (+0.0)
- Architecture 89 → 89 (-0.0)
- Maturity 48 → 57 (+9.1)
- Readiness 65 → 65 (+0.0)
- Security 83 → 84 (+0.5)
- Accessibility 49 → 49 (+0.0)

## Resolved (68)

- Change coupling: HasUlids.php ↔ Model.php (src/Illuminate/Database/Eloquent/Concerns/HasUlids.php)
- Change coupling: SesTransport.php ↔ SesV2Transport.php (src/Illuminate/Mail/Transport/SesTransport.php)
- Duplicate intent: Both methods appear to convert the exception into an HTTP response. In Laravel, `toResponse()` is the standard PSR-15/exception handling contract method, while `response()` is a legacy or convenience alias. Having both creates confusion about which entry point to use.
- Duplicated block (11 lines × 2) (src/Illuminate/Broadcasting/Broadcasters/AblyBroadcaster.php)
- Duplicated block (11 lines × 2) (src/Illuminate/Database/Query/Grammars/SQLiteGrammar.php)
- Duplicated block (5 lines × 2) (src/Illuminate/Queue/Failed/DatabaseFailedJobProvider.php)
- Duplicated block (9–10 lines × 2) (src/Illuminate/Database/Concerns/BuildsQueries.php)
- High secret: WD-SECRET-0005 (src/Illuminate/Auth/Console/stubs/register.request.stub.php)
- High secret: WD-SECRET-0005 (src/Illuminate/Foundation/Auth/AuthenticatesUsers.php)
- High secret: WD-SECRET-0005 (src/Illuminate/Foundation/Auth/ConfirmsPasswords.php)
- High secret: WD-SECRET-0005 (src/Illuminate/Foundation/Auth/ResetsPasswords.php)
- High secret: WD-SECRET-0005 (src/Illuminate/Foundation/Auth/ResetsPasswords.php)
- High secret: WD-SECRET-0005 (src/Illuminate/Foundation/Auth/ResetsPasswords.php)
- High secret: WD-SECRET-0005 (src/Illuminate/Foundation/Console/stubs/scaffold/Http/Controllers/Auth/AuthController.php)
- Hotspot: src/Illuminate/Database/Connectors/SqlServerConnector.php (src/Illuminate/Database/Connectors/SqlServerConnector.php)
- Hotspot: src/Illuminate/Image/Drivers/InterventionDriver.php (src/Illuminate/Image/Drivers/InterventionDriver.php)
- Inconsistent error handling patterns: `Gate.authorize()` throws an exception (specifically `AuthorizationException`) on failure, whereas `HandlesAuthorization` traits provide methods like `denyWithStatus` and `denyAsNotFound` that likely throw or return specific responses. The naming `denyWithStatus` implies a return value or a specific exception construction, while `authorize` implies a void return on success and exception on failure. This mixes exception-throwing and potentially return-value-based APIs.
- Inconsistent naming for status mutation: `AuthorizationException` uses `withStatus` (immutable-style builder pattern), while `Response` also uses `withStatus`. However, `AuthorizationException` also has `asNotFound()` which is a specific case of setting a status. While not strictly duplicate, the mix of `withStatus` (generic) and `asNotFound` (specific) on the Exception, versus `denyWithStatus` and `denyAsNotFound` on the Response, creates a slight asymmetry in how status codes are applied across the authorization domain.
- Members sharing a duplicated core (4 members, 50+ identical tokens) (src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php)
- No assertions: testBroadcastOmitsTheSocketKeyFromTheEnvelopeWhenAbsent (tests/Broadcasting/MercureBroadcasterTest.php)
- …and 48 more

## New (74)

- Documentation: no build, run or usage example (README.md)
- Duplicated block (11 lines × 2) (src/Illuminate/Broadcasting/Broadcasters/Ably2Broadcaster.php)
- Duplicated block (11 lines × 2) (src/Illuminate/Console/Scheduling/ScheduleRunCommand.php)
- Duplicated block (12 lines × 2) (src/Illuminate/Database/Eloquent/Casts/AsArrayObject.php)
- Duplicated block (12 lines × 2) (src/Illuminate/Database/Eloquent/Casts/AsEncryptedArrayObject.php)
- Duplicated block (5 lines × 2) (src/Illuminate/Broadcasting/Broadcasters/Ably2Broadcaster.php)
- Duplicated block (5 lines × 2) (src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php)
- Duplicated block (5 lines × 2) (src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php)
- Duplicated block (9–10 lines × 2) (src/Illuminate/Database/Concerns/BuildsQueries.php)
- Edited copy of a member (10 corresponding lines) (src/Illuminate/Process/Factory.php)
- Edited copy of a member (11 corresponding lines) (src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php)
- Edited copy of a member (11 corresponding lines) (src/Illuminate/Database/Query/Grammars/SqlServerGrammar.php)
- Edited copy of a member (11 corresponding lines) (src/Illuminate/Pagination/CursorPaginator.php)
- Edited copy of a member (11 corresponding lines) (src/Illuminate/Queue/Middleware/RateLimitedWithRedis.php)
- Edited copy of a member (12 corresponding lines) (src/Illuminate/Database/Eloquent/Casts/AsStringable.php)
- Edited copy of a member (13 corresponding lines) (src/Illuminate/Bus/DatabaseBatchRepository.php)
- Edited copy of a member (14 corresponding lines) (src/Illuminate/Auth/AuthManager.php)
- Edited copy of a member (14 corresponding lines) (src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php)
- Edited copy of a member (16 corresponding lines) (src/Illuminate/Support/Testing/Fakes/BusFake.php)
- Edited copy of a member (17 corresponding lines) (src/Illuminate/Conditionable/Traits/Conditionable.php)
- …and 54 more

## Changes since last survey

- 125 commits — 94 feature/other, 31 fixes

## By area

- src/Illuminate — 100 commits
- (root) — 7 commits
- tests/Integration — 4 commits
- tests/Support — 4 commits
- .github/workflows — 3 commits
- tests/Database — 2 commits
- .agents/setup — 1 commit
- bin/release.sh — 1 commit
- tests/Auth — 1 commit
- tests/Console — 1 commit
- tests/Container — 1 commit

## Notable commits

- fix: Fix @param types wider than the native parameter type (#62271)
- fix: Fix BeanstalkdJob job ID and job property types (#62306)
- fix: Fix JSON:API resource collections wrapping plain objects (#62299)
- fix: Fix Paginator::links() return type (#62226)
- fix: Fix Pusher authentication for invalid channel names (#62309)
- fix: Fix Request::route() return type when no route is resolved (#62191)
- fix: Fix Rule::anyOf() passing associative arrays against plain rule lists (#62171)
- fix: Fix SQL Server ignoring orderBy on update and delete with limit (#62239)
- fix: Fix SQLiteGrammar drop primary and drop foreign return types (#62308)
- fix: Fix Str::remove() rejecting a Traversable subject (#62278)
- fix: Fix Str::substrCount() treating offset and length as bytes (#62277)
- fix: Fix cursorPaginate() columns on union queries with multiple orders (#62272)
- fix: Fix forceIndex generating invalid SQL on SQLite (#62255)
- fix: Fix install:broadcasting with app.jsx and app.js (#62202)
- fix: Fix lazily loaded images not being freed until garbage collection (#62265)
- fix: Fix named arguments in Cookie::queue() (#62246)
- fix: Fix not_regex passing when the pattern match fails (#62427)
- fix: Fix pagination contracts render() return type (#62242)
- fix: Fix process fake shorthands when starting processes (#62200)
- fix: Fix toResourceCollection() on filtered collections (#62266)
- …and 105 more

## Architecture

- Unchanged — 0 containers · 1 contexts · 0 edges
