From 7edd51b06a1bfaa0c25c5b3b7710ad62fc5821de Mon Sep 17 00:00:00 2001 From: Darin Kotter Date: Fri, 23 Sep 2022 10:30:38 -0600 Subject: [PATCH 1/2] Version bump to 1.11.1 --- CONTRIBUTING.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- readme.txt | 2 +- safe-redirect-manager.php | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d6ce177e..85f576d8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -29,7 +29,7 @@ The `develop` branch is the development branch which means it contains the next ## Release instructions 1. Branch: Starting from `develop`, cut a release branch named `release/X.Y.Z` for your changes. -1. Version bump: Bump the version number in `safe-redirect-manager.php`, `package-lock.json`, `package.json`, and `readme.txt` if it does not already reflect the version being released. +1. Version bump: Bump the version number in `safe-redirect-manager.php`, `package-lock.json`, `package.json`, and `readme.txt` if it does not already reflect the version being released. In `safe-redirect-manager.php` update both the plugin "Version:" property and the plugin `SRM_VERSION` constant. 1. Changelog: Add/update the changelog in both `readme.txt` and `CHANGELOG.md`. 1. Props: Update `CREDITS.md` file with any new contributors, confirm maintainers are accurate. 1. Readme updates: Make any other readme changes as necessary. `README.md` is geared toward GitHub and `readme.txt` contains WordPress.org-specific content. The two are slightly different. diff --git a/package-lock.json b/package-lock.json index a73f7b89..7e475732 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "safe-redirect-manager", - "version": "1.11.0", + "version": "1.11.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "safe-redirect-manager", - "version": "1.11.0", + "version": "1.11.1", "license": "GPL-2.0-or-later", "dependencies": { "node-wp-i18n": "^1.2.5" diff --git a/package.json b/package.json index 13c4e918..4bd8cf86 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "safe-redirect-manager", - "version": "1.11.0", + "version": "1.11.1", "description": "Easily and safely manage HTTP redirects.", "homepage": "https://github.com/10up/safe-redirect-manager", "bugs": { diff --git a/readme.txt b/readme.txt index 3cb358f0..8bdd9ae2 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: http redirects, redirect manager, url redirection, safe http Requires at least: 4.6 Tested up to: 6.0 Requires PHP: 5.6 -Stable tag: 1.11.0 +Stable tag: 1.11.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html diff --git a/safe-redirect-manager.php b/safe-redirect-manager.php index b644383c..a6674a7f 100644 --- a/safe-redirect-manager.php +++ b/safe-redirect-manager.php @@ -3,7 +3,7 @@ * Plugin Name: Safe Redirect Manager * Plugin URI: https://wordpress.org/plugins/safe-redirect-manager * Description: Easily and safely manage HTTP redirects. - * Version: 1.11.0 + * Version: 1.11.1 * Requires at least: 4.6 * Requires PHP: 5.6 * Author: 10up @@ -20,7 +20,7 @@ require_once dirname( __FILE__ ) . '/inc/classes/class-srm-post-type.php'; require_once dirname( __FILE__ ) . '/inc/classes/class-srm-redirect.php'; -define( 'SRM_VERSION', '1.11.0' ); +define( 'SRM_VERSION', '1.11.1' ); if ( defined( 'WP_CLI' ) && WP_CLI ) { require_once dirname( __FILE__ ) . '/inc/classes/class-srm-wp-cli.php'; From 485fd8ff38925a1820e69a92703775aeb70e5be3 Mon Sep 17 00:00:00 2001 From: Darin Kotter Date: Fri, 23 Sep 2022 10:35:26 -0600 Subject: [PATCH 2/2] Update changelogs with new PRs --- CHANGELOG.md | 5 +++++ readme.txt | 3 +++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4752f9cd..8e5b58b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file, per [the Ke ## [Unreleased] - TBD +## [1.11.1] - 2022-09-26 +### Added +- Indicate plugin as the source of redirects (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@Sidsector9](https://github.com/Sidsector9) via [#281](https://github.com/10up/safe-redirect-manager/pull/281)). + ## [1.11.0] - 2022-06-27 ### Added - Detect duplicate rules for the same 'redirect from' value (props [@adamsilverstein](https://github.com/adamsilverstein), [@dhanendran](https://github.com/dhanendran), [@hrkhal](https://github.com/hrkhal), [@jeffpaul](https://github.com/jeffpaul), [@lukaspawlik](https://github.com/lukaspawlik), [@sanketio](https://github.com/sanketio), [@Sidsector9](https://github.com/Sidsector9) via [#171](https://github.com/10up/safe-redirect-manager/pull/171)). @@ -235,6 +239,7 @@ All notable changes to this project will be documented in this file, per [the Ke - Plugin released [Unreleased]: https://github.com/10up/safe-redirect-manager/compare/trunk...develop +[1.11.1]: https://github.com/10up/safe-redirect-manager/compare/1.11.0...1.11.1 [1.11.0]: https://github.com/10up/safe-redirect-manager/compare/1.10.1...1.11.0 [1.10.1]: https://github.com/10up/safe-redirect-manager/compare/1.10.0...1.10.1 [1.10.0]: https://github.com/10up/safe-redirect-manager/compare/1.9.3...1.10.0 diff --git a/readme.txt b/readme.txt index 8bdd9ae2..c62bd28d 100644 --- a/readme.txt +++ b/readme.txt @@ -48,6 +48,9 @@ This should be a path (i.e. `/test`) or a URL (i.e. `http://example.com/wp/test` == Changelog == += 1.11.1 - 2022-09-26 = +* **Added:** Indicate plugin as the source of redirects (props [@peterwilsoncc](https://github.com/peterwilsoncc), [@Sidsector9](https://github.com/Sidsector9) via [#281](https://github.com/10up/safe-redirect-manager/pull/281)). + = 1.11.0 - 2022-06-27 = * **Added:** Detect duplicate rules for the same 'redirect from' value (props [@adamsilverstein](https://github.com/adamsilverstein), [@dhanendran](https://github.com/dhanendran), [@hrkhal](https://github.com/hrkhal), [@jeffpaul](https://github.com/jeffpaul), [@lukaspawlik](https://github.com/lukaspawlik), [@sanketio](https://github.com/sanketio), [@Sidsector9](https://github.com/Sidsector9) via [#171](https://github.com/10up/safe-redirect-manager/pull/171)). * **Added:** PHP 8 compatibility (props [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter) via [#264](https://github.com/10up/safe-redirect-manager/pull/264)).