Release 2.5.0

  • Switched to a new reusable build tool for CSS and JavaScript rather than some self cobbled together Webpack process.
  • Switched to wordpress/elements package with Dependency Extraction rather than including a standalone version of React.
    • Should prevent the possibility of any compatibility issues and ensures the plugin and WordPress use the same version.
    • JS for the Admin UI is now 12KB instead of 180KB. CSS is marginally smaller.
    • Static assets now use a dynamic, build-related, version instead of relying on the constant.
    • Removed the plugin’s own webpack and postcss config files.
    • This plugin now only includes minified, built, CSS and JS files. Non-minified is no longer included.
    • JS now included in the footer.
  • Moves build assets into dist/ folder rather than build/. (Note: you may need to adjust deployment process ignore directives.)
  • Uses wordpress/api-fetch package instead of jQuery.ajax().
    • This also removes the dependency on jQuery for Dark Matter Plugin.
  • Admin menu now updates when the primary domain is changed.
    • These updates are applied when the data is loaded, rather than specific actions. This captures changing the primary domain, adding as well as deleting.
    • Resolves issue, #111.
  • Developer updates;
    • Removed version bump and Snyk.
    • Resolves a couple of Dependabot issues.
  • Tested up to WordPress 6.8.2.

Full Changelog: 2.4.0…2.5.0