Bump laravel/framework from 12.20.0 to 12.21.0
Bumps laravel/framework from 12.20.0 to 12.21.0.
Release notes
Sourced from laravel/framework's releases.
v12.21.0
- fix(vite): #55793 add explicit as-script to link tag for script modul… by
@midsonlajeanty
in laravel/framework#55794- [12.x] Allow globally disabling Factory parent relationships via
Factory::dontExpandRelationshipsByDefault()
by@cosmastech
in laravel/framework#56154- [12.x] Adds checking if a value is between two columns by
@DarkGhostHunter
in laravel/framework#56119- [12.x] Ensure database connection is always restored by
@xurshudyan
in laravel/framework#56258- [12.x] Fix handling of
Htmlable
objects inJs::convertDataToJavaScriptExpression()
by@jj15asmr
in laravel/framework#56253- Reduce meaningless intermediate variables. by
@LjjGit
in laravel/framework#56265- [12.x] Improve typehints for
AbstractCursorPaginator@through()
by@cosmastech
in laravel/framework#56267- Use
Date
facade instead oftime()
forpassword_confirmed_at
check by@dylanbr
in laravel/framework#56270- [12.x] fix: Collection::transform() and Paginator::through() return types by
@calebdw
in laravel/framework#56273- [12.x] Merge 11.x into 12.x by
@u01jmg3
in laravel/framework#56289- [12.x] Reduce meaningless intermediate variables by
@AhmedAlaa4611
in laravel/framework#56288- [12.x] Refactor build Method to Use Null Coalescing Assignment for Default C… by
@Ashot1995
in laravel/framework#56283- [12.x] minor code formatting improvements by
@browner12
in laravel/framework#56296- [12.x] Use more specific route binding exception message for child routes by
@jessekoerhuis
in laravel/framework#56298- [12.x] Fix Possible Undefined Variables by
@calfc
in laravel/framework#56292- [12.x] Fix: Ensure scheduler
dailyAt()
method parses minutes and ignores seconds when seconds are provided by@amirhshokri
in laravel/framework#56308- [12.x] Allows for strict boolean validation by
@peterfox
in laravel/framework#56313- Improve
SeedCommand
console output by@Jehong-Ahn
in laravel/framework#56310- [12.x] Add unified enum support across framework docs by
@amirhshokri
in laravel/framework#56271- [12.x] Allows for strict numeric validation by
@peterfox
in laravel/framework#56328- [12.x] Update PHPDoc annotations in
Validation
by@mrvipchien
in laravel/framework#56321- [12.x] Add operator class support for PostgreSQL GiST spatial indexes by
@joteejotee
in laravel/framework#56324- Fix multipart array value parsing in HTTP client (#55732) by
@joteejotee
in laravel/framework#56302- Fixes bug with ShouldBeUniqueUntilProcessing locks getting stuck due to Middleware by
@TWithers
in laravel/framework#56318- [12.x] add prompts based expectations to PendingCommand by
@BinaryKitten
in laravel/framework#56260- [12.x] Add Singleton and Scoped attributes to Container by
@riasvdv
in laravel/framework#56334- Fix unsetting model castable attribute when cast to object (#56335) by
@guram-vashakidze
in laravel/framework#56343- [12.x] Fix/memory improvement by
@CharrafiMed
in laravel/framework#56345- [12.x] Add hasMailer method to the mailable class by
@kevinb1989
in laravel/framework#56340- [12.x] Consistent use of
mb_split()
to split strings into words by@shaedrich
in laravel/framework#56338- [12.x] Add toStringable to Uri by
@Kyrch
in laravel/framework#56359- [12.x] Fix PHPStan Integrations by
@crynobone
in laravel/framework#56369- Add 'isEmpty' and 'isNotEmpty' to Fluent by
@cworreschk
in laravel/framework#56370- [12.x] Add mergeMetadata method to the Mailable class by
@kevinb1989
in laravel/framework#56376- Add 'dontReportUsing' to filter exceptions to be reported by
@pelmered
in laravel/framework#56361
Changelog
Sourced from laravel/framework's changelog.
v12.21.0 - 2025-07-22
- fix(vite): #55793 add explicit as-script to link tag for script modul… by
@midsonlajeanty
in laravel/framework#55794- [12.x] Allow globally disabling Factory parent relationships via
Factory::dontExpandRelationshipsByDefault()
by@cosmastech
in laravel/framework#56154- [12.x] Adds checking if a value is between two columns by
@DarkGhostHunter
in laravel/framework#56119- [12.x] Ensure database connection is always restored by
@xurshudyan
in laravel/framework#56258- [12.x] Fix handling of
Htmlable
objects inJs::convertDataToJavaScriptExpression()
by@jj15asmr
in laravel/framework#56253- Reduce meaningless intermediate variables. by
@LjjGit
in laravel/framework#56265- [12.x] Improve typehints for
AbstractCursorPaginator@through()
by@cosmastech
in laravel/framework#56267- Use
Date
facade instead oftime()
forpassword_confirmed_at
check by@dylanbr
in laravel/framework#56270- [12.x] fix: Collection::transform() and Paginator::through() return types by
@calebdw
in laravel/framework#56273- [12.x] Merge 11.x into 12.x by
@u01jmg3
in laravel/framework#56289- [12.x] Reduce meaningless intermediate variables by
@AhmedAlaa4611
in laravel/framework#56288- [12.x] Refactor build Method to Use Null Coalescing Assignment for Default C… by
@Ashot1995
in laravel/framework#56283- [12.x] minor code formatting improvements by
@browner12
in laravel/framework#56296- [12.x] Use more specific route binding exception message for child routes by
@jessekoerhuis
in laravel/framework#56298- [12.x] Fix Possible Undefined Variables by
@calfc
in laravel/framework#56292- [12.x] Fix: Ensure scheduler
dailyAt()
method parses minutes and ignores seconds when seconds are provided by@amirhshokri
in laravel/framework#56308- [12.x] Allows for strict boolean validation by
@peterfox
in laravel/framework#56313- Improve
SeedCommand
console output by@Jehong-Ahn
in laravel/framework#56310- [12.x] Add unified enum support across framework docs by
@amirhshokri
in laravel/framework#56271- [12.x] Allows for strict numeric validation by
@peterfox
in laravel/framework#56328- [12.x] Update PHPDoc annotations in
Validation
by@mrvipchien
in laravel/framework#56321- [12.x] Add operator class support for PostgreSQL GiST spatial indexes by
@joteejotee
in laravel/framework#56324- Fix multipart array value parsing in HTTP client (#55732) by
@joteejotee
in laravel/framework#56302- Fixes bug with ShouldBeUniqueUntilProcessing locks getting stuck due to Middleware by
@TWithers
in laravel/framework#56318- [12.x] add prompts based expectations to PendingCommand by
@BinaryKitten
in laravel/framework#56260- [12.x] Add Singleton and Scoped attributes to Container by
@riasvdv
in laravel/framework#56334- Fix unsetting model castable attribute when cast to object (#56335) by
@guram-vashakidze
in laravel/framework#56343- [12.x] Fix/memory improvement by
@CharrafiMed
in laravel/framework#56345- [12.x] Add hasMailer method to the mailable class by
@kevinb1989
in laravel/framework#56340- [12.x] Consistent use of
mb_split()
to split strings into words by@shaedrich
in laravel/framework#56338- [12.x] Add toStringable to Uri by
@Kyrch
in laravel/framework#56359- [12.x] Fix PHPStan Integrations by
@crynobone
in laravel/framework#56369- Add 'isEmpty' and 'isNotEmpty' to Fluent by
@cworreschk
in laravel/framework#56370- [12.x] Add mergeMetadata method to the Mailable class by
@kevinb1989
in laravel/framework#56376- Add 'dontReportUsing' to filter exceptions to be reported by
@pelmered
in laravel/framework#56361
Commits
-
ac8c4e7
Update version to v12.21.0 -
86f146d
Update facade docblocks -
ef41836
Apply fixes from StyleCI -
0b23fc2
Add 'dontReportUsing' to filter exceptions to be reported (#56361) -
7c90894
[12.x] Add mergeMetadata method to the Mailable class (#56376) -
89207fb
Add 'isEmpty' and 'isNotEmpty' to Fluent (#56370) -
3319568
[12.x] Fix PHPStan Integrations (#56369) -
c82b43b
[12.x] Add toStringable to Uri (#56359) -
816ffa5
[12.x] Consistent use ofmb_split()
to split strings into words (#56338) -
488cbf5
[12.x] Add hasMailer method to the mailable class (#56340) - Additional commits viewable in compare view