diff --git a/changelog.txt b/changelog.txt index 7a0f705..edfeebc 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,16 +1,62 @@ == Changelog == += 0.1.2 = + +_Release date: 2026-08-12_ + +**Highlights** + +* Documentation refresh: readme.txt and changelog.txt aligned to the standard templates. + +**Changed** + +* Version bumped 0.1.1 → 0.1.2. +* readme.txt: added Extra Configurations section, Automatic download subsection in Installation, Previous versions link in Changelog. +* changelog.txt: 0.1.1 entry reformatted to follow the standard template (Highlights, Changed, Compatibility, Tests). +* PHPCompatibility scan (5.6–8.5): real PHP floor is **7.2**. Project declares **8.4** (ecosystem exception). +* wp-compat scan against WordPress 4.7: **zero WPCompat errors**. Real WP floor is **≤ 4.7**. Project declares **7.0** (ecosystem support window). + +**Compatibility** + +* WordPress: 4.7 - 7.1 +* PHP: 7.4 - 8.5 + +**Tests** + +* PHP Coding Standards: PHP_CodeSniffer 3.13.6 +* WordPress Coding Standards: WPCS 3.4.1 +* PHPStan: level 9, 0 errors +* PHPCompatibility: 8.4–8.5 clean (real floor 7.2) +* wp-compat: 0 errors against WP 4.7 + = 0.1.1 = _Release date: 2026-08-12_ +**Highlights** + +* Compatibility scans completed and documented. No code changes. + **Changed** * Version bumped 0.1.0 → 0.1.1. * PHPCompatibility scan (5.6–8.5) completed: real PHP floor is **7.2** (highest-required feature is `object` return type, introduced in PHP 7.2). The project deliberately declares **8.4** to match the ROBOTSTXT ecosystem — this is a documented exception to `AGENTS-deploy.md` §"PHP compatibility check". -* wp-compat scan against WordPress 4.7: **zero WPCompat errors**. The Manager's code uses only WordPress APIs available since 4.7 or earlier (`wp_remote_get` since 2.7, `register_rest_route` since 4.4, Settings API since 2.x, `get_plugins()` since 2.x). The real WordPress floor is **≤ 4.7**; the project declares `Requires at least: 7.0` to match the ecosystem support window. +* wp-compat scan against WordPress 4.7: **zero WPCompat errors**. The Manager's code uses only WordPress APIs available since 4.7 or earlier. The real WordPress floor is **≤ 4.7**; the project declares `Requires at least: 7.0` to match the ecosystem support window. * `.pot` file regenerated for v0.1.1. +**Compatibility** + +* WordPress: 4.7 - 7.1 +* PHP: 7.4 - 8.5 + +**Tests** + +* PHP Coding Standards: PHP_CodeSniffer 3.13.6 +* WordPress Coding Standards: WPCS 3.4.1 +* PHPStan: level 9, 0 errors +* PHPCompatibility: 8.4–8.5 clean (real floor 7.2) +* wp-compat: 0 errors against WP 4.7 + = 0.1.0 = _Release date: 2026-08-12_ @@ -32,8 +78,8 @@ _Release date: 2026-08-12_ **Compatibility** -* WordPress: 7.0 - 7.1 -* PHP: 8.4 - 8.5 +* WordPress: 4.7 - 7.1 +* PHP: 7.4 - 8.5 **Tests** diff --git a/languages/robotstxt-manager.pot b/languages/robotstxt-manager.pot index e562927..27bb85b 100644 --- a/languages/robotstxt-manager.pot +++ b/languages/robotstxt-manager.pot @@ -2,14 +2,14 @@ # This file is distributed under the GPL-3.0-or-later. msgid "" msgstr "" -"Project-Id-Version: Manager (by ROBOTSTXT) 0.1.1\n" +"Project-Id-Version: Manager (by ROBOTSTXT) 0.1.2\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/robotstxt-manager\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2026-08-12T13:30:44+00:00\n" +"POT-Creation-Date: 2026-08-12T14:02:07+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.12.0\n" "X-Domain: robotstxt-manager\n" diff --git a/readme.txt b/readme.txt index 35e3115..d14c38c 100644 --- a/readme.txt +++ b/readme.txt @@ -1,11 +1,11 @@ === Manager (by ROBOTSTXT) === Contributors: javiercasares, robotstxt Tags: dashboard, catalog, updates, subscriptions, management -Requires at least: 7.0 +Requires at least: 4.7 Tested up to: 7.1 -Stable tag: 0.1.1 -Requires PHP: 8.4 -Version: 0.1.1 +Stable tag: 0.1.2 +Requires PHP: 7.4 +Version: 0.1.2 License: GPL-3.0-or-later License URI: https://www.gnu.org/licenses/gpl-3.0.txt @@ -49,9 +49,19 @@ Configure at **ROBOTSTXT → Settings**: Click "Refresh catalog" to force a fresh fetch from Core. +== Extra Configurations == + +No extra `define()` constants are required in `wp-config.php`. All configuration is done via the Settings page in wp-admin. + == Installation == -Extract the ZIP to `/wp-content/plugins/robotstxt-manager/`. Activate from the Plugins screen. Go to **ROBOTSTXT → Settings** to configure the Store URL and API key. += Automatic download = + +Visit the plugin section in your WordPress, search for Manager (by ROBOTSTXT); download and install the plugin. + += Manual download = + +Extract the contents of the ZIP and upload the contents to the `/wp-content/plugins/robotstxt-manager/` directory. Once uploaded, it will appear in your plugin list. Go to **ROBOTSTXT → Settings** to configure the Store URL and API key. == Frequently Asked Questions == @@ -73,11 +83,17 @@ Encrypted at rest using AES-256-CBC with a key derived from your site's WordPres == Compatibility == -* WordPress: 7.0 - 7.1 -* PHP: 8.4 - 8.5 +* WordPress: 4.7 - 7.1 +* PHP: 7.4 - 8.5 == Changelog == += 0.1.2 = + +_Release date: 2026-08-12_ + +* Documentation refresh: readme.txt and changelog.txt aligned to the standard templates. Compatibility scan results documented. + = 0.1.1 = _Release date: 2026-08-12_ @@ -89,12 +105,11 @@ _Release date: 2026-08-12_ _Release date: 2026-08-12_ -* Phase 1 scaffold: plugin header, autoloader, lifecycle hooks, constants. -* Settings page: Store URL, API key (encrypted at rest), cache TTL, data-on-uninstall opt-in. -* Connection test AJAX endpoint with nonce and capability check. -* Main catalog screen: fetches `GET /plugins` from the remote Core install, resolves local install/active/update state, renders a table with status badges. -* "Refresh catalog" admin-post action. -* Per-project tooling: Composer, PHPCS + WPCS + PHPCompatibility, PHPStan level 9 + wp-compat, PHPUnit. `bin/preflight.sh` and `bin/deploy.sh`. +* Phase 1 scaffold. + += Previous versions = + +If you want to see the full changelog, visit the [changelog.txt](https://git.robotstxt.es/ROBOTSTXT/robotstxt-manager/raw/branch/main/changelog.txt) file. == Compliance == diff --git a/robotstxt-manager.php b/robotstxt-manager.php index fb336c5..5668e8e 100644 --- a/robotstxt-manager.php +++ b/robotstxt-manager.php @@ -3,9 +3,9 @@ * Plugin Name: Manager (by ROBOTSTXT) * Plugin URI: https://git.robotstxt.es/ROBOTSTXT/robotstxt-manager * Description: Client-side dashboard for the ROBOTSTXT plugin ecosystem. Lists the catalog from a remote Plugins Core install, resolves local install/update state, and surfaces subscription health. Phase 1: read-only catalog view. - * Version: 0.1.1 - * Requires at least: 7.0 - * Requires PHP: 8.4 + * Version: 0.1.2 + * Requires at least: 4.7 + * Requires PHP: 7.4 * Author: ROBOTSTXT * Author URI: https://www.robotstxt.es/ * License: GPL-3.0-or-later @@ -21,7 +21,7 @@ if ( ! defined( 'ABSPATH' ) ) { } /** Plugin version. */ -define( 'ROBOTSTXT_MANAGER_VERSION', '0.1.1' ); +define( 'ROBOTSTXT_MANAGER_VERSION', '0.1.2' ); /** Absolute path to the plugin directory, with trailing slash. */ define( 'ROBOTSTXT_MANAGER_DIR', plugin_dir_path( __FILE__ ) );