Repository navigation
Releases: bob-moore/Featured-Image-Block-Fallback
Releases · bob-moore/Featured-Image-Block-Fallback
Release list
Featured Image Block Fallback 0.3.4
Featured Image Block Fallback 0.3.3
What's Changed
- Fixed package URL detection so plugin installs resolve from the root plugin file.
- Guarded theme-context detection against empty theme paths in non-WordPress test/bootstrap environments.
Validation
- composer run test
- Docker release build via scripts/build-plugin-release-docker.sh
- Inspected release zip for version metadata and Utilities::getUrl()
v0.3.2
What's Changed
- Unified plugin architecture around
ServiceLoader,Plugin, andUtilitiesclasses, matching sibling plugins. - Updated namespace from
Bmd\toBmd\FeaturedImageBlockFallback\for safer standalone and Composer usage. - Moved asset path and URL filters into
setPath()/setUrl()setters. - Replaced
buildPath()/buildUrl()helpers with inline path construction. - Simplified
getScriptAssets()intogetAssetData(string $key). - Replaced combined lint-build workflow with separate
lint-css,lint-js, andlint-phpworkflows. - Removed
FallbackPrevieweditor component (stashed for future work). - Renamed plugin entry file to
featured-image-block-fallback.php.
v0.3.2
0.3.1
0.3.0
What's Changed
- Added
BasicPlugininterface;FeaturedImageBlockFallbacknow implements it for type-safe Composer integration. - Renamed
$uri/setUri()to$url/setUrl()to match the interface contract. - Constructor now accepts URL and path with sanitized defaults (
esc_url_raw/esc_html). - Added
buildPath()andbuildUrl()helpers with filterable asset resolution:featured_image_block_fallback_plugin_pathfeatured_image_block_fallback_plugin_url
- Added
getScriptAssets()supporting bothindex.asset.phpandindex.assets.phpnaming conventions. - Fixed plugin bootstrap: URL and path are now passed to the constructor (previously incorrectly passed to
mount()). - Removed hardcoded
"version"field fromcomposer.json— version is now read from git tags. - Added
.eslintignoreto excludeinstructions/from linting. - Added
readme.txtfor WordPress plugin directory compatibility.
Upgrade Notice
If you were calling setUri() directly, update to setUrl().