Releases: 10up/safe-redirect-manager
2.2.1
Note that this version bumps the WordPress minimum from 6.4 to 6.5.
Changed
- Bump WordPress "tested up to" version 6.7 (props @sudip-md, @jeffpaul, @mehidi258 via #403).
- Bump WordPress minimum supported version to 6.5 (props @sudip-md, @jeffpaul, @mehidi258 via #403).
Fixed
- Prevent undefined property warnings when searching redirects (props @chermant, @Sidsector9, @peterwilsoncc via #400).
- Ensure the add new button shows proper text (props @dkotter, @jeffpaul via #404).
Developer
New Contributors
- @mehidi258 made their first contribution in #403
Full Changelog: 2.2.0...2.2.1
View all items closed in the milestone.
2.2.0
Note that this version bumps the WordPress minimum from 6.3 to 6.4.
Added
- Option to Quick Edit and Bulk Edit redirect's https status and force https meta (props @dhanendran, @ravinderk, @faisal-alvi, @dkotter, @qasumitbagthariya, @mehul0810, @espellcaste via #350).
- Screenshots for WP.org plugin page (props @faisal-alvi, @jeffpaul, @iamdharmesh via #394).
Changed
- Bump WordPress "tested up to" version 6.6 (props @ankitguptaindia, @sudip-md via #386).
- Bump WordPress minimum supported version from 6.3 to 6.4 (props @ankitguptaindia, @sudip-md via #386).
- Update documentation (props @szepeviktor, @jeffpaul, @iamdharmesh, @dkotter via #384, #388, #391).
Fixed
- Allows use of full URLs as redirect targets when using absolute URLs (props @benlk, @peterwilsoncc via #395).
Security
- Bump
braces
from 3.0.2 to 3.0.3 (props @dependabot, @faisal-alvi via #383). - Bump
jsdoc
from 3.6.11 to 4.0.3 (props @dependabot, @faisal-alvi via #383).
New Contributors
- @ankitguptaindia made their first contribution in #386
- @benlk made their first contribution in #395
- @faisal-alvi made their first contribution in #394
Full Changelog: 2.1.2...2.2.0
View closed items in the milestone
2.1.2
Added
- Provide example for modifying the default redirect status code (props @peterwilsoncc, @jeffpaul, @JosVelasco, @dkotter via #365).
- "Testing" section in the "CONTRIBUTING.md" file (props @kmgalanakis, @jeffpaul via #379).
Changed
- Improved reference to the postmeta table for better WordPress compatibility (props @ogorzalka, @Sidsector9 via #361).
- Clean up NPM dependencies and update node to v20 (props @Sidsector9, @dkotter via #363).
- Warning message to error message after loops are detected (props @aaemnnosttv, @Sidsector9, @BhargavBhandari90 via #368).
- Disabled auto sync pull requests with target branch (props @iamdharmesh, @jeffpaul via #371).
- Replaced lee-dohm/no-response with actions/stale to help with closing no-response/stale issues (props @jeffpaul, @dkotter via #373).
- Upgrade the
download-artifact
from v3 to v4 (props @iamdharmesh, @jeffpaul via #372). - Bump WordPress "tested up to" version 6.5 (props @sudip-md, @jeffpaul, @dkotter via #376).
- Bump WordPress minimum from 5.7 to 6.3 (props @sudip-md, @jeffpaul, @dkotter via #376).
- URL validation check on "input" event for "Redirect From" field (props @peterwilsoncc, @BhargavBhandari90, @Sidsector9 via #369).
Fixed
- PHP warning when running the "wp safe-redirect-manager list" CLI command (props @planetahuevo, @kmgalanakis, @dkotter via #378).
New Contributors
- @ogorzalka made their first contribution in #361
- @aaemnnosttv made their first contribution in #368
- @BhargavBhandari90 made their first contribution in #368
- @sudip-md made their first contribution in #376
- @planetahuevo made their first contribution in #378
Full Changelog: 2.1.1...2.1.2
View closed items in the milestone
2.1.1
Added
- Support for the WordPress.org plugin preview (props @dkotter, @jeffpaul via #357).
phpcs:ignore
on the now safeini_set()
(props @philipjohn, @ravinderk via #355).
Changed
- Bump
Cypress
from 13.0.0 to 13.1.0,@10up/cypress-wp-utils
from 0.1.0 to 0.2.0,@wordpress/env
from 5.3.0 to 8.7.0,cypress-mochawesome-reporter
from 3.4.0 to 3.5.1 andnode-wp-i18n
from 1.2.5 to 1.2.7 (props @iamdharmesh, @ravinderk via #349). - Bump WordPress "tested up to" version 6.4 (props @qasumitbagthariya, @jeffpaul via #353, #354).
- Validate and sanitize a superglobal before using it (props @jspellman814, @ravinderk via #356).
Fixed
- Ensure text can be translated (props @alexclassroom, @iamdharmesh via #351).
New Contributors
- @alexclassroom made their first contribution in #351
- @qasumitbagthariya made their first contribution in #353
- @philipjohn made their first contribution in #355
- @jspellman814 made their first contribution in #356
Full Changelog: 2.1.0...2.1.1
View closed items in the milestone.
2.1.0
Added
- WP-CLI command
export
to export redirects into a CSV file. (props @zamanq, @jeffpaul, @Sidsector9 via #299). - Admin settings to set custom redirect protocol per route (props @tlovett1, @danielbachhuber, @benoitchantre, @jayedul, @Sidsector9 via #301).
- Autocomplete to the "Redirect To" field (props @tlovett1, @bmarshall511, @ravinderk via #325).
- Allow existing import records to be updated instead of skipped (props @retlehs, @bmarshall511, @dkotter via #329).
- Check for minimum required PHP version before loading the plugin (props @kmgalanakis, @iamdharmesh, @Sidsector9, @vikrampm1, @dkotter via #340).
- Repo Automator GitHub Action (props @iamdharmesh, @jeffpaul via #348).
Changed
- Bump Support Level from
Active
toStable
(props @jeffpaul, @Sidsector9, @peterwilsoncc via #303). - Bump WordPress "tested up to" version 6.3 (props @github-actions, @kmgalanakis, @iamdharmesh via #339).
- Reduced the number of queries in half by removing
post_status
property from redirects data (props @tlovett1, @pdclark, @mehul0810, @Sidsector9, @dkotter, @nateconley, @sksaju, @ravinderk via #326). - Rule editor always shows raw redirect target (props @tbenyon, @jeffpaul, @trainoasis, @jayedul, @dkotter via #330, #333).
- Include links to redirects that cause redirect loops/chains in the warning (props @joshbetz, @tlovett1, @Sidsector9, @ravinderk via #341).
- Set the default value for the
srm_check_for_possible_redirect_loops
filter totrue
(props @joshbetz, @tlovett1, @Sidsector9, @ravinderk via #341). - Added a back link to the admin notices when a post is saved or updated (props @szepeviktor, @tlovett1, @bmarshall511, @iamdharmesh via #328).
- Missing Docblocks for filter hooks (props @peterwilsoncc, @jayedul, @dkotter, @faisal-alvi, @iamdharmesh via #313).
Fixed
auto_detect_line_endings
deprecation warning in PHP 8.1 and above (props @dhewer, @jayedul, @Sidsector9, @ravinderk via #327).- Only show public post types in the autocomplete "Redirect To" field (props @ravinderk, @bmarshall511, @dkotter via #332).
- Slow performance during redirect chain/loop detection (props @tlovett1, @danielbachhuber, @Sidsector9, @ravinderk, @iamdharmesh via #336).
Security Fixed
- Bump
semver
from 7.3.8 to 7.5.4 (props @dependabot, @dkotter, @Sidsector9 via #334, #342). - Bump
tough-cookie
from 2.5.0 to 4.1.3 (props @dependabot, @faisal-alvi via #337). - Bump
@cypress/request
from 2.88.10 to 3.0.0 (props @dependabot, @faisal-alvi, @ravinderk via #337, #343). - Bump
cypress
from 11.2.0 to 13.0.0 (props @dependabot, @ravinderk via #343).
New Contributors
- @dhewer made their first contribution in #283
- @ldanielgiuliani made their first contribution in #287
- @zamanq made their first contribution in #299
Full Changelog: 2.0.1...2.1.0
View closed items in the milestone.
2.0.1
Fixed
- Ensure our E2E tests run (props @Sidsector9, @iamdharmesh via #318).
- Ensure the
message
array key exists before we use it (props @dkotter, @ocean90, @vena, @peterwilsoncc via #319). - Resolve deprecation notices in PHP 8.1 and later (props @peterwilsoncc, @dkotter via #322).
New Contributors
Full Changelog: 2.0.0...2.0.1
View closed items in the milestone.
2.0.0
Note that this version bumps the PHP minimum from 5.6 to 7.4 and the WordPress minimum from 4.6 to 5.7.
Added
- Handling of 403, 404, and 410 status codes (props @nateconley, @cadic, @dkotter, @Sidsector9, @helen, @dinhtungdu, @dustinrue, @ciprianimike, @jeffpaul, @aosmichenko, @okadots via #300).
- Support for adding notes when importing redirects (props @barryceelen, @cadic, @jayedul via #277).
- "Build release zip" GitHub Action (props @iamdharmesh, @cadic, @faisal-alvi via #293).
- GitHub Action summary added Cypress test report (props @jayedul, @peterwilsoncc, @iamdharmesh via #314).
- Dependency review Github action (props @jeffpaul, @Sidsector9 via #317).
Changed
- Bumped PHP minimum supported version from 5.6 to 7.4 (props @csloisel, @dkotter, @vikrampm1 via #289).
- Bumped WordPress minimum supported version from 4.6 to 5.7 (props @csloisel, @dkotter, @vikrampm1 via #289).
- Bumped PHPCS compat script to use 7.4 as test version (props @csloisel, @dkotter, @vikrampm1 via #289).
- Bumped WordPress "test up to" version 6.2 (props @csloisel, @jayedul via #290, #310).
- Cypress integration migrated from 9.5.2 to 11.2.0 (props @jayedul, @cadic, @Sidsector9, @iamdharmesh via #295).
- Run E2E tests on the ZIP generated by "Build release zip" GitHub Action (props @jayedul, @cadic, @iamdharmesh, @dkotter via #306, #311).
- Status code dropdown is now sorted numerically (props @norcross, @Sidsector9 via #307).
Removed
- PHP versions < 7.4 from phpunit tests (props @csloisel, @dkotter, @vikrampm1 via #289).
Fixed
- Check non-active multisite directory against the main site redirects (props @phpbits, @dinhtungdu, @ciprianimike, @gsarig, @Sidsector9, @davidegreenwald, @turtlepod via #248).
- Regex redirects without leading
/
are buggy (props @dhanendran, @peterwilsoncc via #279). - Issue with
srm_additional_status_codes
filter hook (props @Sidsector9, @faisal-alvi via #312).
Security
- Bump
got
from 10.7.0 to 11.8.5 (props @dependabot, @peterwilsoncc via #286). - Bump
@wordpress/env
from 4.9.0 to 5.3.0 (props @dependabot, @peterwilsoncc via #286). - Bump
simple-git
from 3.9.0 to 3.16.0 (props @dependabot, @Sidsector9, @peterwilsoncc via #294, #302). - Bump
http-cache-semantics
from 4.1.0 to 4.1.1 (props @dependabot, @peterwilsoncc via #305).
New Contributors
- @nateconley made their first contribution in #300
- @cadic made their first contribution in #293
- @dustinrue made their first contribution in #300
- @ciprianimike made their first contribution in #248
- @aosmichenko made their first contribution in #300
- @okadots made their first contribution in #300
- @jayedul made their first contribution in #277
- @faisal-alvi made their first contribution in #293
- @csloisel made their first contribution in #289
- @vikrampm1 made their first contribution in #289
- @norcross made their first contribution in #307
- @gsarig made their first contribution in #248
- @turtlepod made their first contribution in #248
1.11.1
Added
- Indicate plugin as the source of redirects (props @peterwilsoncc, @Sidsector9 via #281).
Full Changelog: 1.11.0...1.11.1
View closed items in the milestone.
1.11.0
Added
- Detect duplicate rules for the same 'redirect from' value (props @adamsilverstein, @dhanendran, @hrkhal, @jeffpaul, @lukaspawlik, @sanketio, @Sidsector9 via #171).
- PHP 8 compatibility (props @iamdharmesh, @dkotter via #264).
- E2E Tests with Cypress (props @iamdharmesh, @Sidsector9, @dkotter via #262, #273).
- Dependency security scanning (props @jeffpaul, @peterwilsoncc via #268).
Changed
- Default number of redirects in readme files (props @grappler via #259).
- Bump WordPress "tested up to" version 6.0 (props @jeffpaul, @sudip-10up, @peterwilsoncc via #260, #270).
Fixed
- Unit tests by adding
PHPUnit-Polyfills
library (props @iamdharmesh, @Sidsector9 via #257).
Security
- Bump
minimist
from 1.2.5 to 1.2.6 (props @dependabot via #265).
Full Changelog: 1.10.1...1.11.0
View all items closed in the milestone.
1.10.1
Added
- Formatting options to
wp safe-redirect-manager list
command (props @dinhtungdu, @TheLastCicada via #238).
Changed
- Increased redirect limits from 250 to 1,000 (props @sultann, @dinhtungdu, @jilltilt, @yeevy via #242).
- Bump WordPress version "tested up to" 5.8 (props @jeffpaul, @ankitguptaindia, @phpbits via #233, #235, #252).
Fixed
- Required parameter following optional deprecated message in PHP 8 (props @vinkla, @dinhtungdu via #231).
- Edge case when redirecting a URL with parameters where
$parsed_requested_path['path']
does not always exist (props @dinhtungdu, @davidmondok via #246, #247). - Formatting fix to prevent npm install error (props @phpbits via #249).
Security
- Bump
minimist
from 0.0.8 to 1.2.5 (props @dependabot via #250). - Bump
lodash
from 4.17.19 to 4.17.21 (props @dependabot via #251).
New Contributors
- @psorensen made their first contribution in #155
- @adamsilverstein made their first contribution in #166
- @rebeccahum made their first contribution in #178
- @raymondware made their first contribution in #163
- @dependabot made their first contribution in #183
- @noplanman made their first contribution in #200
- @nicholasio made their first contribution in #198
- @dinhtungdu made their first contribution in #207
- @amyevans made their first contribution in #217
- @barryceelen made their first contribution in #219
- @braders made their first contribution in #196
- @jamesmorrison made their first contribution in #218
- @vinkla made their first contribution in #231
- @davidmondok made their first contribution in #247
- @sultann made their first contribution in #242
- @phpbits made their first contribution in #249