Releases: tikhomirov/wp-field-plugin
Releases · tikhomirov/wp-field-plugin
Release list
🎉 WP_Field v4.0.0 — Modern API & Legacy Compatibility
🎉 WP_Field v4.0.0 — Modern API & Legacy Compatibility
🚀 Announced
- Modern API is now the primary layer for new code — Fluent field builder and server-rendered WordPress integration described as the main public-facing path
- Legacy runtime formalized as compatibility layer — Legacy code remains available via
WP_Field.phpandvanilla/, including standalone vanilla export - 52 supported field types — Complete list of field types, conditional logic, containers, storage strategies
✨ Added
- Map provider contract in public API —
MapFieldsupportsprovider(),apiKey(),center()andzoom() - Standalone vanilla build as release artifact — Build creates separate installable plugin archive
dist/wp-field-vanilla.zip - Demo/documentation surfaces separation — Separately documented legacy examples page, modern components/docs page and UI showcase page
🔄 Changed
- v4 release finalized — Release package metadata aligned, README and changelog updated to version
4.0.0 - README.md and README.ru.md fully updated — Removed obsolete markers
v3.0,48 field typesand slugwp-field-v3-demo - Demo pages synchronized with current structure — Fixed actual pages
wp-field-examples,wp-field-componentsandwp-field-ui-demo - Package metadata updated — Synchronized
package.json,package-lock.jsonandcomposer.json
🧪 Testing
- PHPUnit coverage increased to 97.1% — Added tests for GalleryField, FieldsetField and other field types
- Container tests fixed — MetaboxContainer (97.6%), SettingsContainer (100%), TaxonomyContainer (100%), UserContainer (100%)
- PluginBootstrapTest fixed for CI — Directory existence check instead of path name check
📚 Documentation
- Updated README.md and README.ru.md with v4.0 API examples
- Updated CHANGELOG.md
- Demo pages synchronized with current project structure
🎉 WP_Field v4.0.0 — Современный API и совместимость с legacy
🚀 Объявлено
- Modern API теперь основной слой для нового кода — Fluent field builder и server-rendered интеграция с WordPress описаны как primary public-facing путь
- Legacy runtime формализован как compatibility layer — Legacy-код остаётся доступным через
WP_Field.phpиvanilla/, включая standalone vanilla export - 52 поддерживаемых типа полей — Полный список типов полей, conditional logic, containers, storage strategies
✨ Добавлено
- Map provider contract в публичном API —
MapFieldподдерживаетprovider(),apiKey(),center()иzoom() - Standalone vanilla build как релизный артефакт — Сборка создаёт отдельный installable plugin archive
dist/wp-field-vanilla.zip - Разделение demo/documentation surfaces — Отдельно описаны legacy examples page, modern components/docs page и UI showcase page
🔄 Изменено
- Финализирован релиз v4 — Выровнены релизные метаданные пакета, README и changelog под версию
4.0.0 - README.md и README.ru.md полностью актуализированы — Удалены устаревшие маркеры
v3.0,48 field typesи slugwp-field-v3-demo - Demo pages синхронизированы с текущей структурой — Зафиксированы актуальные страницы
wp-field-examples,wp-field-componentsиwp-field-ui-demo - Package metadata обновлены — Синхронизированы
package.json,package-lock.jsonиcomposer.json
🧪 Тестирование
- PHPUnit coverage повышен до 97.1% — Добавлены тесты для GalleryField, FieldsetField и других типов полей
- Исправлены тесты контейнеров — MetaboxContainer (97.6%), SettingsContainer (100%), TaxonomyContainer (100%), UserContainer (100%)
- Исправлен PluginBootstrapTest для CI — Проверка существования директории вместо проверки имени пути
📚 Документация
- Обновлены README.md и README.ru.md с примерами v4.0 API
- Актуализирован CHANGELOG.md
- Demo pages синхронизированы с текущей структурой проекта
Release v3.1.1: OOP Wrappers & UI Enhancements
🚀 Features
- OOP API Adapters
💅 UI/UX Enhancements
- Metabox Scoped Styles: Major visual overhaul for scoped metaboxes (specifically
#plugin_metaboxin WP Packages).- Inputs, selects, and textareas now correctly span 100% width with proper
box-sizing. - Block-level labels with improved spacing and typography.
- Better alignment for
.wp-field-media-wrapperusing Flexbox. - Refined repeater rows styling and repositioned "Remove" buttons to a dedicated actions area.
- Inputs, selects, and textareas now correctly span 100% width with proper
🐛 Bug Fixes
- Assets Enqueue Timing: Fixed an issue where wp-field.css and wp-field.js would not enqueue correctly if the modern API fields were rendered very early (before or during
admin_enqueue_scripts). - Repeater JS Compatibility: Updated the JavaScript handler for repeater fields to fully support both the new OOP template markup (
.wp-field-repeater-rowswith<script>templates) and the legacy markup simultaneously. - CSS Validation: Added the standard
appearance: textfield;property alongside-moz-appearancefor better browser compatibility.
WP_Field v3.0.0 — Stable v3 release, CI aligned, docs updated
🚀 WP_Field v3.0.0
Stable v3 release with aligned CI, updated compatibility matrix, refreshed docs, and activated automated test suite.
✨ Highlights
- Modern v3 positioning across package metadata and plugin headers
- New/updated v3 demo flow and API examples
- Core field system improvements:
- Repeater/Flexible Content behavior refinements
- Legacy adapter/internal compatibility layer cleanup
- updates in containers, traits, and UI manager
- Full test suite activation (Feature + Unit), replacing
.disabledtests - Code style tooling migrated to .pint.json
- Frontend build artifacts regenerated (
assets/dist/*)
✅ CI / Quality
- GitHub Actions PHP matrix aligned to actively supported versions:
- 8.3, 8.4, 8.5
- Coverage run moved to PHP 8.5 job
- Static analysis and lint jobs aligned with current target runtime
- Validation and checks pass:
composer validate --strictcomposer testcomposer analysecomposer lint:checknpm run build
🔧 Compatibility
- PHP: 8.3+
- WordPress: 6.0+
⚠️ Breaking/Important notes
- Release messaging is now strictly v3-focused.
- Legacy/v2 support claims were removed from public docs/metadata.
- If your project is pinned to PHP < 8.3, upgrade PHP before adopting this release.
📦 Included in this release
- CI workflow updates (.github/workflows/ci.yml)
- Composer metadata/lock updates
- README/README.ru consistency updates
- v3 demo + source updates
- test suite activation and cleanup
- build output refresh