- PHP 8.1+
- Added a configuration builder for module descriptors.
- Added
ModuleProvider
interface, implemented byModuleProvider\Container
. Modules are now loaded from the dependency-injection container. - Added the console command
modules:list
(and aliasmodules
).
- Modules are now defined using configuration fragments instead of
descriptor.php
files. - Module descriptors are now instances of
Descriptor
instead of arrays. - Renamed
Descriptor::INHERIT
asDescriptor::$parent
. - Removed
Descriptor::NS
. - Models are no longer maintained by modules, they need to be defined with
activerecord
config fragments.Descriptor::$models
now only hold model identifiers. - Removed all bindings to
ControllerAbstract
since it doesn't extendPrototyped
anymore. - Removed prototype method
Application::get_modules
. - Renamed
ModuleCollectionInstallFailed
asModuleInstallFailed
. - Moved module installation from
ModuleCollection
toBasicModuleInstaller
.
None
None