Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.0.5] - 2025-11-06
Fixed
- Don't switch to the context of the site_unavailable_page when the user has the view_offline permission. [#3]
[1.0.4] - 2025-10-30
Fixed
- Fix not routing to the right context, when the url is the base url of a target context and does not contain a trailing
/[#2] - Regard the system/context setting
site_statusandsite_unavailable_pagewhen switching to the target context [#2]
[1.0.3] - 2025-03-24
Added
- Use cultureKey cookie on switchContext() - thanks to Jens Wittmann https://github.com/jenswittmann
- Show a log entry during clearing the SmartRouting cache
[1.0.2] - 2025-03-16
Fixed
- Fix some PHP warnings when a context does not contain a base_url context setting
[1.0.1] - 2024-01-09
Fixed
- Don't run the OnHandleRequest event if MODX runs in connector mode
[1.0.0] - 2023-10-15
Added
-
Complete refactored code of XRouting:
- Use a service class to collect global settings and methods in one place to avoid duplicated code
- Separate the plugin events code into event based classes
- Fix some PHP warnings - i.e. PHP warning: Undefined array key "xrouting-debug"