Skip to content

Runtime and Introspection Split

Choose a tag to compare

@mgerzabek mgerzabek released this 13 Nov 11:46
· 20 commits to main since this release
Immutable release. Only release title and notes can be modified.

Added

  • Ui5RuntimeInterface introduced as a lightweight, read-only contract for deterministic runtime lookups of modules and artifacts.

Changed

  • Ui5RegistryInterface now focuses solely on build-time introspection and metadata discovery.
    Runtime responsibilities (lookup, routing, resolution) have been moved to the new Ui5RuntimeInterface.
  • Method all() has been renamed to artifacts() 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 Ui5RuntimeInterface instead of Ui5RegistryInterface.