Skip to content

Releases: bob-moore/Block-Preset-Classes

0.3.7

Choose a tag to compare

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

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

0.3.6

Choose a tag to compare

@bob-moore bob-moore released this 25 May 16:56

Changes

  • Restored demo preset loading in WordPress Playground and development environments.
  • Added coverage for development and Playground host demo detection.

Verification

  • PHPUnit, PHPCS, PHPStan, PHP syntax, and package metadata checks pass.
  • Release zip was built with Docker and verified before upload.
  • SHA-256: 6e9190f3ed57107ab4b6e92882d9708d4ae94999d25f997057d84f5b97f89b6e.

0.3.5

Choose a tag to compare

@bob-moore bob-moore released this 25 May 16:22

Changes

  • Renamed the plugin bootstrap file to block-preset-classes.php.
  • Scoped PHP linting to plugin source classes while preserving syntax checks for the bootstrap file.
  • Refreshed CI dependency installation metadata for the current package lock.
  • Excluded source maps from the release zip.

0.3.4

Choose a tag to compare

@bob-moore bob-moore released this 11 May 16:21

Full Changelog: v0.3.3...0.3.4

0.3.3

Choose a tag to compare

@bob-moore bob-moore released this 06 May 15:13

What's Changed

  • Added automatic package URL/path inference for Composer consumers.
  • Removed the shared plugin interface dependency.
  • Loaded demo presets only in local and WordPress Playground environments.
  • Updated Playground setup to use IS_PLAYGROUND and the latest release ZIP.
  • Added repository-local Codex/GitHub skills for WordPress workflows.

Verification

  • npm run lint:js
  • npm run lint:css
  • npm run build
  • composer run phpsniff
  • composer run phpstan
  • composer run phpunit
  • Built production block-preset-classes.zip from a no-dev Composer install.

v0.3.2

Choose a tag to compare

@bob-moore bob-moore released this 30 Apr 15:41

What's new

  • Added searchable multi-select UI for blocks with more than ten preset options.
  • Added react-select as the editor select dependency.
  • Bumps tested up to WordPress 7.0.

Installation

Download block-preset-classes.zip and upload via Plugins > Add New Plugin > Upload Plugin in your WordPress admin.

Block Preset Classes 0.3.1

Choose a tag to compare

@bob-moore bob-moore released this 27 Apr 19:17

Block Preset Classes 0.3.1

  • Adds PHPUnit coverage with WP_Mock.
  • Adds WordPress Playground demo content and sample preset registration.
  • Adds GitHub Actions lint, build, and PHP test workflow.
  • Packages production Composer dependencies with dev files excluded from the release ZIP.

0.3.0

Choose a tag to compare

@bob-moore bob-moore released this 23 Apr 19:07

Changes

  • moved the GitHub updater into a scoped Composer dependency under vendor/scoped
  • added wpify/scoper configuration plus tracked Composer lockfiles for reproducible releases
  • standardized packaging on npm run zip and fixed .gitignore so release instruction files and lockfiles stay trackable

0.2.1

Choose a tag to compare

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

What's Changed

  • Added GitHub updater integration so installed copies can detect new releases from this repository.
  • Packaged release now includes the updater dependency installed via Composer.

0.2.0

Choose a tag to compare

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

Release 0.2.0

  • Added BasicPlugin interface (inc/BasicPlugin.php) with mount(), setUrl(), setPath().
  • Refactored BlockPresetClasses to implement BasicPlugin with injected URL and path.
  • buildPath / buildUrl now pass through block_preset_classes_plugin_path / block_preset_classes_plugin_url filters for integrator overrides.
  • Plugin bootstrap now uses a named function create_block_preset_classes_plugin().
  • Removed hardcoded version from composer.json; version is now read from git tags.

Upgrade notice: If using as a Composer library, update instantiation to pass plugin_dir_url( __FILE__ ) and plugin_dir_path( __FILE__ ) to the constructor, then call $plugin->mount().