Repository navigation
0.10.0
A new admin. Every FakerPress page is rebuilt in React on top of the REST API, and this release sets the plugin up for the refactors and automations coming next.
Requires WordPress 6.6 or later. The new admin loads the React JSX runtime that WordPress started shipping in 6.6. Older sites would get blank admin pages, so WordPress refuses to install this update or activate the plugin there. (#245)
Features
- New admin: Posts, Users, Terms, Comments, Attachments and Settings are rebuilt in React with Tailwind CSS v4 and shadcn/ui. The Taxonomy and Meta Field Rules keep the familiar numbered, label-left layout and every meta type, including Date. (#187)
- Results on the Generate button: progress and elapsed time while a run works, then what was generated and how long it took, or what went wrong. View details lists every generated item with a summary and edit and view links. Advanced shows each item's full data and the raw request and response. The generate endpoints now return
itemsandlist_url. (#248)
Fixes
- Meta Field Rules on generated attachments are generated like on every other module, instead of each rule being stored raw under a numeric meta key. (#187)
- Attachment meta rules that pick Placehold.co (half of the default featured-image rule on Posts) no longer store an error. Images are requested as PNG, and a failed image leaves the meta empty. (#187)
- User generation no longer comes up one short when a generated website URL is longer than the 100 characters WordPress allows. (#187)
- The Users endpoint accepts a boolean
use_html(onstill works). (#187) - The text provider's sentences, paragraphs and text no longer fatal on PHP 8 (
join()argument order). The post search checks its nonce before reading the request, template output is escaped, and batch messages are translatable. (#239) - Generate errors from the REST API show their message instead of "An unknown error occurred.", and links from batched runs no longer overwrite each other. (#248)
Under the hood
- Prettier formatting, and zero JavaScript lint, TypeScript, stylelint and PHPCS errors. Every class, method and template is documented to the WordPress coding standards. (#235, #236, #237, #238, #240)
- CI runs Jest, a TypeScript check and WPUnit on PHP 8.1, 8.2 and 8.3, and lints JS and CSS in separate steps. (#187, #241)
- Dependencies: the Composer dev packages with security advisories are updated (#242). The JavaScript dependencies are refreshed in
bun.lock, covering every open Dependabot update (#247). - The zip leaves out the Jest tests and dev configs (#246), and the release build downloads translations one at a time, since translate.wordpress.org rate-limits the burst (#249).
Full changelog: 0.9.2...0.10.0