-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Comparing changes
Open a pull request
base repository: laravel/framework
base: v12.1.1
head repository: laravel/framework
compare: v12.2.0
Commits on Mar 5, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 3dd1872 - Browse repository at this point
Copy the full SHA 3dd1872View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0883d41 - Browse repository at this point
Copy the full SHA 0883d41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a20502 - Browse repository at this point
Copy the full SHA 2a20502View commit details -
Configuration menu - View commit details
-
Copy full SHA for 154a0f1 - Browse repository at this point
Copy the full SHA 154a0f1View commit details -
fix: resolve
whereNotMorphedTo
query (#54902)This resolves an issue with the `whereNotMorphedTo()` method where the query results in a double negative. This changes to a format that resembles the previous logic.
Configuration menu - View commit details
-
Copy full SHA for 3bc6805 - Browse repository at this point
Copy the full SHA 3bc6805View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9b9e3d - Browse repository at this point
Copy the full SHA b9b9e3dView commit details -
[11.x] Expose process checkTimeout method (#54912)
* Expose checkTimeout method * rename method --------- Co-authored-by: Taylor Otwell <taylor@laravel.com>
Configuration menu - View commit details
-
Copy full SHA for fd8cf8b - Browse repository at this point
Copy the full SHA fd8cf8bView commit details -
[12.x] Compilable for Validation Contract (#54882)
* Adds the compiled rules contract * Transforms NestedRules to use a Contract * style fix
Configuration menu - View commit details
-
Copy full SHA for 4284e61 - Browse repository at this point
Copy the full SHA 4284e61View commit details -
Change
paginage()
method return types to `\Illuminate\Pagination\Le……ngthAwarePaginator` (#54826) (#54917) Return types of all the subsequent calls are returning this, which in turn implements `\Illuminate\Contracts\Pagination\LengthAwarePaginator` Related to bmewburn/vscode-intelephense#2912. Which I in turn had issues with locally where calling methods to the returned data from `->paginage()` did not auto complete. Hope this is possible to backport to 11.x too if this is a change that is okay.
Configuration menu - View commit details
-
Copy full SHA for f5679ce - Browse repository at this point
Copy the full SHA f5679ceView commit details
Commits on Mar 6, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 69a7dbd - Browse repository at this point
Copy the full SHA 69a7dbdView commit details -
Add
#[RequiresPhpExtension('intl')]
attribute to `testValidateMxRec……ord` and `testCombiningRules` due to intl extension dependency. (#54918)
Configuration menu - View commit details
-
Copy full SHA for 3ac6ae1 - Browse repository at this point
Copy the full SHA 3ac6ae1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b42047 - Browse repository at this point
Copy the full SHA 7b42047View commit details -
[12.x] Feature: Collection chunk without preserving keys (#54916)
* add test * implement chunking without preserving keys for support collection * implement chunking without preserving keys for lazy collection
Configuration menu - View commit details
-
Copy full SHA for 77672fd - Browse repository at this point
Copy the full SHA 77672fdView commit details -
[12.x] Add test coverage for Uri::withQueryIfMissing method (#54923)
* Add initial test for Uri::withQueryIfMissing method This test verifies that the withQueryIfMissing method adds parameters only when they don't exist while preserving the values of existing parameters. * Expand withQueryIfMissing tests to cover nested arrays This commit adds cases for complex nested arrays and indexed arrays to ensure the method correctly handles multi-dimensional data structures in query parameters. * Complete withQueryIfMissing tests for advanced array handling This commit finalizes tests for the withQueryIfMissing method, covering: - Partial merging of associative arrays - Preservation of indexed arrays - Verification of both encoded query strings and parsed arrays * docs: add PHPDoc annotation for withQueryIfMissing method * Update Uri.php --------- Co-authored-by: Taylor Otwell <taylor@laravel.com>
Configuration menu - View commit details
-
Copy full SHA for 8bed88d - Browse repository at this point
Copy the full SHA 8bed88dView commit details
Commits on Mar 7, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 8fd1ef1 - Browse repository at this point
Copy the full SHA 8fd1ef1View commit details -
[12.x] Add test coverage for Str::replaceMatches method (#54930)
* Add tests for Str::replaceMatches with string replacements This commit adds tests for the basic functionality of the replaceMatches method using string replacements and array of patterns. * Complete Str::replaceMatches tests with limit parameter tests This commit finalizes the test coverage for the replaceMatches method by adding tests for the limit parameter, which controls the maximum number of replacements to be performed.
Configuration menu - View commit details
-
Copy full SHA for 189a0bb - Browse repository at this point
Copy the full SHA 189a0bbView commit details -
[12.x] Types: Collection chunk without preserving keys (#54924)
* add failing type assertions * simplify tests * fix typehint for collection, lazy collection chunk when not preserving keys
Configuration menu - View commit details
-
Copy full SHA for db6ee21 - Browse repository at this point
Copy the full SHA db6ee21View commit details -
[12.x] Add
ddBody
method to TestResponse for dumping various respon……se payloads (#54933) * [12.x] Add method to TestResponse for dumping various response payloads * Update TestResponse.php --------- Co-authored-by: Taylor Otwell <taylor@laravel.com>
Configuration menu - View commit details
-
Copy full SHA for fe8c50c - Browse repository at this point
Copy the full SHA fe8c50cView commit details -
Fix issue with using RedisCluster with compression or serialization f…
…or Laravel 11.x (#54935)
Configuration menu - View commit details
-
Copy full SHA for 006eada - Browse repository at this point
Copy the full SHA 006eadaView commit details -
[12.x] feat: add
CanBeOneOfMany
support toHasOneThrough
(#54759)* chore: use existing method when filling HasOneThrough * fix: correct query instance not being passed to HasOneOrManyThrough::addEagerConstraints * fix: duplicate constraints on OneOfMany queries * feat: add *OfMany support to HasOneThrough * formatting --------- Co-authored-by: Taylor Otwell <taylor@laravel.com>
Configuration menu - View commit details
-
Copy full SHA for c5f2a94 - Browse repository at this point
Copy the full SHA c5f2a94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 151982c - Browse repository at this point
Copy the full SHA 151982cView commit details
Commits on Mar 10, 2025
-
[12.x] Refactor: Remove unnecessary variables in Str class methods (#…
…54963) * Replace unnecessary null coalescing assignment operator (??=) with null coalescing operator (??) in Str::wrap method, as the variable is not used afterward. * remove unused exception variable in isUuid method try-catch block
Configuration menu - View commit details
-
Copy full SHA for b5695ba - Browse repository at this point
Copy the full SHA b5695baView commit details -
Add Tests for Str::pluralPascal Method (#54957)
* test: Add basic pluralPascal functionality tests Test the method's ability to convert singular Pascal case strings to plural form. * test: Add pluralPascal tests with various count parameters Test pluralPascal behavior with different count values (0, 1, 2), arrays and Countable objects to ensure comprehensive coverage.
Configuration menu - View commit details
-
Copy full SHA for 80af327 - Browse repository at this point
Copy the full SHA 80af327View commit details -
[12.x] Fix visibility of setUp and tearDown in tests (#54950)
* Change visibility from public to protected * remove tearDown method
Configuration menu - View commit details
-
Copy full SHA for a0f7fae - Browse repository at this point
Copy the full SHA a0f7faeView commit details -
[12.x] Test Improvements (#54944)
Remove `getEnvironmentSetup()` usage as it has been marked as deprecated. Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 63919de - Browse repository at this point
Copy the full SHA 63919deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ddf5ae - Browse repository at this point
Copy the full SHA 7ddf5aeView commit details -
Handle case when migrate:install command is called and table exists (#…
…54938) * Handle case when migrate:install command is called when migrations table already exists * Fixing tests * Formatting * Delete package-lock.json --------- Co-authored-by: Joe Tito <joetito1@gmail.om> Co-authored-by: Mior Muhammad Zaki <crynobone@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e6753fc - Browse repository at this point
Copy the full SHA e6753fcView commit details
Commits on Mar 11, 2025
-
Configuration menu - View commit details
-
Copy full SHA for c1cc6cc - Browse repository at this point
Copy the full SHA c1cc6ccView commit details
Commits on Mar 12, 2025
-
Configuration menu - View commit details
-
Copy full SHA for f1778fb - Browse repository at this point
Copy the full SHA f1778fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 036cfc4 - Browse repository at this point
Copy the full SHA 036cfc4View commit details -
test: Add comprehensive test for LazyCollection::after method (#54978)
This commit adds a test for the LazyCollection after() method covering three key scenarios: - Finding the next item with non-strict comparison - Finding the next item with strict comparison - Finding the next item using a callback function
Configuration menu - View commit details
-
Copy full SHA for 67bf0cd - Browse repository at this point
Copy the full SHA 67bf0cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b060d8 - Browse repository at this point
Copy the full SHA 9b060d8View commit details -
Add a null value to ensure that ExcludeIf properly rejects it as an i…
…nvalid condition (#54973)
Configuration menu - View commit details
-
Copy full SHA for 11f92d4 - Browse repository at this point
Copy the full SHA 11f92d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for da25de4 - Browse repository at this point
Copy the full SHA da25de4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33f3dc8 - Browse repository at this point
Copy the full SHA 33f3dc8View commit details -
apply Pint rule "single_line_comment_style" (#54969)
`FrequencyTest` is the outlier here, as it retains the `/**` syntax so the docbloc is picked up. This maintains consistency with other similar uses in the framework, such as in https://github.com/laravel/framework/blob/12.x/src/Illuminate/Collections/LazyCollection.php#L233 https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/doc/rules/comment/single_line_comment_style.rst
Configuration menu - View commit details
-
Copy full SHA for 0dd71ef - Browse repository at this point
Copy the full SHA 0dd71efView commit details -
do not use mix of newline and inline formatting (#54967)
fully newline or fully inline are both okay options for formatting, but this mix of both is very hard to read, especially when you're throwing ternary statements in there. this commit switches these into purely newline format.
Configuration menu - View commit details
-
Copy full SHA for c199db1 - Browse repository at this point
Copy the full SHA c199db1View commit details -
use single indent for multiline ternarys (#54971)
this continues on some of my earlier formatting changes. you can read #53748 for my arguments why single indent is better.
Configuration menu - View commit details
-
Copy full SHA for 3786b51 - Browse repository at this point
Copy the full SHA 3786b51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c0d065 - Browse repository at this point
Copy the full SHA 3c0d065View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2352104 - Browse repository at this point
Copy the full SHA 2352104View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fb0694 - Browse repository at this point
Copy the full SHA 2fb0694View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v12.1.1...v12.2.0