From 6fcb6839a8d6aa770b02b733a7951f553325cdb5 Mon Sep 17 00:00:00 2001 From: Alex Bouma Date: Sun, 31 Jan 2021 02:05:46 +0100 Subject: [PATCH] Version bump and release note updates --- README.md | 2 +- readme.txt | 22 ++++++++++++++++++---- src/class-wp-sentry-version.php | 2 +- wp-sentry.php | 2 +- 4 files changed, 21 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index dcba046..9edea7b 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ define( 'WP_SENTRY_BROWSER_DSN', 'JS_DSN' ); (Optionally) define a version of your site; by default the theme version will be used. This is used for tracking at which version of your site the error occurred. When combined with release tracking this is a very powerful feature. ```php -define( 'WP_SENTRY_VERSION', 'v3.11.1' ); +define( 'WP_SENTRY_VERSION', 'v4.0.0' ); ``` (Optionally) define an environment of your site. Defaults to `unspecified`. diff --git a/readme.txt b/readme.txt index 2c921dd..fabd994 100644 --- a/readme.txt +++ b/readme.txt @@ -15,14 +15,14 @@ This plugin can report PHP errors (optionally) and JavaScript errors (optionally It will auto detect authenticated users and add context where possible. All context/tags can be adjusted/expanded using filters. -_For more information and documentation have a look at the [README.md](https://github.com/stayallive/wp-sentry/blob/v3.11.1/README.md) file._ +_For more information and documentation have a look at the [README.md](https://github.com/stayallive/wp-sentry/blob/v4.0.0/README.md) file._ == Installation == 1. Install this plugin by cloning or copying this repository to your `wp-contents/plugins` folder 2. Configure your DSN as explained below 2. Activate the plugin through the WordPress admin interface -_For more information and documentation have a look at the [README.md](https://github.com/stayallive/wp-sentry/blob/v3.11.1/README.md) file._ +_For more information and documentation have a look at the [README.md](https://github.com/stayallive/wp-sentry/blob/v4.0.0/README.md) file._ **Note:** this plugin does not do anything by default and has only a admin interface to test the integration. A Sentry DSN must be configured in your `wp-config.php`. @@ -56,15 +56,29 @@ When enabled the current logged in user and IP address will be added to the even (Optionally) define a version of your site; by default the theme version will be used. This is used for tracking at which version of your site the error occurred. When combined with release tracking this is a very powerful feature. -`define( 'WP_SENTRY_VERSION', 'v3.11.1' );` +`define( 'WP_SENTRY_VERSION', 'v4.0.0' );` (Optionally) define an environment of your site. Defaults to `unspecified`. `define( 'WP_SENTRY_ENV', 'production' );` -_For more information and documentation have a look at the [README.md](https://github.com/stayallive/wp-sentry/blob/v3.11.1/README.md) file._ +_For more information and documentation have a look at the [README.md](https://github.com/stayallive/wp-sentry/blob/v4.0.0/README.md) file._ == Changelog == += 4.0.0 = + +Note: This is a *breaking release* for the PHP SDK, please test it well and read the migration guides if applicable before upgrading! + +If you are doing anything more than just have this plugin installed and a DSN defined on your wp-config.php, check out the upgrade docs: + +- PHP SDK: https://github.com/getsentry/sentry-php/blob/master/UPGRADE-3.0.md + +Becasue of the upgrade to the 3.x version of the PHP SDK this plugin now has the requirement that it runs on at least PHP 7.2, for older PHP versions stick to version 3.x. + +* Drop PHP 7.1 support and add PHP 8.0 support +* Update PHP SDK to version 3.1.3 +* Update Sentry Browser to version 6.0.3 + = 3.11.1 = - Fix missing files in the release diff --git a/src/class-wp-sentry-version.php b/src/class-wp-sentry-version.php index 26753fb..daac529 100644 --- a/src/class-wp-sentry-version.php +++ b/src/class-wp-sentry-version.php @@ -5,5 +5,5 @@ */ final class WP_Sentry_Version { public const SDK_IDENTIFIER = 'sentry.php.wp-sentry-integration'; - public const SDK_VERSION = '3.11.1'; + public const SDK_VERSION = '4.0.0'; } diff --git a/wp-sentry.php b/wp-sentry.php index 1a350f4..d985c83 100644 --- a/wp-sentry.php +++ b/wp-sentry.php @@ -4,7 +4,7 @@ * Plugin Name: WordPress Sentry * Plugin URI: https://github.com/stayallive/wp-sentry * Description: A (unofficial) WordPress plugin to report PHP and JavaScript errors to Sentry. - * Version: 3.11.1 + * Version: 4.0.0 * Author: Alex Bouma * Author URI: https://alex.bouma.dev * License: MIT