Skip to content

Releases: skybrud/Skybrud.Umbraco.Redirects

Skybrud.Umbraco.Redirects v2.1.3

02 Feb 11:49
Compare
Choose a tag to compare

New stable release for Umbraco 8. This release will not work in Umbraco 7.

Installation

Skybrud.Umbraco.Redirects v2.1.2

02 Feb 10:17
Compare
Choose a tag to compare

New stable release for Umbraco 8. This release will not work in Umbraco 7.

Installation

Changes

  • 🆕 Added support for query string and fragment in destination URLs (see e2076e6 and cf87a62)
    When picking the destination of a redirect, this package utilizes Umbraco's link picker overlay. A while ago Umbraco introduced the option to specify a manual query string and/or anchor value to the link picker overlay, which this package then didn't support. With this release, the specified query string and anchor (fragment) value are now saved as well.

Skybrud.Umbraco.Redirects v2.1.1

02 Feb 09:53
Compare
Choose a tag to compare

New stable release for Umbraco 8. This release will not work in Umbraco 7.

Installation

Changes

  • 🆕 Added support for query string and fragment in destination URLs (see e2076e6)
    When picking the destination of a redirect, this package utilizes Umbraco's link picker overlay. A while ago Umbraco introduced the option to specify a manual query string and/or anchor value to the link picker overlay, which this package then didn't support. With this release, the specified query string and anchor (fragment) value are now saved as well.

Skybrud.Umbraco.Redirects v3.0.0-alpha007

09 Dec 22:46
Compare
Choose a tag to compare

New alpha release for Umbraco 9. This release will not work on older versions of Umbraco.

Installation

Via NuGet:

.NET CLI:

dotnet add package Skybrud.Umbraco.Redirects --version 3.0.0-alpha007

Package Manager:

Install-Package Skybrud.Umbraco.Redirects -Version 3.0.0-alpha007

