Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: laravel/framework
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v12.1.1
Choose a base ref
...
head repository: laravel/framework
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v12.2.0
Choose a head ref

Commits on Mar 5, 2025

  1. Update CHANGELOG

    taylorotwell authored and github-actions[bot] committed Mar 5, 2025
    Copy the full SHA
    3dd1872 View commit details
  2. Copy the full SHA
    0883d41 View commit details
  3. Update CHANGELOG

    taylorotwell authored and github-actions[bot] committed Mar 5, 2025
    Copy the full SHA
    2a20502 View commit details
  4. Copy the full SHA
    154a0f1 View commit details
  5. 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.
    owenvoke authored Mar 5, 2025
    Copy the full SHA
    3bc6805 View commit details
  6. Copy the full SHA
    b9b9e3d View commit details
  7. [11.x] Expose process checkTimeout method (#54912)

    * Expose checkTimeout method
    
    * rename method
    
    ---------
    
    Co-authored-by: Taylor Otwell <taylor@laravel.com>
    mattmcdev and taylorotwell authored Mar 5, 2025
    Copy the full SHA
    fd8cf8b View commit details
  8. [12.x] Compilable for Validation Contract (#54882)

    * Adds the compiled rules contract
    
    * Transforms NestedRules to use a Contract
    
    * style fix
    peterfox authored Mar 5, 2025
    Copy the full SHA
    4284e61 View commit details
  9. 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.
    carestad authored Mar 5, 2025
    Copy the full SHA
    f5679ce View commit details

Commits on Mar 6, 2025

  1. Copy the full SHA
    69a7dbd View commit details
  2. Add #[RequiresPhpExtension('intl')] attribute to `testValidateMxRec…

    …ord` and `testCombiningRules` due to intl extension dependency. (#54918)
    alikhosravidev authored Mar 6, 2025
    Copy the full SHA
    3ac6ae1 View commit details
  3. Copy the full SHA
    7b42047 View commit details
  4. [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
    liamduckett authored Mar 6, 2025
    Copy the full SHA
    77672fd View commit details
  5. [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>
    mohammadrasoulasghari and taylorotwell authored Mar 6, 2025
    Copy the full SHA
    8bed88d View commit details

Commits on Mar 7, 2025

  1. Copy the full SHA
    8fd1ef1 View commit details
  2. [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.
    mohammadrasoulasghari authored Mar 7, 2025
    Copy the full SHA
    189a0bb View commit details
  3. [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
    liamduckett authored Mar 7, 2025
    Copy the full SHA
    db6ee21 View commit details
  4. [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>
    Sammyjo20 and taylorotwell authored Mar 7, 2025
    Copy the full SHA
    fe8c50c View commit details
  5. Copy the full SHA
    006eada View commit details
  6. [12.x] feat: add CanBeOneOfMany support to HasOneThrough (#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>
    calebdw and taylorotwell authored Mar 7, 2025
    Copy the full SHA
    c5f2a94 View commit details
  7. Copy the full SHA
    151982c View commit details

Commits on Mar 10, 2025

  1. [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
    mohammadrasoulasghari authored Mar 10, 2025
    Copy the full SHA
    b5695ba View commit details
  2. 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.
    mohammadrasoulasghari authored Mar 10, 2025
    Copy the full SHA
    80af327 View commit details
  3. [12.x] Fix visibility of setUp and tearDown in tests (#54950)

    * Change visibility from public to protected
    
    * remove tearDown method
    naopusyu authored Mar 10, 2025
    Copy the full SHA
    a0f7fae View commit details
  4. [12.x] Test Improvements (#54944)

    Remove `getEnvironmentSetup()` usage as it has been marked as
    deprecated.
    
    Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
    crynobone authored Mar 10, 2025
    Copy the full SHA
    63919de View commit details
  5. Copy the full SHA
    7ddf5ae View commit details
  6. 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>
    3 people authored Mar 10, 2025
    Copy the full SHA
    e6753fc View commit details

Commits on Mar 11, 2025

  1. Update docblock

    crynobone authored Mar 11, 2025
    Copy the full SHA
    c1cc6cc View commit details

Commits on Mar 12, 2025

  1. Copy the full SHA
    f1778fb View commit details
  2. Copy the full SHA
    036cfc4 View commit details
  3. 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
    mohammadrasoulasghari authored Mar 12, 2025
    Copy the full SHA
    67bf0cd View commit details
  4. Copy the full SHA
    9b060d8 View commit details
  5. Copy the full SHA
    11f92d4 View commit details
  6. Update facade docblocks

    taylorotwell authored and github-actions[bot] committed Mar 12, 2025
    Copy the full SHA
    da25de4 View commit details
  7. Copy the full SHA
    33f3dc8 View commit details
  8. 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
    browner12 authored Mar 12, 2025
    Copy the full SHA
    0dd71ef View commit details
  9. 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.
    browner12 authored Mar 12, 2025
    Copy the full SHA
    c199db1 View commit details
  10. 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.
    browner12 authored Mar 12, 2025
    Copy the full SHA
    3786b51 View commit details
  11. fix conflicts

    taylorotwell committed Mar 12, 2025
    Copy the full SHA
    3c0d065 View commit details
  12. Copy the full SHA
    2352104 View commit details
  13. Copy the full SHA
    2fb0694 View commit details
Loading