Release date: April 5, 2024

UPDATE: This version has introduced a critical bug that can cause pages to be published to the wrong URL. It has been marked deprecated on NuGet. Update to v1.5.1 if you are still using this version.

Version 1.5.0 is a minor change & bugfix release. With this release, Redakt now targets .NET 8 alongside .NET 6. With the imminent end of support for .NET 7 by Microsoft, Redakt will no longer target .NET 7 from now on.

As a general rule, with future Redakt releases, we will strive to target the latest 2 long term release (LTS) versions of the .NET framework, at least for as long as they are actively supported by Microsoft. Currently that is .NET 6 and .NET 8. We will no longer target standard term release (STS) versions unless there is a very specific reason to do so.

This release is available on NuGet as of today. Skeleton projects have been updated to use the latest version.

Changes

The following changes have been made in this release:

Node collection reordering

Node collections (sites and asset libraries) can now be reordered in the site and asset library overviews and will display in the correct order wherever they are rendered in list or dropdown form.

Hostname setting for back-office

The hostname for the back-office can now be set through configuration. If this is set to a non-empty value, the back-office will only be served on that hostname. This is useful for scenarios where the back-office and public website are hosted on a different (sub)domain and prevents conflicts when the back-office is hosted on the root (/) path.

Optimized cache settings
Several cache settings and durations have been changed for objects that can have a longer cache expiration, such as node collections, view descriptors and redirect objects.

Optimized data retrieval
SupportsLinqContains flag has been added to the IRepository interface, to signal that the repository implementation supports the LINQ Contains operator. This allows for optimized data retrieval in several places where the Contains operator can be used.

Back office styling improvements
Improved styling for several grids in the back-office to make them easier to read. Changed default sizes for several dialogs to better align with the dialog content and prevent scrolling inside the dialog.

Bugfixes

The following bugs have been fixed in this release:

  • Fixed an issue where the the back-office would not load after a hard page refresh.
  • Fixed an issue that could cause the back-office application to not start up when hosting on Linux-based app services.
  • Fixed an issue that could cause the back-office application to not load correctly when targeting .NET 8 on a sub-path of the website hostname.
  • Fixed an issue where the DictionaryTagHelper would sometimes not render the correct fallback content.
  • Fixed an issue where caching published content objects would not always be done.
  • Minor spelling errors in the back-office have been corrected.