Releases: Xanweb/c5-module
Releases · Xanweb/c5-module
v2.2
v2.1
Fixes
- Installer::installBlockTypes() should have a list of handles arguments instead of array
Improvements
- Installer: add properties type declaration
- Module:: reduce app() method complexity
v2.0.1
Bug Fixes
- Asset Provider wasn't loaded correctly
v2.0
What's New
- Support ConcreteCMS v9
- Move to PHP 7.4+
- Remove update feature from Installer
v1.3.1
Improvements
- Improve Package fetching and use a single array for storing resolved instances
- Installer: allow to pass block type set handle to installBlockType method
v1.3.0
Features
- New method
Module::isInstalled()to check whether the current Module installed or not - New method
Module::getEventSubscribers()that can be implemented within the package to return the list of Event Subscribers classes. returned classes should implement\Symfony\Component\EventDispatcher\EventSubscriberInterface - New methods
Module::getConfig()andModule::getFileConfig()that extends equivalent originated ones by package controller. These extensions allows to get config value by passing config $key to the method - New method
Installer::overrideBlocksto override blocks by package - New method
Installer::assignBlocksToCoreto restore overridden core blocks - New method
Installer::installPageAttributeSet() Installer::installAttributeSet(): The array argument $associatedAttrs now can support Attribute Key objects in addition to handles
Improvements
- Replace Concrete5
camelcase()method usage with\Illuminate\Support\Str::studly()as it's more efficient and faster - Improvements made on
Module::boot() - Improve package methods calls performance through Module class by caching package controller instance.
v1.2.0
Replace AssetProviderInterface with AssetProvider abstract class
v1.1.0
Use static::class instead of get_called_class()
v1.0.0
Use Facades logic for resolving package objects