-
Notifications
You must be signed in to change notification settings - Fork 845
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
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: v4.0.3
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: laravel/jetstream
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.0.4
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 6 commits
- 6 files changed
- 5 contributors
Commits on Oct 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 33c5f86 - Browse repository at this point
Copy the full SHA 33c5f86View commit details
Commits on Oct 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 332ab32 - Browse repository at this point
Copy the full SHA 332ab32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48262af - Browse repository at this point
Copy the full SHA 48262afView commit details
Commits on Oct 18, 2023
-
Update UpdateProfileInformationForm.vue (#1391)
Added missing id for the photo input so that its label works as intended.
Configuration menu - View commit details
-
Copy full SHA for 68b787a - Browse repository at this point
Copy the full SHA 68b787aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b445d2 - Browse repository at this point
Copy the full SHA 5b445d2View commit details -
Fix Livewire component premature registration (#1390)
REF: livewire/livewire#7076 (comment) In the latest release of Livewire, Laravel Service Container is utilized for Dependency Resolution, which after testing with a new installation of Jetstream found to have a premature component registration due to a race condition. **Explaination:** - Previously, mechanisms were created using standard PHP object creation `(new $mechanism)`, not involving Laravel's service container, hence no service container events were triggered. `LivewireServiceProvider::registerMechanisms()` - With the recent change, these mechanisms are now instantiated via Laravel's IoC service container `app($mechanism)`, causing service container events to be triggered. - 💡 **The core of the problem** arises when the `Livewire\Mechanisms\CompileLivewireTags` mechanism is instantiated. It extends `Illuminate\View\Compilers\ComponentTagCompiler` which has a constructor dependency of `Illuminate\View\Compilers\BladeCompiler` , and its creation via the service container triggers events. On the other hand, **the `JetstreamServiceProvider` prematurely listens to this event in the service provider `register()` method**, leading to a situation where Livewire components are being registered before all necessary mechanisms are set up, particularly the `Livewire\Mechanisms\ComponentRegistry` which comes next in order after `Livewire\Mechanisms\CompileLivewireTags`. **Suggested fix:** - Move the registration of Livewire components in `JetstreamServiceProvider` to the `boot()` method, which is where it should be. This ensures all mechanisms are in place before any component registration begins. It also makes the additional event handling for BladeCompiler resolution unnecessary. `$this->callAfterResolving(BladeCompiler::class, fn () => '');`
Configuration menu - View commit details
-
Copy full SHA for 649364c - Browse repository at this point
Copy the full SHA 649364cView commit details
There are no files selected for viewing