Date | 2022-02-25 (994 days ago) |
---|---|
Downloads | 5,143 downloads |
NuGet | View on NuGet |
GitHub | View on GitHub |
Target Frameworks | .NET 5 |
Umbraco Versions | Umbraco 9 |
New alpha release for Umbraco 9. This release will not work on older versions of Umbraco.
#installation
">Installation.NET CLI:
dotnet add package Skybrud.Umbraco.Redirects --version 3.0.0-alpha008
Package Manager:
Install-Package Skybrud.Umbraco.Redirects -Version 3.0.0-alpha008
#changelog
">ChangelogFixed issue with showing redirects in infinite editing (#123
and df8263a
)
Basing the type on $routeParams.section is wrong when showing either the content app or the property editor in infinite editing - eg. one might view a media via infinite editing while still in the content section.
Re-implemented outbound redirect property editor (see c7403d9
)
The property editor works similar to how it did it the Umbraco 9 package.
Added better support for query string and fragments (see b1dbd69
)
The UI now supports specifying both a custom query string and a custom fragment for a redirect.
Added fix for encoded URLs when path contains special characters (see #124
and cc7b46c
)
As the package tried to look up the encoded path, redirects with special characters didn't really work.
Added support for notifications (see #125
and e0eed04
)
The redirects middleware will now trigger pre and post lookup notifications to let developers hook into the redirect process.
Updated Skybrud.Essentials dependency (see 047cd5d
)
Moved less important information from dashboard to overlay content app (see #127
2b3f442
)
This moves some columns to the overload so the remaining columns in the dashboard has more space.
Improved the logic for finding the destination of a redirect (see b1dbd69
, 2431719
)
The GetDestinationUrl
described by the IRedirectsService
is responsible for determining the where a given redirect should link to, based on all the settings of the redirect - eg. looking up the current URL for content and media, merging query strings etc. With this release, the implementation is now a lot closer to where it should be. Thanks to @mlhDevelopment for helping out.
Improved localization (see e748190
and b4b1648
)
Adds translations for a number of hardcoded labels and descriptions.
Minor UI improvements (see 07d6e6f
)
Improved how destination URLs are shown in the dashboard.
Introduced the RedirectsServiceDependencies
and RedirectsBackOfficeHelperDependencies
classes (see 767ca1e
)
As developers using this package might extend either the RedirectsService
or the RedirectsBackOfficeHelper
classes, it would be a breaking change if we later have to introduce new dependencies via the classes constructor. So to hopefully avoid this, this commit introduces the two new classes which will be used as "dependency intermediaries". So for instance if we later need an additional dependency for the RedirectsService
, we can add the dependency in the RedirectsServiceDependencies
class instead without introducing a breaking change.