This first major release mainly addresses the internal chicken-and-egg problem. Fusion now depends on the Box DI container package for abstraction, removing all static code. In addition, the following changes affect external usage:
- Requirements: Minimum PHP version is now 8.2.
- Autoloader File: The deprecated static
Autoloader.phphas been removed, andPrefixAutoloader.phphas been renamed toAutoloader.php, taking over its functionality. - Injectable Extensions: Deprecated injectable extension logic has been removed.
- Loadable Indicator: Deprecated loadable namespace logic has been removed.
Upgrade Steps
Update Fusion to the last 1.x.x non-breaking version:
fusion build
Pass the explicit reference argument to override the fallback reference defined in the metadata:
fusion build build.source=valvoid.com/valvoid/fusion/2.0.0