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/jetstream
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.2
Choose a base ref
...
head repository: laravel/jetstream
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.1.0
Choose a head ref
  • 5 commits
  • 9 files changed
  • 6 contributors

Commits on Mar 2, 2023

  1. Update CHANGELOG

    driesvints authored and github-actions[bot] committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    8a7a83c View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Configuration menu
    Copy the full SHA
    5e96d6e View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. [3.x] allow modification of the personal team using an optional calla…

    …ble (#1278)
    
    * Allow callable to modify withPersonalTeam
    
    I want this in jetstream projects, and it feels like something others would also want. It helps to set up the seeder in a Laravel Jetstream Project quickly.
    
    For example:
    
    ```php
    User::factory()->withPersonalTeam(
                fn (TeamFactory $factory) => $factory
                     ->state([
                         'foo' => 'bar',
                      ])
                     ->has(
                         Post::factory()
                              ->count(10)
                     )
    )
            ->create();
    ```
    
    * Update UserFactory.php
    
    * formatting
    
    ---------
    
    Co-authored-by: Taylor Otwell <taylor@laravel.com>
    peterfox and taylorotwell authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    62000c5 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2023

  1. Get fresh user instance on two factor authentication tests (#1281)

    In my installation, these tests fail because the user doesn't have the `two_factor_confirmed_at` attribute:
    ```
    The attribute [two_factor_confirmed_at] either does not exist or was not retrieved for model [App\Models\User]. (View: /var/www/html/vendor/livewire/livewire/src/views/mount-component.blade.php)
    ```
    
    I believe this is because the factory doesn't specify the attribute.
    
    I considered updating the factory to include it (set to `null`), but then I thought it might be a little messy because there should be a check to see if the feature's enabled.
    
    This solution, however, requires everyone to remember to get a fresh user instance, when needed, without it being clear as to why.
    
    So...let me know if I should try a different approach...
    telkins authored Mar 18, 2023
    Configuration menu
    Copy the full SHA
    1291d7f View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2023

  1. Uses Pest 2 (#1280)

    nunomaduro authored Mar 20, 2023
    Configuration menu
    Copy the full SHA
    2f3828e View commit details
    Browse the repository at this point in the history
Loading