1.0.0-alpha.2
Pre-release
Pre-release
- 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
andAfterModuleExecution
with ability to override outputs. - Adds a new global event mechanism via
IEventCollection
,IReadOnlyEventCollection
,IEngine.Events
, andIExecutionContext.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 betweenparams IModule[]
andIEnumerable<IModule>
. - Added an implicit operator from
IModule[]
toModuleList
. - Raw application arguments as well as application input are now surfaced through a new
IReadOnlyApplicationState
object in theIExecutionContext
, taking the place of theApplicationInput
property. - Adds a bunch of
Config.FromSettings()
methods that get values from aIReadOnlySettings
. - "Pipeline" is now trimmed from the end of type names when types are added as a pipeline to a pipeline collection.