Releases: bob-moore/Block-Preset-Classes
Releases · bob-moore/Block-Preset-Classes
Release list
0.3.7
0.3.6
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
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
0.3.3
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
What's new
- Added searchable multi-select UI for blocks with more than ten preset options.
- Added
react-selectas 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
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
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
0.2.0
Release 0.2.0
- Added
BasicPlugininterface (inc/BasicPlugin.php) withmount(),setUrl(),setPath(). - Refactored
BlockPresetClassesto implementBasicPluginwith injected URL and path. buildPath/buildUrlnow pass throughblock_preset_classes_plugin_path/block_preset_classes_plugin_urlfilters for integrator overrides.- Plugin bootstrap now uses a named function
create_block_preset_classes_plugin(). - Removed hardcoded
versionfromcomposer.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().