Releases: vdlp/oc-redirect-plugin
Releases · vdlp/oc-redirect-plugin
v1.10.0
- Improve statistics performance
Full Changelog: 1.9.0...1.10.0
v1.9.0
v1.8.1
v1.8.0
- Add new CLI command
vdlp:redirect:publish-redirects
- Add new schedule which runs the new command daily
- Add missing property 'requiredPermissions' to controllers
Full Changelog: 1.7.0...1.8.0
v1.7.0
v1.6.0
- Add new Match Type: Regular Expression! Now advanced matching can be done by using regular expressions. Please note that all input will be provided to the native PHP method
preg_match
. For more documentation aboutpreg_match
visit php.net. - Add description to a redirect. This allows users to describe the purpose of a redirect, or for any other reason that might be appropriate ;-).
- Fix issue when adding Conditions with the same priority to the
RedirectManager
.
Full Changelog: 1.5.0...1.6.0
v1.5.0
- Add statistics side-bar to redirect update view
- Improve extensibility by adding new events
- Add support for RedirectConditions (new plugins using this feature will come out soon).
- Code improvements
Fixes:
- Fix issue when sql_mode=ONLY_FULL_GROUP_BY (several graph images were broken)
- Fix issue with parsing the request path #21
Added events:
Event | Payload | Description |
---|---|---|
vdlp.redirect.match |
none | When a request matched, right before the redirect response. |
vdlp.redirect.changed |
none | When one or more redirects are changed. |
vdlp.redirect.beforeRedirectSave |
Redirect |
Before a redirect is saved (using the backend form). |
vdlp.redirect.afterRedirectSave |
Redirect |
After a redirect is saved (using the backend form). |
vdlp.redirect.beforeRedirectUpdate |
Redirect |
Before a redirect is updated (using the backend form). |
vdlp.redirect.afterRedirectUpdate |
Redirect |
After a redirect is updated (using the backend form). |
vdlp.redirect.afterRedirectDelete |
Redirect |
After a redirect is deleted (using the backend form). |
Listen to events:
Event | Payload | Description |
---|---|---|
vdlp.redirect.toUrlChanged |
string $oldUrl, string $newUrl |
Can be fired from a third-party plugin. |
Full Changelog: 1.4.5...1.5.0
v1.4.5
v1.4.4
- Escape output to prevent XSS injections
- Prevent redirect loop
- Fix type error when pageUrl helper does not return a string
- Rename Tester redirect header name to
X-Vdlp-Redirect
Full Changelog: 1.4.3...1.4.4