Releases: callumbwhyte/umbraco-routing-extensions
v1.2.0
v1.2.0 brings even more power for your custom routing! 🚀
The new MapSurfaceRoute
extension allows custom routes to be mapped to surface controllers, similar to Umbraco's MapUmbracoRoute
that requires a RenderMvcController
instead. This is particularly helpful for keeping your page rendering, child actions, or API methods all in one place. A massive H5YR to Ronald Barendse for his Our Umbraco answer that inspired this feature!
A much asked-after XPath route handler has also been introduced! The UmbracoVirtualNodeByXPathRouteHandler
allows for mapping content to custom routes by XPath
.
For consistency the RootNodeByDomainRouteHandler
has been renamed to UmbracoVirtualRootNodeByDomainRouteHandler
, and the original has now been marked as obsolete.
v1.1.1
Oops... In the last release the constructor for RootNodeByDomainRouteHandler
was changed which broke some existing implementations. This release makes sure that change is backwards compatible and no longer breaks!
v1.1.0
A selection of enhancements by the awesome community: the X-Forwarded
headers are now checked when trying to determine the domain from a request, and the first root node in Umbraco is returned when no matches are found for a domain!
v1.0.0
Initial release of Routing Extensions for Umbraco 8.1 with DomainHelper
for creating UmbracoContext
by domain.