Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased](https://github.com/Pollora/framework/compare/v13.36.0...develop)

### Added
- The asset classes live in their own package, [`pollora/assets`](https://github.com/Pollora/assets), which the framework requires: `AssetManager`, `AssetContainer`, `AssetEnqueuer` (`Asset::add()->container()->useVite()`), `AssetFile`, the record and the wp-admin notice of a missing build. Class names do not change. The package also resolves Vite builds without Laravel, for a classic theme, a plugin or a Bedrock site. The framework keeps what needs Laravel: the service provider, the `Asset` facade, `ViteManager` (Laravel's Vite, where `ASSET_URL`, a CDN and the application URL keep applying), `RootAssetManager` and the Laravel implementations of the package's three contracts (`ViteManagerFactory`, `RuntimeContext`, `PublicPath`)

### Changed
- The asset classes that left for the package no longer reach for Laravel: `AssetEnqueuer` receives the hook services, the Vite factory, the runtime and a PSR-3 logger instead of resolving them from the container, `AssetFile` is resolved through a resolver the provider sets (`AssetFile::resolveUsing()`), and `AssetManager`, `MissingBuilds` and `MissingBuildNotice` take their public directory, logger and project root as arguments. The rendered HTML of a Pollora site is unchanged, in build and while Vite runs hot
- An `AssetEnqueuer` destroyed after its application, as in a test, no longer throws while it reports a failure of its deferred enqueue

## [v13.36.0](https://github.com/Pollora/framework/compare/v13.35.6...v13.36.0) - 2026-10-14

### Added
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"illuminate/console": "^13.36",
"pollora/abilities": "^1.0",
"pollora/ajax": "^1.1",
"pollora/assets": "^0.1",
"pollora/attributes": "^0.1 || ^1.0",
"pollora/discovery": "^0.1 || ^1.0",
"pollora/entity": "^1.2",
Expand Down
154 changes: 0 additions & 154 deletions src/Asset/Application/Services/AssetManager.php

This file was deleted.

37 changes: 0 additions & 37 deletions src/Asset/Application/Services/AssetRegistrationService.php

This file was deleted.

45 changes: 0 additions & 45 deletions src/Asset/Application/Services/AssetRetrievalService.php

This file was deleted.

51 changes: 0 additions & 51 deletions src/Asset/Application/Services/MissingBuilds.php

This file was deleted.

34 changes: 0 additions & 34 deletions src/Asset/Domain/Contracts/AssetFileInterface.php

This file was deleted.

39 changes: 0 additions & 39 deletions src/Asset/Domain/Contracts/AssetRepositoryInterface.php

This file was deleted.

Loading
Loading