diff --git a/CHANGELOG.md b/CHANGELOG.md index b41a8b3..d9aac3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.1] - 2026-09-13 + +### Fixed + +- The 2.0.0 Docker image did not start: the entrypoint's `php artisan view:cache` failed with "Unable to locate a class or view for component [showcase::example]", because Livewire Material only registered its showcase components while the showcase was enabled, which it is not in production. Livewire Material 1.1.1 registers them always, and a test now caches every view as the entrypoint does. + ## [2.0.0] - 2026-09-13 ### Added @@ -107,5 +113,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Dark themed UI built with Livewire, Alpine.js, Tailwind CSS and DaisyUI. - Docker images published to `ghcr.io/surtic86/sealshare`, served by FrankenPHP via Laravel Octane. -[Unreleased]: https://gitea.nonameweb.ch/noNameWEB/SealShare/compare/v2.0.0...main +[Unreleased]: https://gitea.nonameweb.ch/noNameWEB/SealShare/compare/v2.0.1...main +[2.0.1]: https://gitea.nonameweb.ch/noNameWEB/SealShare/compare/v2.0.0...v2.0.1 [2.0.0]: https://gitea.nonameweb.ch/noNameWEB/SealShare/releases/tag/v2.0.0 diff --git a/composer.lock b/composer.lock index 71d0670..63093e4 100644 --- a/composer.lock +++ b/composer.lock @@ -2999,11 +2999,11 @@ }, { "name": "nonameweb/livewire-material", - "version": "1.1.0", + "version": "1.1.1", "source": { "type": "git", "url": "https://gitea.nonameweb.ch/noNameWEB/livewire-material.git", - "reference": "d805dbc4076dc06c4d7e5023f99be4c420219975" + "reference": "db179e6b4e380bbd6aba2d3766ffcc84e58a8dd2" }, "require": { "laravel/framework": "^13.0", @@ -3083,7 +3083,7 @@ "material-design", "tailwindcss" ], - "time": "2026-09-13T12:39:26+00:00" + "time": "2026-09-13T15:40:33+00:00" }, { "name": "nunomaduro/termwind", diff --git a/tests/Feature/ProductionBootTest.php b/tests/Feature/ProductionBootTest.php new file mode 100644 index 0000000..5fc1e6b --- /dev/null +++ b/tests/Feature/ProductionBootTest.php @@ -0,0 +1,23 @@ +toBeFalse(); + + $compiled = storage_path('framework/testing/view-cache-'.uniqid()); + File::ensureDirectoryExists($compiled); + config(['view.compiled' => $compiled]); + + try { + $this->artisan('view:cache')->assertSuccessful(); + } finally { + File::deleteDirectory($compiled); + } +});