{"id":193,"date":"2025-08-25T16:17:57","date_gmt":"2025-08-25T15:17:57","guid":{"rendered":"https:\/\/sites.askyr.com\/darkmatterplugin\/?p=193"},"modified":"2025-08-26T16:28:59","modified_gmt":"2025-08-26T15:28:59","slug":"release-2-5-0","status":"publish","type":"post","link":"https:\/\/darkmatterplugin.com\/2025\/08\/25\/release-2-5-0\/","title":{"rendered":"Release 2.5.0"},"content":{"rendered":"\n<ul class=\"wp-block-list\">\n<li>Switched to a new reusable build tool for CSS and JavaScript rather than some self cobbled together Webpack process.<\/li>\n\n\n\n<li>Switched to <code>wordpress\/elements<\/code> package with Dependency Extraction rather than including a standalone version of React.\n<ul class=\"wp-block-list\">\n<li>Should prevent the possibility of any compatibility issues and ensures the plugin and WordPress use the same version.<\/li>\n\n\n\n<li>JS for the Admin UI is now 12KB instead of 180KB. CSS is marginally smaller.<\/li>\n\n\n\n<li>Static assets now use a dynamic, build-related, version instead of relying on the constant.<\/li>\n\n\n\n<li>Removed the plugin&#8217;s own webpack and postcss config files.<\/li>\n\n\n\n<li>This plugin now only includes minified, built, CSS and JS files. Non-minified is no longer included.<\/li>\n\n\n\n<li>JS now included in the footer.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Moves build assets into <code>dist\/<\/code> folder rather than <code>build\/<\/code>. (Note: you may need to adjust deployment process ignore directives.)<\/li>\n\n\n\n<li>Uses <code>wordpress\/api-fetch<\/code> package instead of <code>jQuery.ajax()<\/code>.\n<ul class=\"wp-block-list\">\n<li>This also removes the dependency on jQuery for Dark Matter Plugin.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Admin menu now updates when the primary domain is changed.\n<ul class=\"wp-block-list\">\n<li>These updates are applied when the data is loaded, rather than specific actions. This captures changing the primary domain, adding as well as deleting.<\/li>\n\n\n\n<li>Resolves issue, <a href=\"https:\/\/github.com\/cameronterry\/dark-matter\/issues\/111\">#111<\/a>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Developer updates;\n<ul class=\"wp-block-list\">\n<li>Removed version bump and Snyk.<\/li>\n\n\n\n<li>Resolves a couple of Dependabot issues.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Tested up to WordPress 6.8.2.<\/li>\n<\/ul>\n\n\n\n<p><strong>Full Changelog<\/strong>: <a href=\"https:\/\/github.com\/cameronterry\/dark-matter\/compare\/2.4.0...2.5.0\">2.4.0&#8230;2.5.0<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Full Changelog: 2.4.0&#8230;2.5.0<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-193","post","type-post","status-publish","format-standard","hentry","category-release"],"_links":{"self":[{"href":"https:\/\/sites.askyr.com\/darkmatterplugin\/wp-json\/wp\/v2\/posts\/193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.askyr.com\/darkmatterplugin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.askyr.com\/darkmatterplugin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.askyr.com\/darkmatterplugin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.askyr.com\/darkmatterplugin\/wp-json\/wp\/v2\/comments?post=193"}],"version-history":[{"count":1,"href":"https:\/\/sites.askyr.com\/darkmatterplugin\/wp-json\/wp\/v2\/posts\/193\/revisions"}],"predecessor-version":[{"id":194,"href":"https:\/\/sites.askyr.com\/darkmatterplugin\/wp-json\/wp\/v2\/posts\/193\/revisions\/194"}],"wp:attachment":[{"href":"https:\/\/sites.askyr.com\/darkmatterplugin\/wp-json\/wp\/v2\/media?parent=193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.askyr.com\/darkmatterplugin\/wp-json\/wp\/v2\/categories?post=193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.askyr.com\/darkmatterplugin\/wp-json\/wp\/v2\/tags?post=193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}