10000 Comparing v11.39.1...v11.40.0 · laravel/framework · GitHub
[go: up one dir, main page]

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: v11.39.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: v11.40.0
Choose a head ref
  • 20 commits
  • 121 files changed
  • 15 contributors

Commits on Jan 22, 2025

  1. Update CHANGELOG

    taylorotwell authored and github-actions[bot] committed Jan 22, 2025
    Configuration menu
    Copy the full SHA
    9bba0f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    787cf26 View commit details
    Browse the repository at this point in the history
  3. draft: fix: Don't release lock for ShouldBeUniqueUntilProcessing Job …

    …that gets released (#54261)
    
    * fix: Don't release lock for ShouldBeUniqueUntilProcessing Job that gets released
    
    * Apply fixes from StyleCI
    
    * fix: Don't release lock for ShouldBeUniqueUntilProcessing Job that gets released
    
    * fix: Don't release lock for ShouldBeUniqueUntilProcessing Job that gets released
    
    * fix: Don't release lock for ShouldBeUniqueUntilProcessing Job that gets released
    
    * fix: Don't release lock for ShouldBeUniqueUntilProcessing Job that gets released
    
    * fix: Don't release lock for ShouldBeUniqueUntilProcessing Job that gets released
    
    * Apply fixes from StyleCI
    
    * fix: Don't release lock for ShouldBeUniqueUntilProcessing Job that gets released
    
    * Apply fixes from StyleCI
    
    ---------
    
    Co-authored-by: StyleCI Bot <bot@styleci.io>
    mathiasgrimm and StyleCIBot authored Jan 22, 2025
    Configuration menu
    Copy the full SHA
    c2c35e9 View commit details
    Browse the repository at this point in the history
  4. [11.x] Add Laravel Pint (#53835)

    * install Pint with custom configuration
    
    - use an empty preset
    - set 1 explicit rule
    - ignore `/tests` (for now)
    
    * run Pint
    
    this rule ensures all chained methods on a new line are indented exactly once.
    
    this avoids arbitrarily aligning with some character or pattern in the first line line, while still giving us the readability of aligned subsequent lines.
    
    ---------
    
    Co-authored-by: Taylor Otwell <taylor@laravel.com>
    browner12 and taylorotwell authored Jan 22, 2025
    Configuration menu
    Copy the full SHA
    cc0365c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3c71a81 View commit details
    Browse the repository at this point in the history
  6. [11.x] Add pending attributes (#53720)

    * Add pending attributes
    
    * Support withAttributes on many-to-many
    
    * Test withAttributes querying on many-to-many
    
    * Test withAttributes on polymorphic many-to-many
    
    * Make withAttributes qualify columns
    
    * Fix CS
    
    * Fix CS
    
    * formatting
    
    * formatting
    
    * format comment
    
    ---------
    
    Co-authored-by: Taylor Otwell <taylor@laravel.com>
    tontonsb and taylorotwell authored Jan 22, 2025
    Configuration menu
    Copy the full SHA
    066b740 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2025

  1. fix: schedule:test on commands using runInBackground (#54321)

    Force to run the selected command in the foreground.
    
    The `artisan schedule:test` command exited immediately after invocation
    and the selected command did not start if it uses `->runInBackground()`.
    If `->withoutOverlapping()` is used too, the mutex would not be removed
    and blocks any further execution without any user facing notice.
    dallyger authored Jan 23, 2025
    Configuration menu
    Copy the full SHA
    e365c08 View commit details
    Browse the repository at this point in the history
  2. [11.x] Helper methods to dump responses of the Laravel HTTP client (#…

    …54317)
    
    * Add dump and dd methods to Response class for debugging
    
    * Remove unused VarDumper import from Response class
    
    * Update Response.php
    
    ---------
    
    Co-authored-by: Taylor Otwell <taylor@laravel.com>
    morrislaptop and taylorotwell authored Jan 23, 2025
    Configuration menu
    Copy the full SHA
    5253cc2 View commit details
    Browse the repository at this point in the history
  3. Add support for cursor editor in ResolvesDumpSource (#54318)

    Add support for cursor editor
    tuxfamily authored Jan 23, 2025
    Configuration menu
    Copy the full SHA
    94e6258 View commit details
    Browse the repository at this point in the history
  4. [11.x] Add Customizable Date Validation Rule with Flexible Date Const…

    …raints (#53465)
    
    * Add Flexible Date Validation Options: After, Before, and Custom Formats
    
    * Add tests
    
    * Formatting
    
    * Renaming
    
    * Fix separator
    
    * Added between date
    
    * Formatting
    
    * Enabled seamless handling of `Carbon` and `DateTime` instances.
    
    * Add tests
    
    * Add `afterOrEqualToday` and `beforeOrEqualToday` and `betweenOrEqual`
    
    * Added tests
    
    * Formatting
    
    * Fix typo
    
    * formatting
    
    ---------
    
    Co-authored-by: Taylor Otwell <taylor@laravel.com>
    michaelnabil230 and taylorotwell authored Jan 23, 2025
    Configuration menu
    Copy the full SHA
    1049c03 View commit details
    Browse the repository at this point in the history
  5. Apply fixes from StyleCI

    StyleCIBot committed Jan 23, 2025
    Configuration menu
    Copy the full SHA
    f958f33 View commit details
    Browse the repository at this point in the history
  6. [11.x] start syncing StyleCI rules to Pint (#54326)

    * start syncing StyleCI rules to Pint
    
    starting with the simple ones
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    
    * wip
    browner12 authored Jan 23, 2025
    Configuration menu
    Copy the full SHA
    d7c6b8d View commit details
    Browse the repository at this point in the history
  7. [11.x] apply our new Pint rule to the /tests directory (#54325)

    * apply our new pint rule to the `/tests` directory
    
    I originally omitted these files to keep the PR smaller, but adding back now for consistent styling throughout repo. these are purely indentation whitespace changes.
    
    the `bad-syntax-strategy.php` file is not valid PHP so we need to omit it, or it throws a Pint error.
    
    * indentation fixes
    browner12 authored Jan 23, 2025
    Configuration menu
    Copy the full SHA
    79b44b1 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2025

  1. fix(Collection::pop()): count < 1 (#54340)

    * fix(Collection::pop()): count < 1
    
    If $count = 0 then this method was returning the same as if $count=1. If count<0 then things got worse than that. I think that in this case pop of <1 makes no sense and either we should throw an error, or we should return an empty result. I've gone with an empty result as I can see that being returned by the function anyway.
    
    * Update Collection.php
    
    ---------
    
    Co-authored-by: Taylor Otwell <taylor@laravel.com>
    artumi-richard and taylorotwell authored Jan 24, 2025
    Configuration menu
    Copy the full SHA
    8a46320 View commit details
    Browse the repository at this point in the history
  2. Apply fixes from StyleCI

    StyleCIBot committed Jan 24, 2025
    Configuration menu
    Copy the full SHA
    c61bac0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    86eae44 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b030dbb View commit details
    Browse the repository at this point in the history
  5. [11.x] Prevent unintended serialization and compression (#54337)

    * Prevent unintended serialization and compression
    
    * formatting
    
    ---------
    
    Co-authored-by: Taylor Otwell <taylor@laravel.com>
    JeppeKnockaert and taylorotwell authored Jan 24, 2025
    Configuration menu
    Copy the full SHA
    48b82c2 View commit details
    Browse the repository at this point in the history
  6. [11.x] Pass collection of models to whereMorphedTo / `whereNotMorph…

    …edTo` (#54324)
    
    * where(Not)MorphedTo with collection
    
    * Extra tests
    
    * Allow arrays
    
    * Fix docblocks
    gdebrauwer authored Jan 24, 2025
    Configuration menu
    Copy the full SHA
    f4043fe View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    599a281 View commit details
    Browse the repository at this point in the history
Loading
0