Releases: skybrud/Skybrud.Umbraco.Redirects
v4.0.11
New release for Umbraco 10 and 11. This release will not work on older versions of Umbraco.
Installation
Via NuGet:
.NET CLI:
dotnet add package Skybrud.Umbraco.Redirects --version 4.0.11
Package Manager:
Install-Package Skybrud.Umbraco.Redirects -Version 4.0.11
Changelog
- Fixed recursive object issue (see fadbf9f)
A bug in the overlay for editing a redirect would in some cases lead to a recursive object issue that would cause Angular to explode. With this release, the overlay should again be more friendly.
v4.0.10
New release for Umbraco 10 and 11. This release will not work on older versions of Umbraco.
Installation
Via NuGet:
.NET CLI:
dotnet add package Skybrud.Umbraco.Redirects --version 4.0.10
Package Manager:
Install-Package Skybrud.Umbraco.Redirects -Version 4.0.10
Changelog
- Misc culture related bug fixes (see d839945)
The newv4.0.9
released introduced support for culture variant destination, but unfortunately the release had some bug and minor issues, which has been addressed inv4.0.10
. The main issue was that the redirects middleware tries to find the current URL if the destination is a content node, but the logic didn't fully honor the selected culture.
v4.0.9
New release for Umbraco 10 and 11. This release will not work on older versions of Umbraco.
Installation
Via NuGet:
.NET CLI:
dotnet add package Skybrud.Umbraco.Redirects --version 4.0.9
Package Manager:
Install-Package Skybrud.Umbraco.Redirects -Version 4.0.9
Changelog
-
Added support for culture variant redirects (see 861fa4a and others)
When selecting a content node as the destination of a redirect, the UI will now show an option for selecting a specific culture if the content node varies by culture. -
Added support for localized error messages from the API (see fd00efc)
Some of the endpoints now return better and localized error messages should an error occur. -
The various
GetDestinationUrl
methods should not be nullable (see a300820)
Ideally the saved destination URL of a redirect should never be null or empty, so if this is the case, it indicates a malformed redirect. If all redirects are created through the UI or the package's default implementation forIRedirectService
, this shouldn't happen, so it should be okay to throw an exception instead of returning "null". -
Added extension methods for helping with redirecting the user when not using the build-in middleware (see 1ed1d1d)
In some cases, it makes sense to bypass theRedirectsMiddleware
that ships with this package (eg. when using Blazor pages). The new extension methods help simplifying the logic for handling redirects in these situations. -
Added support for disabling the dashboard through
appsettings.json
(see a4b2e3c)
As an alternative to controlling the dashboard from code, it can now be disabled fromappsettings.json
as well. -
Fixed issue with
OutboundRedirectReferenceFactory
and legacy values (see 104de02)
In the Umbraco 10+ package (v4), the outbound redirect property will save an empty value if a destination hasn't been selected, whereas the Umbraco 9 package (v3) will save a JSON object with an empty destination property, so if upgrading from Umbraco 9, the legacy values would cause issues since theOutboundRedirectReferenceFactory
for one didn't use the internally models factory, and second didn't do a proper null check. By properly utilizing the models factory and adding a null check, legacy values should no longer cause issues.
v4.0.9-beta002
New beta release for Umbraco 10 and 11. This release will not work on older versions of Umbraco.
Installation
Via NuGet:
.NET CLI:
dotnet add package Skybrud.Umbraco.Redirects --version 4.0.9-beta002
Package Manager:
Install-Package Skybrud.Umbraco.Redirects -Version 4.0.9-beta002
v4.0.9-beta001
New beta release for Umbraco 10 and 11. This release will not work on older versions of Umbraco.
Installation
Via NuGet:
.NET CLI:
dotnet add package Skybrud.Umbraco.Redirects --version 4.0.9-beta001
Package Manager:
Install-Package Skybrud.Umbraco.Redirects -Version 4.0.9-beta001
v4.0.8
New release for Umbraco 10 and 11. This release will not work on older versions of Umbraco.
Installation
Via NuGet:
.NET CLI:
dotnet add package Skybrud.Umbraco.Redirects --version 4.0.8
Package Manager:
Install-Package Skybrud.Umbraco.Redirects -Version 4.0.8
Changelog
-
Redirects middleware needs to ensure that we have an Umbraco context (see #167 and db97808)
This fixes problems with site specific redirects and requests that are not handled by Umbraco (eg. static assets). -
Updated the information that the package is exposing about itself (see ca74c9d)
Among other things, the package's version along with a more friendly name for the package will be shown when viewing installed packages in Umbraco.
v4.0.7
New release for Umbraco 10 and 11. This release will not work on older versions of Umbraco.
Installation
Via NuGet:
.NET CLI:
dotnet add package Skybrud.Umbraco.Redirects --version 4.0.7
Package Manager:
Install-Package Skybrud.Umbraco.Redirects -Version 4.0.7
Changelog
- Added support for nullable reference types (see 51505d2)
Maybe a bit overdue, but the package now supports nullable reference types which help providing code analysis about values that may be null.
v4.0.6
New release for Umbraco 10 and 11. This release will not work on older versions of Umbraco.
Installation
Via NuGet:
.NET CLI:
dotnet add package Skybrud.Umbraco.Redirects --version 4.0.6
Package Manager:
Install-Package Skybrud.Umbraco.Redirects -Version 4.0.6
Changelog
-
Added upper bound for the Umbraco dependencies (see 879b4c4)
As thev4.x
releases specifically target Umbraco 10 and 11, this is now reflected by the dependencies of the NuGet package. -
Fixed content app JavaScript error (see 357bb32)
The content app would fail in certain scenarios - eg. when shown on media without an URL. It might not make sense to show the content app when this is the case, but now at least the underlying JavaScript doesn't fail.
v2.1.5
New release for Umbraco 8. This release will not work in other versions of Umbraco.
Installation
Changelog
- Misc changes to the NuGet package
This release contains a few minor changes to the NuGet package. It contains no new code changes.
v1.0.2
New release for Umbraco 7.
Installation
Changelog
- Misc changes to the NuGet package
This release contains a few minor changes to the NuGet package. It contains no new code changes.