Skip to content

1.0.0-alpha.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@daveaglick daveaglick released this 18 Sep 17:10
  • Renamed the GitHub project/repo to "Statiq.Framework" to match forthcoming "Statiq.Web" and to distinguish between primary code repos (prefixed by "Statiq.") and themes, etc. Also note the upcoming Statiq app will be known as Statiq Web from now on (as opposed to Statiq Framework).
  • The engine now returns a IPipelineOutputs with the result documents from each pipeline.
  • Adds global events BeforeModuleExecution and AfterModuleExecution with ability to override outputs.
  • Adds a new global event mechanism via IEventCollection, IReadOnlyEventCollection, IEngine.Events, and IExecutionContext.Events.
  • Refactored the base module classes to include a before/after execution method, made the execution methods protected, and renamed the execution methods for clarity.
  • Added property setters with null checks to Pipeline so it works better as a base class and you can define the phase modules directly as properties.
  • Cleaned up ModuleList methods to remove overload ambiguity between params IModule[] and IEnumerable<IModule>.
  • Added an implicit operator from IModule[] to ModuleList.
  • Raw application arguments as well as application input are now surfaced through a new IReadOnlyApplicationState object in the IExecutionContext, taking the place of the ApplicationInput property.
  • Adds a bunch of Config.FromSettings() methods that get values from a IReadOnlySettings.
  • "Pipeline" is now trimmed from the end of type names when types are added as a pipeline to a pipeline collection.