Repository navigation
Releases: bob-moore/Button-Block-Enhancements
Releases · bob-moore/Button-Block-Enhancements
Release list
v1.2.2
v1.2.0
Architecture refactor — foundry-se alignment
This release is a significant internal refactor that aligns the plugin with the foundry-se theme architecture. No changes to block functionality, filters, or external APIs.
What changed
New classes
Main— owns the DI container, handles compiled-container caching, exposesgetInstance()/setInstance(), firesbutton_block_enhancements_loadedactionModule— abstract base class; all providers, processors, and services extend it to receive$packagevia#[Inject]definitions.php— DI definitions extracted from Controller into a dedicated fileServices\AssetLoader— abstract base injectingFilePathResolverandUrlResolverso loaders work whether the package is loaded as a plugin or composer-embedded in a themeServices\ScriptLoader/Services\StyleLoader— mirror foundry-se's loader pattern;StyleLoadergainsenqueueBlockStyle()
Refactored classes
Controller— stripped to a pure hook registrar using#[Inject]method injection; no container awarenessProviders\Assets— extendsModule, delegates asset enqueueing toScriptLoader/StyleLoaderProviders\Icons,Processors\Colors,Processors\Icons— extendModuleUtilities— expanded withslugify,hyphenate,arrayMerge,classUses,isList,truthyFalsy,isPluginActive, and reflection helpers- Resolver inject keys updated:
config.path/config.url→path/url
1.1.1
Button Block Enhancements 1.1.1
- Standardized release metadata and package versions on 1.1.1.
- Updated the documentation to reflect the current controller/provider/processor architecture.
- Updated the Composer embedding example to use the current Controller bootstrap API.
v1.1.0
v1.0.0
What's New
- Initial release.
- Migrated button icon functionality from Enable Button Icons.
- Added hover/focus color controls (text and background) to the Button block Color panel.
- Added CSS custom properties for icon gap, icon size, and focus colors.
- Rebuilt on service-based plugin architecture (bmd/wp-framework).
- Added scoped GitHub updater.