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: v5.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: v5.0.3
Choose a head ref
  • 3 commits
  • 5 files changed
  • 4 contributors

Commits on Apr 2, 2024

  1. Update CHANGELOG

    driesvints authored and github-actions[bot] committed Apr 2, 2024
    Copy the full SHA
    f542bc2 View commit details

Commits on Apr 3, 2024

  1. Fix incorrect annotations in Livewire components using "@return void" (

    …#1467)
    
    * Fix type annotations in Livewire components using "@return void" when a return value is possible
    
    * Update src/Http/Livewire/UpdateProfileInformationForm.php
    
    * Update src/Http/Livewire/TeamMemberManager.php
    
    * Update src/Http/Livewire/UpdateProfileInformationForm.php
    
    ---------
    
    Co-authored-by: Dries Vints <dries@vints.be>
    coreymcmahon and driesvints authored Apr 3, 2024
    Copy the full SHA
    e9ca098 View commit details

Commits on Apr 5, 2024

  1. install api optionally (#1470)

    hafezdivandari authored Apr 5, 2024
    Copy the full SHA
    bafc92d View commit details
Showing with 18 additions and 10 deletions.
  1. +5 −1 CHANGELOG.md
  2. +10 −6 src/Console/InstallCommand.php
  3. +1 −1 src/Http/Livewire/CreateTeamForm.php
  4. +1 −1 src/Http/Livewire/TeamMemberManager.php
  5. +1 −1 src/Http/Livewire/UpdateProfileInformationForm.php
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Release Notes

## [Unreleased](https://github.com/laravel/jetstream/compare/v5.0.1...5.x)
## [Unreleased](https://github.com/laravel/jetstream/compare/v5.0.2...5.x)

## [v5.0.2](https://github.com/laravel/jetstream/compare/v5.0.1...v5.0.2) - 2024-03-29

* Copy DatabaseSeeder when installing with team support by [@miclaus](https://github.com/miclaus) in https://github.com/laravel/jetstream/pull/1461

## [v5.0.1](https://github.com/laravel/jetstream/compare/v5.0.0...v5.0.1) - 2024-03-19

16 changes: 10 additions & 6 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
@@ -154,9 +154,11 @@ protected function installLivewireStack()
return false;
}

$this->call('install:api', [
'--without-migration-prompt' => true,
]);
if ($this->option('api')) {
$this->call('install:api', [
'--without-migration-prompt' => true,
]);
}

// Update Configuration...
$this->replaceInFile('inertia', 'livewire', config_path('jetstream.php'));
@@ -340,9 +342,11 @@ protected function installInertiaStack()
return false;
}

$this->call('install:api', [
'--without-migration-prompt' => true,
]);
if ($this->option('api')) {
$this->call('install:api', [
'--without-migration-prompt' => true,
]);
}

// Install NPM packages...
$this->updateNodePackages(function ($packages) {
2 changes: 1 addition & 1 deletion src/Http/Livewire/CreateTeamForm.php
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ class CreateTeamForm extends Component
* Create a new team.
*
* @param \Laravel\Jetstream\Contracts\CreatesTeams $creator
* @return void
* @return mixed
*/
public function createTeam(CreatesTeams $creator)
{
2 changes: 1 addition & 1 deletion src/Http/Livewire/TeamMemberManager.php
Original file line number Diff line number Diff line change
@@ -183,7 +183,7 @@ public function stopManagingRole()
* Remove the currently authenticated user from the team.
*
* @param \Laravel\Jetstream\Contracts\RemovesTeamMembers $remover
* @return void
* @return \Illuminate\Http\RedirectResponse
*/
public function leaveTeam(RemovesTeamMembers $remover)
{
2 changes: 1 addition & 1 deletion src/Http/Livewire/UpdateProfileInformationForm.php
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ public function mount()
* Update the user's profile information.
*
* @param \Laravel\Fortify\Contracts\UpdatesUserProfileInformation $updater
* @return void
* @return \Illuminate\Http\RedirectResponse|null
*/
public function updateProfileInformation(UpdatesUserProfileInformation $updater)
{