Releases: RRZE-Webteam/rrze-plugin-blueprint
Releases · RRZE-Webteam/rrze-plugin-blueprint
Release list
v1.2.0
v1.1.2
1.1.1
1.1.1 (2025-06-30)
- Replaced custom systemRequirements() checks with is_wp_version_compatible() and is_php_version_compatible()
- Swapped get_bloginfo('version') for wp_get_wp_version()
- Unified admin notices: now always hooked on init → admin_notices
v1.1.0
Changelog
1.1.0 (2025-06-27)
Added
- Centralized Defaults
Introduced aDefaultsclass to manage all plugin default values in one place, with filter hooks for easy overrides. - Custom Post Types & Taxonomies
NewCPTandTaxonomyhelper classes to scaffold and register custom post types and taxonomies. - Shortcode Registration
A genericShortcodeclass for quickly defining and registering shortcodes. - Gutenberg Block Support
Example scaffolding for both static and dynamic blocks, each with its own build process and assets (seeblocks/block-static/README.mdandblocks/block-dynamic/README.md). - JS Internationalization
Full i18n support for JavaScript: extraction and generation of.jsontranslation files and automatic loading viawp_set_script_translations(). - Build Tooling & Scripts
- Added
package.jsonscripts for building blocks and running post-install tasks. - Included
webpack.config.jsandbuild-plugin.jsfor asset compilation.
- Added
- Namespace/Textdomain/Slug Updaters
New CLI helpers to bulk-replace the PHP namespace, text domain, or plugin slug throughout the codebase:npm run update:namespace npm run update:textdomain npm run update:slug
Changed
- Directory Structure
- Moved shared code under
includes/Common/(Blocks, CPT, Settings, Shortcode). - Introduced a top-level
blocks/folder for block sources.
- Moved shared code under
- Settings API Docs
Updated the Settings integration and now link directly to theSettingsclass README for detailed usage examples. - Initialization Helpers
Renamed the singleton accessor tomain()(in addition to the existingplugin()) for clarity when bootstrapping components. - README & Examples
Expanded the rootREADME.mdwith a “Development Workflow” section, including commands for dependency installation, block builds, and i18n workflows.
Fixed
- No breaking changes; fully backward-compatible with all v1.0.1 functionality.
v1.0.1
v1.0.0
Changelog
1.0.0 (2025-06-05)
- Initial release of RRZE Plugin Blueprint.
- Added PSR-4 autoloader and namespace structure.
- Settings page under Settings → Plugin Blueprint.
- System requirements check (WP ≥ 6.8, PHP ≥ 8.2).
- Sample options: checkbox, text field, textarea with sanitization.
- Localization support (text domain
rrze-plugin-blueprint). - Activation/deactivation hooks stubbed.
- Options management via
Optionsclass. - “Settings” link in plugins list.