Laravel 13.37.0 업데이트
릴리스: 2026년 10월 16일
평가: 2026년 10월 22일
Laravel 13.37.0은 큐 고유 락(unique lock) 처리, Eloquent 관계·캐스트, 마이그레이션 상태 표시 등 다수의 버그 수정과 소규모 기능 추가로 구성된 마이너 릴리스입니다. 릴리스 노트에 명시된 하위 호환성 파괴 항목은 없으므로 필수 대응은 없고, 일반적인 업데이트 절차(테스트 후 적용)로 충분합니다. 다만 암호화 캐스트의 dirty 판정, latest()/oldest()의 컬럼 한정, 고유 락 해제 시점 변경은 동작에 영향을 줄 수 있어...
패키지 관리자가 확인할 것
- vladimir-yuldashev/laravel-queue-rabbitmq위험도 낮음
이번 릴리스는 큐에 작업/리스너를 push하다 실패하면 고유 락(unique lock)을 해제하도록 바뀌었습니다(#62010, #62045). 코어 큐 경로에 대한 수정이므로, 자체 큐 드라이버를 구현한 패키지는 push 실패 시 예외 전파 방식이 이 동작과 맞는지 확인해 볼 만합니다. 릴리스 노트에 해당 패키지 관련 언급은 없습니다.
대응 체크리스트
- 암호화 캐스트 사용 모델 회귀 테스트가까운 시일
encrypted:object, encrypted:collection 캐스트가 항상 dirty로 판정되던 문제가 수정되었습니다(#62032). 모델 이벤트(updating/saving)나 isDirty() 결과에 의존하는 코드가 있다면 테스트로 확인하세요.
- 조인 쿼리의 latest()/oldest() 확인선택
조인이 있는 쿼리에서 기본 latest()/oldest() 컬럼이 한정(qualify)됩니다(#62024). 컬럼 모호성 오류가 사라지는 방향의 변경이지만, 기본 컬럼명을 문자열로 비교하는 코드가 있다면 확인하세요.
- onOneServer + withoutOverlapping 스케줄 점검선택
두 옵션을 함께 쓰는 작업의 경합 상태 수정(#62007)이 포함되어 있습니다. 해당 조합을 쓰는 스케줄 작업이 있으면 업데이트 후 중복 실행 여부를 모니터링하세요.
- 새 옵션 활용 검토선택
queue:failed --queue 옵션, queue:forget 다중 ID 지원, ScheduledTaskFailed 이벤트의 runtime, SFTP/FTP 디스크의 detect_mime_type_using_path, Rule::numeric() strict 옵션, 이미지 API의 JPEG XL 지원이 추가되었습니다. 필요할 때만 도입하면 됩니다.
자동 생성상세 평가
요약
Laravel 13.37.0은 13.x 브랜치의 마이너 릴리스로, 릴리스 노트는 대부분 버그 수정과 소규모 기능 추가입니다. 하위 호환성 파괴로 명시된 항목은 없으며 필수 대응은 없습니다.
주요 변경
- 큐/스케줄:
onOneServer()와withoutOverlapping()병용 시 경합 상태 수정(#62007), 작업·큐 리스너 push 실패 시 고유 락 해제(#62010, #62045),Queue::fake()에서 고유 큐 리스너 락 해제(#62025),queue:failed --queue옵션(#61971),queue:forget다중 ID 허용(#61901),ScheduledTaskFailed에 runtime 추가(#61970). - Eloquent: 자기 참조 one-of-many 관계의
has()/withCount()수정(#62009, #62040),whereBelongsTo()/whereAttachedTo()컬렉션 타입 수정(#62002),cursor()의 불필요한 모델 인스턴스 생성 제거(#62001), through 관계의incrementOrCreate()및firstOrNew()/firstOrCreate()/createOrFirst()컬럼 한정 수정(#61997, #62038), 조인이 있는 soft delete 쿼리의restore()수정(#61998), Eloquent 컬렉션findOrFail()모델 인스턴스 처리(#61999),withWhereHas()콜백에서 컬럼 선택 지원(#62039), 조인 쿼리의latest()/oldest()기본 컬럼 한정(#62024),encrypted:object/encrypted:collection캐스트가 항상 dirty이던 문제(#62032), 캐시된Attribute접근자가 설정 후 오래된 값을 반환하던 문제(#62035). - JSON:API 리소스: 중첩 관계 포함 시 N+1 수정(#62000), 속성에서
mergeWhen()수정(#62023). - 기타: MariaDB/MySQL
getForeignKeys성능 개선(#62014),migrate:status에서 건너뛴 마이그레이션을 pending으로 표시하지 않음(#61989), 죽은 연결 해제 시 teardown 경고 억제(#62042),Sleep::fake()를 limiterblock()타임아웃에 반영(#62017), SFTP/FTP 디스크detect_mime_type_using_path옵션(#61972), 이미지 API의 JPEG XL 지원(#62019),RedirectResponse가Responsable구현 가능(#62036),Rule::numeric()strict 옵션(#62031),Rule::when()/unless()타입에 Stringable 추가(#62030),DynamoDbStore::many()숫자 키 수정(#62029), 예외 보고 개선(#62047),InvokableComponentVariable제네릭 반환 타입(#62018).
하위 호환성
릴리스 노트에 하위 호환성 파괴로 명시된 항목은 없습니다. 다만 일부 수정은 기존 동작이 바뀌는 효과가 있습니다. 암호화 캐스트의 dirty 판정 변경, 조인 쿼리의 latest()/oldest() 컬럼 한정, 큐 push 실패 시 고유 락 해제가 그렇습니다. 노트는 PR 제목 수준이어서 세부 동작은 각 PR에서 확인해야 합니다.
패키지 관리자가 확인할 것
사이트에 등록된 패키지 중 릴리스 노트가 직접 언급하는 것은 없습니다. 큐 드라이버를 제공하는 vladimir-yuldashev/laravel-queue-rabbitmq 같은 패키지는 고유 락 해제 관련 수정(#62010, #62045)과 push 실패 시 예외 흐름이 맞는지 가볍게 확인해 볼 만합니다(위험도 낮음).
대응 체크리스트
- 암호화 캐스트(
encrypted:object,encrypted:collection)를 쓰는 모델의 dirty/이벤트 동작 테스트 - 조인과 함께
latest()/oldest()를 쓰는 쿼리 확인 (선택) -
onOneServer()와withoutOverlapping()을 함께 쓰는 스케줄 작업 모니터링 (선택) - 새 옵션(
queue:failed --queue,queue:forget다중 ID 등) 필요 시 도입 (선택) - 일반 절차대로
composer update laravel/framework후 테스트 스위트 실행
GitHub 릴리스 노트를 근거로 언어 모델 (external-agent)이 작성했으며, 사람이 검수하지 않았습니다. 실제 적용 전에는 공식 릴리스 노트와 업그레이드 가이드를 함께 확인하세요.
GitHub 원문 릴리스 노트 보기
- [13.x] Fix race condition with jobs using both
onOneServer()andwithoutOverlapping()by @tanerkay in https://github.com/laravel/framework/pull/62007 - [13.x] Respect faked Sleep in limiter block() timeout by @grzegorczykp in https://github.com/laravel/framework/pull/62017
- [13.x] Improve getForeignKeys performance on MariaDB/MySQL on servers with many databases by @RMJTromp in https://github.com/laravel/framework/pull/62014
- [13.x] Release the unique lock when pushing a job to the queue fails by @sumaiazaman in https://github.com/laravel/framework/pull/62010
- [13.x] Fix
has()andwithCount()on self-referencing one-of-many relations by @sumaiazaman in https://github.com/laravel/framework/pull/62009 - [13.x] Fix
whereBelongsTo()andwhereAttachedTo()collection types by @xurshudyan in https://github.com/laravel/framework/pull/62002 - [13.x] Add
--queueoption in queue:failed by @jackbayliss in https://github.com/laravel/framework/pull/61971 - [13.x] Add runtime to ScheduledTaskFailed by @jackbayliss in https://github.com/laravel/framework/pull/61970
- [13.x] Avoid creating extra model instances in Eloquent
cursor()by @xurshudyan in https://github.com/laravel/framework/pull/62001 - [13.x] Fix N+1 queries when including nested JSON:API relationships by @xurshudyan in https://github.com/laravel/framework/pull/62000
- [13.x] Fix incrementOrCreate() on through relations by @xurshudyan in https://github.com/laravel/framework/pull/61997
- [13.x] Fix
restore()failing on soft delete queries with joins by @xurshudyan in https://github.com/laravel/framework/pull/61998 - [13.x] Fix Eloquent Collection
findOrFail()with a model instance by @xurshudyan in https://github.com/laravel/framework/pull/61999 - [13.x] Add generic return type to
InvokableComponentVariableby @alies-dev in https://github.com/laravel/framework/pull/62018 - [13.x] Add detect_mime_type_using_path option to SFTP and FTP disks by @jackbayliss in https://github.com/laravel/framework/pull/61972
- [13.x] Allow queue:forget to accept multiple IDs by @jackbayliss in https://github.com/laravel/framework/pull/61901
- [13.x] Fix mergeWhen() in JSON:API resource attributes by @xurshudyan in https://github.com/laravel/framework/pull/62023
- [13.x] Qualify the default
latest()andoldest()column on queries with joins by @xurshudyan in https://github.com/laravel/framework/pull/62024 - [13.x] Release unique queued listener locks in Queue::fake() by @mrjavadseydi in https://github.com/laravel/framework/pull/62025
- [13.x] Add JPEG XL (JXL) support to the Image API by @rjsamra in https://github.com/laravel/framework/pull/62019
- [13.x] Use the intermediate table alias in self-referencing
HasOneThroughone-of-many existence queries by @xurshudyan in https://github.com/laravel/framework/pull/62040 - [13.x] Support selecting columns in withWhereHas() with a callback by @xurshudyan in https://github.com/laravel/framework/pull/62039
- [13.x] Qualify attribute columns in through relation firstOrNew(), firstOrCreate() and createOrFirst() by @xurshudyan in https://github.com/laravel/framework/pull/62038
- [13.x] Allow RedirectResponse to implement Responsable by @finagin in https://github.com/laravel/framework/pull/62036
- [13.x] Fix
encrypted:objectandencrypted:collectioncasts always being dirty by @sumaiazaman in https://github.com/laravel/framework/pull/62032 - [13.x] Add strict option to Rule::numeric() by @lorenzolosa in https://github.com/laravel/framework/pull/62031
- [13.x] Fix
DynamoDbStore::many()returning values under the wrong keys for numeric keys by @sajjadhossainshohag in https://github.com/laravel/framework/pull/62029 - [13.x] Add Stringable to the parameter types in Rule::when() and Rule::unless() by @lorenzolosa in https://github.com/laravel/framework/pull/62030
- [13.x] Fix cached
Attributeaccessors returning stale values after setting the attribute by @sajjadhossainshohag in https://github.com/laravel/framework/pull/62035 - [13.x] Don't report skipped migrations as pending in migrate:status by @jackbayliss in https://github.com/laravel/framework/pull/61989
- [13.x] Suppress teardown warnings when disconnecting dead connections by @DGarbs51 in https://github.com/laravel/framework/pull/62042
- [13.x] Release the unique lock when pushing a queued listener fails by @mrjavadseydi in https://github.com/laravel/framework/pull/62045
- [13.x] Improve exception reporting by @timacdonald in https://github.com/laravel/framework/pull/62047