Skip to content

Commit

Permalink
Version bump and release note updates
Browse files Browse the repository at this point in the history
  • Loading branch information
stayallive committed Jan 31, 2021
1 parent 9d1f7f8 commit 6fcb683
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
22 changes: 18 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/class-wp-sentry-version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
2 changes: 1 addition & 1 deletion wp-sentry.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6fcb683

Please sign in to comment.