diff --git a/.github/workflows/php_unit.yml b/.github/workflows/php_unit.yml index 1bea89b..997c762 100644 --- a/.github/workflows/php_unit.yml +++ b/.github/workflows/php_unit.yml @@ -33,6 +33,7 @@ jobs: - '6.5' - '6.7' - '6.8' + - '6.9' env: WP_ENV_PHP_VERSION: ${{ matrix.php }} diff --git a/README.md b/README.md index 9c0aa02..a6dec6a 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ This plugin integrates Rollbar into your WordPress installation. #### Table of Contents 1. [Installation](#installation) + 1. [Requirements](#requirements) 1. [Through WordPress Plugin directory](#through-wordpress-plugin-directory) 2. [Through Packagist](#through-packagist-recommended-new) 3. [Through WPackagist](#through-wpackagist) @@ -36,6 +37,13 @@ This plugin integrates Rollbar into your WordPress installation. ## Installation +### Requirements + +| Plugin Version | PHP Version | WordPress Version | Support | +|----------------|-------------|-------------------|---------------| +| v3 | 8.1 to 8.5 | 6.5 to 6.9 | Full | +| v2 | 7.0 to 8.3 | 5.8 to 6.8 | Not Supported | + ### Through [WordPress Plugin directory](https://wordpress.org/plugins/rollbar/) The easiest way to install the plugin is from the WordPress Plugin directory. If you have an existing WordPress @@ -179,6 +187,8 @@ The plugin provides a number of filters that allow you to customize the behavior Filter to allow or deny access to a Rollbar route in the WordPress REST API used in the WordPress Admin. Generally, this should be the same as the `rollbar_user_can_view_admin` filter. +**Since: 3.0.0** + **Parameters** * `bool $value` - The initial value. Defaults is `true` for admin users, `false` for non-admin users. @@ -216,6 +226,8 @@ Filters the Rollbar plugin settings. Filters the Rollbar Core SDK PHP configuration. +**Since: 3.0.0** + **Parameters** * `array $config` - The Rollbar PHP configuration array. @@ -224,6 +236,8 @@ Filters the Rollbar Core SDK PHP configuration. Filter the list of actions to instrument with Telemetry. +**Since: 3.0.0** + **Parameters** * `array $actions` - An associative array where the keys are action names and the values are the number of @@ -236,6 +250,8 @@ Filter the list of custom action event handlers for Telemetry. Note: The custom action handler will only be called if the action is instrumented with Telemetry. This means you must select the action on the settings page, or add it to the list of actions using the `rollbar_telemetry_actions` filter. +**Since: 3.0.0** + **Parameters** * `array $handlers` - An associative array where the keys are action names @@ -247,6 +263,8 @@ Filter to enable / disable the admin settings page of the plugin for the current This filter cannot override the `ROLLBAR_DISABLE_ADMIN` constant. +**Since: 3.0.0** + **Parameters** * `bool $allow` - `true` to enable the admin settings page, `false` to disable it. diff --git a/readme.txt b/readme.txt index 412bf42..51351c1 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: arturmoczulski, jorbin, danielmorell Tags: rollbar, full stack, error, tracking, error tracking, error reporting, reporting, debug Requires at least: 6.5.0 -Tested up to: 6.8 +Tested up to: 6.9 Requires PHP: 8.1 Stable tag: 3.0.0 License: GPLv2 or later @@ -117,7 +117,7 @@ can be disabled by setting the `ROLLBAR_DISABLE_ADMIN` constant to `true` in you The plugin can also be configured programmatically. This is useful if you want to configure the plugin in a more advanced way or if you want to disable the admin settings page. -```php +``` // wp-config.php // Configure the plugin. @@ -153,10 +153,11 @@ using composer. = Version 3.1.0 (?) = * Fixed settings values not being saved correctly when they match the default. * Added `rollbar_js_nonce` filter to allow customizing the nonce used in the Rollbar JS snippet. +* Added support for WordPress 6.9. * Moved vendored files into a scoped namespace. * Updated the Rollbar core PHP SDK to v4.2. -= Version 3.0.0 (October 17 2025) = += Version 3.0.0 (October 17th 2025) = * Fixed CSRF vulnerability. * Removed support for PHP 8.0 and below. * Updated and improved the settings page. @@ -174,10 +175,10 @@ using composer. * Added `rollbar_telemetry_custom_handlers` filter to allow custom control over what is logged in telemetry messages. * Added 'framework' details with the WordPress version to the item payload. -= Version 2.7.1 (September 13 2023) = += Version 2.7.1 (September 13th 2023) = * Fix issue that could lead to fatal error with some settings (https://github.com/rollbar/rollbar-php-wordpress/pull/120) -= Version 2.7.0 (September 11 2023) = += Version 2.7.0 (September 11th 2023) = * Updated PHP Dependencies including loading seperate dependencies for PHP7 and PHP8. (https://github.com/rollbar/rollbar-php-wordpress/pull/114) * Updated node development dependencies (https://github.com/rollbar/rollbar-php-wordpress/pull/115) diff --git a/rollbar.php b/rollbar.php index e3ccc90..0abb1cd 100755 --- a/rollbar.php +++ b/rollbar.php @@ -10,7 +10,7 @@ * Text Domain: rollbar * License: Proprietary * Requires PHP: 8.1 - * Tested up to: 6.8 + * Tested up to: 6.9 * Requires at least: 6.5 * * @package Rollbar\WordPress