|
| 1 | +# Blockparty Iframe |
| 2 | + |
| 3 | +## Changelog |
| 4 | + |
| 5 | +All notable changes to this project will be documented in this file. |
| 6 | + |
| 7 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 8 | +and this project adheres to [Semantic Versioning](https://semver.org/). |
| 9 | + |
| 10 | +## [1.0.0] - 2025-01-09 |
| 11 | + |
| 12 | +### 🎉 Initial Release |
| 13 | + |
| 14 | +#### Added |
| 15 | + |
| 16 | +- **Gutenberg Iframe Block**: New custom block to embed iframes in WordPress editor |
| 17 | +- **Configurable Attributes**: |
| 18 | + - `url`: URL of the page to embed |
| 19 | + - `title`: Iframe title for accessibility |
| 20 | + - `lazyload`: Option to enable lazy loading |
| 21 | +- **Dimension Support**: |
| 22 | + - Customizable width |
| 23 | + - Customizable height |
| 24 | + - Configurable aspect ratio |
| 25 | +- **Alignments**: Support for wide and full-width alignments |
| 26 | +- **Internationalization**: |
| 27 | + - Full i18n/l10n support |
| 28 | + - French translations included |
| 29 | + - POT files for translators |
| 30 | +- **Performance**: |
| 31 | + - Uses `blocks-manifest.php` API (WordPress 6.7+) |
| 32 | + - Compatible with `wp_register_block_types_from_metadata_collection` (WordPress 6.8+) |
| 33 | + - Optional lazy loading for iframes |
| 34 | +- **Code Quality**: |
| 35 | + - WordPress Coding Standards (WPCS) compliance |
| 36 | + - Static analysis with Psalm |
| 37 | + - PHPCompatibility verification |
| 38 | + - ESLint for JavaScript |
| 39 | + - GrumPHP for pre-commit hooks |
| 40 | +- **Documentation**: |
| 41 | + - Complete README with usage guide |
| 42 | + - PHPDoc for all functions |
| 43 | + - Detailed inline comments |
| 44 | +- **Development Environment**: |
| 45 | + - `@wordpress/env` support for local environment |
| 46 | + - npm scripts for development and production |
| 47 | + - Composer configuration for development tools |
| 48 | + |
| 49 | +#### Technical |
| 50 | + |
| 51 | +- **Minimum Versions**: |
| 52 | + - WordPress 6.7+ |
| 53 | + - PHP 8.1+ |
| 54 | + - Requires ext-json |
| 55 | +- **Block Editor API**: Uses API version 3 |
| 56 | +- **Build System**: `@wordpress/scripts` with `--blocks-manifest` flag |
| 57 | +- **Structure**: Modular architecture with edit/save separation |
| 58 | +- **Styles**: SCSS with automatic RTL support |
| 59 | + |
| 60 | +--- |
| 61 | + |
| 62 | +[1.0.0]: https://github.com/BeAPI/blockparty-iframe/releases/tag/1.0.0 |
0 commit comments