Releases: statiqdev/Statiq.Framework
Releases · statiqdev/Statiq.Framework
1.0.0-beta.72
- Added a
DocumentSourceComparer
class that implementsIEqualityComparer<IDocument>
and can be used to compare documents by source path. - Added a
IEnumerable<IDocument>.ContainsBySource()
extension method to check if a collection of documents contains a document with a given source path. - Added an improved warning message and early exit out of recursive settings expansion.
- Added a
MediaTypes.IsMediaType()
method to help determine if a given path matches specified media type(s).
1.0.0-beta.71
- Modified the behavior of computed metadata values to cache the value for a given document when using the
=>
prefix. The previous behavior that evaluates a computed value every time it's accessed can still be used by prefixing with->
instead. In theory this change shouldn't result in any differences in behavior since documents are immutable in the first place (so caching wouldn't be any different from re-evaluating), but if you have computed metadata values that consider state outside the document (such as something likeDateTime.Now
), you'll need to switch those to use the->
prefix instead. - Updated JavaScriptEngineSwitcher.Core and JavaScriptEngineSwitcher.Jint.
- Updated
highlight.js
used inStatiq.Highlight
(#269).
1.0.0-beta.70
- Updated Markdig to 0.31.0 to fix an upstream bug when using alt text on images (#267).
- Updated Spectre.Console (#247, thanks @devlead).
- Updated JavaScriptEngineSwitcher (#246, thanks @devlead).
- Updated Microsoft.Data.SqlClient (#248, thanks @devlead).
- Updated System.Linq.Async (#249, thanks @devlead).
- Updated YamlDotNet (#263, thanks @NikoMix).
- Updated NetEscapades.Configuration.Yaml in reaction to update to YamlDotNet.
- Ensures that the
GenerateFeeds
module always sets a feed title, even if one isn't provided. - Added a warning to
GenerateFeeds
if a feed link isn't set, either through theHost
setting or otherwise.
1.0.0-beta.69
- Added a configurator for the
IEngineManager
and a corresponding bootstrapperConfigureEngineManager()
extension method to allow customizing the engine manager used in most commands just prior to it executing the engine (useful for last-minute pipeline customization and some other niche use cases).
1.0.0-beta.68
- Improved the
HttpClient.SendWithRetryAsync()
extension to log retries at the information level since they may indicate other problems, and to retry during internalHttpClient
timeouts. - Improved exception logging to the console by making sure internal cancellations and timeout exceptions are logged (previously they were silent, which could create the impression nothing went wrong).
1.0.0-beta.67
- Fixed a bug that still resulted in file cleaning even when
CleanMode.None
is set (I.e.--noclean
). RenderMarkdown
no longer escapes@
characters insidemailto
links (#254).- Added a
EscapeAtInMarkdown
setting that can control@
escaping in Markdown files by theRenderMarkdown
module on a file-by-file basis (#254).
1.0.0-beta.66
- Fixed a bug in
ExtractFrontMatter
to ensure front matter is extracted when the delimiter is on the last line of the file.
1.0.0-beta.65
- Added a new pipeline
PostProcessHasDependencies
property that indicates the post-process phase of a pipeline should depend on the post-process phase(s) of the pipeline dependencies. This is helpful in certain situations where you need a pipeline to run after other post-process phases from dependencies. - Added a
GenerateRedirects.AlwaysCreateAdditionalOutput()
method to allow creating additional redirect files even if no redirects are specified (I.e. if redirects are also being generated from another source). - Added additional overloads to
GenerateRedirects.WithAdditionalOutput()
that can accept the execution context in the delegate and/or return aTask
.
1.0.0-beta.64
- Fixed
ElseIf
whenPredicate.RequiresDocument
is false inExecuteIf
module (#255, #256, thanks @nils-a). - Adds the ability to configure a specific date/time as "current". All code and themes should now use
IExecutionState.GetCurrentDateTime()
instead ofDateTime.Now
, etc. - Removes console background color for better compatibility with different console themes (#257).
- Outputs the configured log level on execution.
1.0.0-beta.63
- Fixed generation of document source paths for symbols in
AnalyzeCSharp
to use the symbol ID and generate shorter names so very long symbols don't create paths that are too long (#244).