Changelog

  • Updated redirects middleware to set correct status code (see #117 and 2b16495)
    In previous release for Umbraco 9, the middleware would always set a 302 Found status regardless of the type of the redirect saved in the database. With this commit, the status will either be 301 Moved Permanently or 307 Temporary Redirect depending on the type of the saved redirect.

  • Updated how the package is configured during installation (see #115 and c699a4a)
    If the redirects package was installed before the upgrade installer was finished, two exceptions would occur:

    • Migration to install the database would fail as the database isn't during before the Umbraco installer has been completed.
    • Middleware would also run when trying to access the Umbraco installer, thus failing as the middleware would try to access the database through the redirects service

    With this commit, the migration plan for the redirects package will only be set up when the runtime level is Run.

    The middleware will now not run when the runtime level is Install, but will still run when the runtime level is Upgrade. This might need a bit more testing, but seems to be fine as there is a database at this level.

  • Introducing interfaces for the Redirect and RedirectDestination classes (see 3e311d1)
    The new interfaces are named IRedirect and IRedirectDestination respectively.

  • Fixed incorrect destination warning (see ce6f420)
    The redirects dashboard shows a warning if the destination is content or media, and the destination is either unpublished, trashed or deleted.

    The dashboard would incorrectly show an unpublished warning for redirects have been deleted. With this commit, the correct warning is now being returned by the underlying API, so the dashboard doesn't have to check other properties to determine whether a warning should be shown, and if so, what it should show.

  • Added support for searching redirects by their ID or key (see 5461bf6)
    The dashboard has never been good for looking up redirects by either their IDs or GUID keys. With this commit, both is now possible.

  • Fixed incorrect media anchor link in the redirects dashboard (see c95b916)
    The dashboard still used the variable name from the V8 package, which is different.

Skybrud.Umbraco.Redirects v3.0.0-alpha006

18 Nov 22:28
Compare
Choose a tag to compare

New alpha release for Umbraco 9. This release will not work on older versions of Umbraco.

Installation

Via NuGet:

.NET CLI:

dotnet add package Skybrud.Umbraco.Redirects --version 3.0.0-alpha006

Package Manager:

Install-Package Skybrud.Umbraco.Redirects -Version 3.0.0-alpha006

Changelog

  • Improved the middleware for handling redirects (see c16dc18 and #97)
    The redirects middleware that handles redirecting the user only kicks if the server responds with a 404 error page. The logic for detecting this didn't properly supports content finder and Umbraco's Error404Collection setting. Thanks to a PR from @vsilvar the redirects middleware now works properly alongside both content finders and the Error404Collection setting.

Skybrud.Umbraco.Redirects v2.1.0

27 Oct 21:40
Compare
Choose a tag to compare

New stable release for Umbraco 8. This release will not work in Umbraco 7.

Installation

Changes

  • 🅱 Updated Umbraco dependency (see 18d3091, 6333ead)
    In order to use Umbraco's logic around references and the IDataValueReferenceFactory and IDataValueReference interfaces, the redirects package now requires at least version 8.6.0 of Umbraco.

  • 🆕 Updated Skybrud dependencies (see 7ec9e45)
    The Skybrud.Essentials and Skybrud.WebApi.Json packages have now been updated the the latest version,

  • 🆕 Introduced OutboundRedirectReferenceFactory class for detecting content and media references (see
    18d3091, 92b9bbe, 0b815b3, c35b5f4, 6c11eb3, d65812c, 65900a7 and 6847cfd)
    As the package contains a Outbound redirect property editor, a page may have references to either content and media, this release introduces as OutboundRedirectReferenceFactory for informing Umbraco about those references (relations), ensuring those pages are shown in the Used in Documents table.

Skybrud.Umbraco.Redirects v3.0.0-alpha005

01 Oct 07:56
Compare
Choose a tag to compare

New alpha release for Umbraco 9. This release will not work on older versions of Umbraco.

Installation

Via NuGet:

.NET CLI:

dotnet add package Skybrud.Umbraco.Redirects --version 3.0.0-alpha005

Package Manager:

Install-Package Skybrud.Umbraco.Redirects -Version 3.0.0-alpha005

Changelog

  • Fixed more issues with incorrect JSON output (see 8a5427c)
    Umbraco 9.0.0-rc004 introduced some breaking changes causing backoffice API controllers to serialize JSON using JSON.net instead of the newer System.Text.Json, thereby causing a different JSON format than expected by the Angular controllers. This release now adds a workaround so System.Text.Json is used once again.

  • Added missing delete method to content app (see f3fe60a)
    Clicking the Delete link on a redirect from the content app didn't really work as the underlying JavaScript function it tried to call didn't exist. With this release, the link now works like intended.

Skybrud.Umbraco.Redirects v3.0.0-alpha004

30 Sep 19:45
Compare
Choose a tag to compare

New alpha release for Umbraco 9. This release will not work on older versions of Umbraco.

The package now builds against the stable version of Umbraco 9. There are still a few issues that I want to look into, so no stable release of this package yet.

Installation

Via NuGet:

.NET CLI:

dotnet add package Skybrud.Umbraco.Redirects --version 3.0.0-alpha004

Package Manager:

Install-Package Skybrud.Umbraco.Redirects -Version 3.0.0-alpha004

Changelog

  • Updated Umbraco dependencies til v9.0.0 (see fd7ff37 and e511f72)
    Since Umbraco 9 has now officially been released, this package now builds against a stable version of Umbraco 9 🎉

  • Updated Skybrud.Essentials dependency to v1.1.30 (22541ec)
    While not directly related to the grid package, the newest release of Skybrud.Essentials contains a bug fix and some additions, so might as well bump the version.

Skybrud.Umbraco.Redirects v3.0.0-alpha003

19 Sep 18:18
Compare
Choose a tag to compare

New alpha release for Umbraco 9. This release will not work on older versions of Umbraco.

Installation

Via NuGet:

.NET CLI:

dotnet add package Skybrud.Umbraco.Redirects --version 3.0.0-alpha003

Package Manager:

Install-Package Skybrud.Umbraco.Redirects -Version 3.0.0-alpha003

Changelog

  • Umbraco 9 failing to boot SqlException: Incorrect syntax near the keyword 'IF'. (see 46d9a30 and #106)
    Older versions of SQL Server doesn't appear to support the "IF EXISTS" syntax used when attempting to drop the IsRegex column from the redirects table, resulting in issues when installing this package. With this fix, the migration uses Umbraco's logic to first check whether the column does in fact exist, and the migration will drop the column if it does.

Skybrud.Umbraco.Redirects v3.0.0-alpha002

09 Sep 20:57
Compare
Choose a tag to compare

New alpha release for Umbraco 9. This release will not work on older versions of Umbraco.

Installation

Via NuGet:

.NET CLI:

dotnet add package Skybrud.Umbraco.Redirects --version 3.0.0-alpha002

Package Manager:

Install-Package Skybrud.Umbraco.Redirects -Version 3.0.0-alpha002

Changelog

  • Fixed issues with trailing slashes (see d4f3355, b1770ac and #103)
    The Umbraco 8 version of this package would strip trailing slashes from inbound URLs, and then do lookups in the database. This was overlooked when migrating the package to Umbraco 9. Thanks to a PR from @PhyxionNL this is now working in Umbraco 9 as well.

  • Updated branding to reflect the Limbo name, but keeping the package name (see 11d7c1b)
    We've been called Limbo for over 1½ year now, so might be time to update the package information.

  • Updated Umbraco dependencies to RC003 (see 4d80b3e)
    Seems Umbraco changed the signature of a method related to migrations, so the Umbraco dependencies have now been updated to the latest release candidate, which seems to fix the issue - without changing any other code.

  • As IUserComposer is now obsolete, RedirectsComposer has been updated to implement IComposer instead (see 17da4df)
    Doesn't really change much, but might as well avoid using obsolete interfaces.

  • Changed dashboard alias to just redirects (see c569e4e)
    The dashboard alias has been the full name of this package for a while, but as it's now possible to deeplink to dashboards, and the alias thereby is visible, the alias has now been updated to be redirects instead of the longer Skybrud.Umbraco.Redirects.

  • Removed references of IsRegex column (see 118e3e7)
    The IsRegex property is still kept in the RedirectSchema class, at it's used for creating the database table - but all other references has now been removed as the functionality was never really used, and shouldn't be supported by this package.