robotstxt-telemetry/changelog.txt
2026-08-18 16:26:15 +00:00

80 lines
3 KiB
Text

== Changelog ==
= 0.2.0 =
_Release date: 2026-08-18_
**Highlights**
* Settings screen and uninstall behavior (data preserved by default), Manager (by ROBOTSTXT) dependency notices, and lowered requirements to WordPress 6.2 / PHP 7.4
**Added**
* Settings screen with the "Delete all telemetry logs and plugin options on uninstall" checkbox (unchecked by default)
* Manager (by ROBOTSTXT) dependency notice: dismissible on the plugins list screen, permanent on the plugin Settings screen
* `uninstall.php` routine honoring the delete-data option, Multisite aware (per-site tables), using WordPress database APIs
* `bin/deploy.sh` script that builds a distributable ZIP in the plugin's parent directory, reading the version from the plugin headers
* `languages/robotstxt-telemetry.pot` translation template
**Changed**
* Minimum requirements lowered to WordPress 6.2 and PHP 7.4 (previously 6.7 / 8.2)
* Plugin URI and Update URI set to https://www.robotstxt.software/plugins/robotstxt-telemetry/
* Author URI set to https://www.robotstxt.software/
* Contributors ordered as robotstxt, javiercasares
**Fixed**
* Query parameters were not stored because the `wp_parse_args()` return value was discarded
* Invalid UTF-8 no longer discards whole payloads; values are truncated first and then scrubbed
**Security**
* Query strings are redacted before the URL is stored; credentials embedded in URLs are stripped
* Log detail view prefers the already-redacted stored parameters over re-parsing the raw URL
* Removed the bundled self-updater (`robotstxt-updater.php`, `update.json`); updates are now handled by the Manager (by ROBOTSTXT) plugin
**Removed**
* Bundled updater files `robotstxt-updater.php` and `update.json`
**Compatibility**
* WordPress: 6.2 - 7.1
* PHP: 7.4 - 8.5
* MariaDB: 10.6+
* Multisite: compatible
**Tests**
* WordPress 7.2-alpha-63320, PHP 8.5.9, MariaDB 11.8.8
* PHP Coding Standards: 3.13.6
* WordPress Coding Standards: 3.4.1
* PHPCompatibilityWP (PHP 7.4-8.5): 9.3.5
* wp-since (WordPress 6.2+): 1.5.0
= 0.1.0 =
_Release date: 2026-08-18_
**Highlights**
* Initial release: outbound HTTP request logging with an admin Logs screen
**Added**
* Outbound HTTP capture through `http_request_args` storing method, URL, host, path, query parameters, body parameters/raw body, sanitized headers, user agent, and caller backtrace
* Custom database table `{$wpdb->prefix}robotstxt_telemetry_logs` created with `dbDelta()` on activation, with lazy per-site schema upgrades on Multisite
* Logs admin screen: paginated `WP_List_Table` with method, host, and date range filters, single entry view with pretty-printed JSON, and nonce-protected delete action
* Secret redaction for sensitive keys (authorization, password, token, secret, api_key, nonce) applied before storing
* Payload size limits: 64 KB per JSON blob, 64 KB raw body, 16 KB caller trace
* Dedicated analysis view for `api.wordpress.org` requests grouping environment, extensions, platform flags, and image support parameters
**Compatibility**
* WordPress: 6.7 - 6.9
* PHP: 8.2 - 8.5
**Tests**
* WordPress 6.9, PHP 8.2-8.5