Skip to content

Releases: bob-moore/Featured-Image-Block-Fallback

Featured Image Block Fallback 0.3.4

Choose a tag to compare

@bob-moore bob-moore released this 01 Jun 13:39

Fixed scoped dependency configuration so standalone ZIP installs can run alongside related plugins.

Featured Image Block Fallback 0.3.3

Choose a tag to compare

@bob-moore bob-moore released this 26 May 16:49

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

Choose a tag to compare

@bob-moore bob-moore released this 11 May 17:40

What's Changed

  • Unified plugin architecture around ServiceLoader, Plugin, and Utilities classes, matching sibling plugins.
  • Updated namespace from Bmd\ to Bmd\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() into getAssetData(string $key).
  • Replaced combined lint-build workflow with separate lint-css, lint-js, and lint-php workflows.
  • Removed FallbackPreview editor component (stashed for future work).
  • Renamed plugin entry file to featured-image-block-fallback.php.

v0.3.2

Choose a tag to compare

@bob-moore bob-moore released this 27 Apr 17:13
  • Fixed bug where filter was called twice
  • Added preview in the editor

0.3.1

Choose a tag to compare

@bob-moore bob-moore released this 23 Apr 18:53

0.3.1

  • Added scoped bmd/github-wp-updater bootstrap for GitHub-delivered WordPress updates.
  • Added wpify/scoper configuration and a dedicated scoped runtime dependency manifest.
  • Refreshed release packaging for production GitHub distribution.

0.3.0

Choose a tag to compare

@bob-moore bob-moore released this 23 Apr 15:11

What's Changed

  • Added BasicPlugin interface; FeaturedImageBlockFallback now 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() and buildUrl() helpers with filterable asset resolution:
    • featured_image_block_fallback_plugin_path
    • featured_image_block_fallback_plugin_url
  • Added getScriptAssets() supporting both index.asset.php and index.assets.php naming conventions.
  • Fixed plugin bootstrap: URL and path are now passed to the constructor (previously incorrectly passed to mount()).
  • Removed hardcoded "version" field from composer.json — version is now read from git tags.
  • Added .eslintignore to exclude instructions/ from linting.
  • Added readme.txt for WordPress plugin directory compatibility.

Upgrade Notice

If you were calling setUri() directly, update to setUrl().

v0.2.0

Choose a tag to compare

@bob-moore bob-moore released this 22 Apr 18:38

Restructured the internals and changed namespace for consistancy

0.1.8

Choose a tag to compare

@bob-moore bob-moore released this 12 Nov 18:07

Full Changelog: 0.1.7...0.1.8

v0.1.7

Choose a tag to compare

@bob-moore bob-moore released this 12 Nov 18:02

Updated main plugin file to explicitly declare asset path and URL

V0.1.6

Choose a tag to compare

@bob-moore bob-moore released this 14 Apr 20:34

Cleaned up some boilerplate