Repository navigation
Releases: shipbytes/laravel-ui-kit
Releases · shipbytes/laravel-ui-kit
Release list
v0.3.0
Changed
-
Breaking: Livewire 4. The kit now requires
livewire/livewire: ^4.4and
no longer uses Volt. The eleven auth and profile pages stay single-file
components at the same paths underresources/views/livewire/…(no ⚡
prefix), now extendingLivewire\Component;routes/auth.phpregisters them
withRoute::livewire()instead ofVolt::route(), with unchanged URLs and
route names. Nothing changes visually. To upgrade a 0.2 app:- If the app's own
composer.jsonrequireslivewire/volt(it normally
arrives through the kit), runcomposer remove livewire/volt --no-update. composer require shipbytes/laravel-ui-kit:^0.3 -W— a^0.2
constraint never picks up 0.3, and-Wlets Composer move Livewire 3 to 4
and drop Volt.- In
routes/auth.php, replaceVolt::route(withRoute::livewire(and
delete theuse Livewire\Volt\Volt;line. - In
resources/views/livewire/**, replaceuse Livewire\Volt\Component;
withuse Livewire\Component;. - If the app has a
VoltServiceProvider, remove it from
bootstrap/providers.phpand deleteapp/Providers/VoltServiceProvider.php. php artisan ui-kit:doctor— every row should pass.
Until steps 3–5 are done the app keeps working through the shim below.
- If the app's own
Added
ui-kit:doctorchecks for the Livewire 4 move:Livewire 4 installed,
routes/auth.php uses Route::livewire,views free of Volt imports(lists
the views underresources/views/livewire/that still import Volt) and
no Volt service provider, each with the repair step as its hint.- A transition shim for apps upgrading from 0.2: when Volt is not installed,
the kit aliasesLivewire\Volt\Volt(route(),mount()) and
Livewire\Volt\Componentonto their Livewire 4 equivalents, so an
unmigratedroutes/auth.phpand its views keep working (and artisan keeps
booting) until the steps above are done. It will be removed in 1.0.
Removed
- The
livewire/voltdependency.
v0.2.2
Added
- Documentation screenshots.
npm run screenshots(scripts/screenshots.mjs)
builds a fresh Laravel 12 app with every module, seeds it deterministically
and photographs each screen in light and dark mode intodocs/images/,
which shipbytes.dev copies at build time.
Fixed
- The impersonation module registers its routes.
lab404/laravel-impersonate
shipsimpersonateandimpersonate.leaveas a router macro the app has to
call; the module now injectsRoute::impersonate();into
routes/ui-kit-user.php(web + auth) at install, so the partials no longer
fail withRoute [impersonate] not definedon a fresh install.ui-kit:doctor
gained animpersonation routes registeredcheck. Apps that added the macro
toroutes/web.phpby hand should remove that line after re-running
ui-kit:install-module impersonation, or the doctor reports duplicate names. ContactSubmissionnow usesHasFactory, soContactSubmission::factory()
works as the README promised.
Full changelog: v0.2.1...v0.2.2