Runtime and Introspection Split
·
20 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Added
Ui5RuntimeInterfaceintroduced as a lightweight, read-only contract for deterministic runtime lookups of modules and artifacts.
Changed
Ui5RegistryInterfacenow focuses solely on build-time introspection and metadata discovery.
Runtime responsibilities (lookup, routing, resolution) have been moved to the newUi5RuntimeInterface.- Method
all()has been renamed toartifacts()for clearer semantics and consistency with internal terminology.
Rationale
This architectural split formalizes the distinction between build-time reflection and runtime resolution, mirroring Laravel’s own cache and compilation model.
It improves clarity, performance, and maintainability by ensuring that cached registries only serve deterministic data, while introspection remains part of the development layer.
Impact
- Update any references to
Ui5RegistryInterface::all()→Ui5RegistryInterface::artifacts(). - Classes depending on runtime lookups should now type-hint
Ui5RuntimeInterfaceinstead ofUi5RegistryInterface.