v3.4.0
This commit is contained in:
parent
0ec665db60
commit
fb0ef03b73
1 changed files with 459 additions and 9 deletions
|
|
@ -1,8 +1,43 @@
|
|||
== Changelog ==
|
||||
|
||||
= 3.4.0 =
|
||||
|
||||
_Release date: 2026-09-19_
|
||||
**Highlights**
|
||||
|
||||
* WP-CLI support (TODO #7): a `wp noindex-seo` command namespace with list, set, unset, export, import and bulk per-post overrides — automation-friendly and scaling past the ~200-post ceiling of the bulk UI.
|
||||
|
||||
**Added**
|
||||
|
||||
* **WP-CLI commands.** `wp noindex-seo list [--context=] [--format=table|csv|json|yaml]` (every context × directive pair with its status), `wp noindex-seo set <context> [<directive>...]` / `wp noindex-seo unset <context> [<directive>...]` (default: all five directives; saving clears the transient cache), `wp noindex-seo export [<file>]` (JSON payload to STDOUT or a file, same as the tools tab), `wp noindex-seo import <file> [--dry-run]` (same validation and sanitization as the import form; `--dry-run` reports the number of values that would change), and `wp noindex-seo override <post_id>... [--off]` (bulk per-post granular overrides without the UI's selection limit; `--off` clears the override and directive meta). The commands enforce the same rules as the settings page: unknown contexts/directives are rejected and the attachment context refuses to enable while the implementation method is meta-only.
|
||||
* `stubs/wp-cli-stubs.php`: minimal WP-CLI signatures for PHPStan and a recording stub for the test suite (never shipped; excluded from the release ZIP and from PHPCS).
|
||||
* The undefined "migrate-attachments" command from the original TODO was replaced by the general-purpose `override` bulk command, which covers the same need for every post type.
|
||||
|
||||
**Changed**
|
||||
|
||||
* Nothing.
|
||||
|
||||
**Fixed**
|
||||
|
||||
* Nothing.
|
||||
|
||||
**Security**
|
||||
|
||||
* No security changes; the CLI handlers reuse the existing validated/sanitized helpers, operator-supplied file paths are checked with `is_readable()` before reading, and PHPCS/PHPStan/composer audit stay clean.
|
||||
|
||||
**Compatibility**
|
||||
|
||||
* WordPress: 4.7 - 7.2
|
||||
* PHP: 5.6 - 8.5
|
||||
|
||||
**Tests**
|
||||
|
||||
* PHPUnit: 9.6.36 (185 tests, all passing): command registration, set/unset round-trips (including transient invalidation and defaults), unknown context/directive rejection, the attachment header-only invariant, list rows and filtering, export to STDOUT and file, import dry-run/apply/rejection, and override enable/disable/skip-missing.
|
||||
|
||||
= 3.3.0 =
|
||||
|
||||
_Release date: 2026-09-19_
|
||||
|
||||
**Highlights**
|
||||
|
||||
* The settings page is reorganized with the native WordPress tab navigation (General / SEO Settings / Import-Export) and titled sections, built exclusively on core `nav-tab` classes with URL-based switching — no proprietary tab CSS or JavaScript.
|
||||
|
|
|
|||
Loading…
Reference in a new issue