Releases: jofrysutanto/windsor
Release list
1.0.2
1.0.1
Minor compatibility update to allow Windsor to run where older symfony/yaml is present.
First Stable Release
Graduated from pre-release, with minor changes:
- Cosmetic change to fit new ACF 5.9.0 admin look
Hotfix — Invalid ajaxurl
v0.9.5 Fix incorrectly set ajax url
Exporter feature
This major addition introduces new UI config which can be toggled ON to give users access to Exporter page.
Enabling exporter:
function modify_windsor_config($config) {
return array_merge($config, [
'ui' => true,
// Or use the expanded version below:
// 'ui' => [
// --- {boolean} Same effect as `'ui' => true`
// 'enabled' => true,
// --- {boolean} Use this to inline Windsor's styles and scripts.
// --- This is useful when working with WordPress environment that prevents public url access to `vendor/` directory.
// 'inline_assets' => true,
]
]);
}
add_filter('acf-windsor/config', 'modify_windsor_config');The exporter should dramatically ease the efforts of developers looking to transition their ACF fields management into Windsor.
For more information, refer to the documentation site
This is the last feature I have planned to get out of pre-release version, but feedback will be appreciated to accumulate enough confidence to tag a 1.0 version especially with the exporter tool.
ACF Block Support
Improved ACF Block support
New blocks configuration can now be added to index.yaml. All YAML files listed here are automatically registered in ACF via acf_register_block_type while at the same time allowing you to register all custom fields in the same YAML file to greatly simplify development.
See blocks documentation for more information.
Manual Windsor registration
Prior to this, bootstrap/start.php pose a naive assumption on the Wordpress installation setup.
Developers now must register Windsor based on their setup, for example from within their functions.php:
function register_acf_windsor()
{
\Windsor\Capsule\Manager::make()->register();
}
add_action('acf/init', 'register_acf_windsor');New filter for `rules`
First beta version
This is the first beta release of Windsor. While this same codebase has been used personally for many production sites, this release should still be considered work-in-progress until there is enough evidence from the community that it is indeed production ready.
