Skip to content

Releases: statiqdev/Statiq.Framework

1.0.0-beta.72

09 Jan 22:06
Compare
Choose a tag to compare
1.0.0-beta.72 Pre-release
Pre-release
  • Added a DocumentSourceComparer class that implements IEqualityComparer<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

26 Sep 19:22
Compare
Choose a tag to compare
1.0.0-beta.71 Pre-release
Pre-release
  • 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 like DateTime.Now), you'll need to switch those to use the -> prefix instead.
  • Updated JavaScriptEngineSwitcher.Core and JavaScriptEngineSwitcher.Jint.
  • Updated highlight.js used in Statiq.Highlight (#269).

1.0.0-beta.70

14 Jun 17:58
Compare
Choose a tag to compare
1.0.0-beta.70 Pre-release
Pre-release
  • 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 the Host setting or otherwise.

1.0.0-beta.69

08 Jun 15:41
Compare
Choose a tag to compare
1.0.0-beta.69 Pre-release
Pre-release
  • Added a configurator for the IEngineManager and a corresponding bootstrapper ConfigureEngineManager() 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

06 Jun 12:13
Compare
Choose a tag to compare
1.0.0-beta.68 Pre-release
Pre-release
  • Improved the HttpClient.SendWithRetryAsync() extension to log retries at the information level since they may indicate other problems, and to retry during internal HttpClient 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

23 May 13:21
Compare
Choose a tag to compare
1.0.0-beta.67 Pre-release
Pre-release
  • Fixed a bug that still resulted in file cleaning even when CleanMode.None is set (I.e. --noclean).
  • RenderMarkdown no longer escapes @ characters inside mailto links (#254).
  • Added a EscapeAtInMarkdown setting that can control @ escaping in Markdown files by the RenderMarkdown module on a file-by-file basis (#254).

1.0.0-beta.66

24 Jan 17:48
Compare
Choose a tag to compare
1.0.0-beta.66 Pre-release
Pre-release
  • 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

29 Dec 20:03
Compare
Choose a tag to compare
1.0.0-beta.65 Pre-release
Pre-release
  • 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 a Task.

1.0.0-beta.64

23 Dec 00:42
Compare
Choose a tag to compare
1.0.0-beta.64 Pre-release
Pre-release
  • Fixed ElseIf when Predicate.RequiresDocument is false in ExecuteIf 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 of DateTime.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

30 Nov 20:41
Compare
Choose a tag to compare
1.0.0-beta.63 Pre-release
Pre-release
  • 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).