1.0.0-beta.52
Pre-release
Pre-release
daveaglick
released this
01 Dec 01:13
·
96 commits
to main
since this release
- Made it easier to override certain interfaces used by the engine by registering alternate implementations in the service collection passed to the engine. Alternate implementations of the following can now be provided:
IApplicationState
,IMemoryStreamFactory
,ILinkGenerator
,INamespacesCollection
,IScriptHelper
,IDocumentFactory
, andIFileCleaner
. In addition, the default implementations of these interfaces have been refactored to make deriving from them easier (I.e. marked interface members asvirtual
). - Refactored the default
LinkGenerator
to use strings instead ofNormalizedPath
which could result in poor results in some edge cases like trailing slashes (#218). - Added toggle for keeping trailing slash when hiding a page in
LinkGenerator
and related extensions, also exposed via a newKeys.LinkHiddenPageTrailingSlash
setting (#218). - Updated Spectre.Console reference in Statiq.App to 0.43.0.