Skip to content

Releases: tikhomirov/wp-field-plugin

🎉 WP_Field v4.0.0 — Modern API & Legacy Compatibility

Choose a tag to compare

@tikhomirov tikhomirov released this 10 Apr 14:59
6f23107

🎉 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.php and vanilla/, including standalone vanilla export
  • 52 supported field types — Complete list of field types, conditional logic, containers, storage strategies

✨ Added

  • Map provider contract in public APIMapField supports provider(), apiKey(), center() and zoom()
  • 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 types and slug wp-field-v3-demo
  • Demo pages synchronized with current structure — Fixed actual pages wp-field-examples, wp-field-components and wp-field-ui-demo
  • Package metadata updated — Synchronized package.json, package-lock.json and composer.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 в публичном APIMapField поддерживает 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 и slug wp-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

Choose a tag to compare

@tikhomirov tikhomirov released this 24 Feb 00:57
8736657

🚀 Features

  • OOP API Adapters

💅 UI/UX Enhancements

  • Metabox Scoped Styles: Major visual overhaul for scoped metaboxes (specifically #plugin_metabox in 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-wrapper using Flexbox.
    • Refined repeater rows styling and repositioned "Remove" buttons to a dedicated actions area.

🐛 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-rows with <script> templates) and the legacy markup simultaneously.
  • CSS Validation: Added the standard appearance: textfield; property alongside -moz-appearance for better browser compatibility.

WP_Field v3.0.0 — Stable v3 release, CI aligned, docs updated

Choose a tag to compare

@tikhomirov tikhomirov released this 23 Feb 23:26
3294519

🚀 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 .disabled tests
  • 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 --strict
    • composer test
    • composer analyse
    • composer lint:check
    • npm 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

1.0.1

Choose a tag to compare

@tikhomirov tikhomirov released this 28 Jan 23:49

First Release