Releases: statiqdev/Statiq.Framework
Releases · statiqdev/Statiq.Framework
1.0.0-alpha.20
- Split
DefaultFeatures.Commands
intoDefaultFeatures.BuildCommands
,DefaultFeatures.HostingCommands
, andDefaultFeatures.CustomCommands
for finer control. - Renamed
DefaultsToAdd
toDefaultFeatures
. - Adds a new
ThrowException
module that can be used to throw exceptions based on a config value. - Renames
BuildCommand
toPipelinesCommand
. - Refactors default commands by renaming
build
topipelines
and accepting pipelines to execute as an argument (moving the root path to an option). - Added
IBootstrapper.AddCommands<TParent>()
to add all nested class commands of a parent type. - Added
IBootstrapper.AddPipelines<TParent>()
to add all nested class pipelines of a parent type. - Added
Bootstrapper.CreateDefaultWithout()
andIBootstrapper.AddDefaultsWithout()
to create a default bootstrapper without specific components. - Renamed
IBootstrapper.AddBuildCommand()
methods toIBootstrapper.AddPipelineCommand()
.
1.0.0-alpha.19
- Added
StartProcess.WithArgument()
methods to add arguments to the module using a fluent interface. - Added
Config<TValue>.CombineWith()
extensions for combining two configs. - Added
Config<TValue>.Transform()
extensions for transforming from one value to another. - Made
IExecutionContext
(re)implementIMetadata
throughSettings
. - Added
ToString()
overloads toIFileSystemEntry
(can't believe those weren't already there). - Added a
Statiq.Netlify
extension with aDeployNetlifySite
module. IDocument
now implementsIContentProviderFactory
.- Added some additional
IContentProvider
overloads to theDeployAppService
module.
1.0.0-alpha.18
- Updated several low-risk package versions.
- Adds option names to all command option values (#64, thanks @patriksvensson).
- New
serve
command for serving arbitrary folders with a local preview server (#55, #60, thanks @duracellko). - Fix for regression when there are dependencies on pipelines that aren't executing.
1.0.0-alpha.17
- Small -- prefix in console/logs to help indicate when a pipeline phase is finished.
- Set longer timeouts for App Service uploads.
- Added support for uploading a zip file to Azure App Service (useful for artifact-based release processes).
1.0.0-alpha.16
- Fixes a bug in dependency ordering where deployment pipeline output phases were being run too early.
1.0.0-alpha.15
- Added
SetMediaType
module to set the media type without changing the content. - Changed the semantics of
IDocument.ContentProvider
so that it's never null. - Added
IContentProvider.Length
to get the content length without needing to get the stream. - Renamed
AddMetadata
toSetMetadata
to better match other module naming conventions and to reflect the metadata key being set might already exist. - Renamed
ReplaceContent
toSetContent
to better match other module naming conventions. - Removed the pre/post render flag from
ProcessShortcodes
and uses a default delimiter of<?# ... ?>
(the forthcoming site generator will need to define the alternate delimiter for pre-transform shortcodes directly). - Added overloads of methods that create content providers to set the media type.
- Updated all built-in modules to set the media type whenever appropriate.
- Added
IContentProvider.MediaType
to surface the media type of content. - Added a
MediaTypes
static class that contains an exhaustive set of media type (MIME) mappings by file extension. - Added a
DeploySearchIndex
module that deploys an Azure search index from input document metadata. - Added a
deploy
command that executes deployment pipelines. - Added a new
ExecutionPolicy.Normal
policy and changedExecutionPolicy.Default
to specify different behavior depending on if the pipeline is a deployment pipeline.
1.0.0-alpha.14
- The string overload of
SetDestination
now takes either an extension or a path distinguished by a preceding dot. - Updated Statiq.Razor to 3.0 libraries.
- Updated Statiq.Hosting to 3.0 libraries.
1.0.0-alpha.13
- Fixes
ExecuteIf
to work when there are no input documents and the config doesn't require one. - Fixes bug calculating command name for generic command types.
- Refactors
CreateDocuments
and adds additional config-based overloads.
1.0.0-alpha.12
- Changed
IBoostrapper.ConfigureSettings()
to use a newIConfigurationSettings
object that exposes the settings and the underlyingIConfiguration
- Renamed the execution-time
IConfigurationSettings
toIReadOnlyConfigurationSettings
and introduced a new mutableIConfigurationSettings
to use in the bootstrapper. - Several bug fixes related to settings and configuration.
1.0.0-alpha.11
- Changed
IBootstrapper.AddSettings()
calls to run after other configuration. - Adds a single pattern overload to
ReadFiles
. - Some refactoring of the base
Pipeline
class (most importantly to remove theDependencies
setter in favor of adding to the existing hash set). - Adds
IReadOnlyApplicationState.IsCommand()
to determine the current command.