Skip to content

Releases: statiqdev/Statiq.Framework

1.0.0-alpha.20

24 Nov 04:22
Compare
Choose a tag to compare
1.0.0-alpha.20 Pre-release
Pre-release
  • Split DefaultFeatures.Commands into DefaultFeatures.BuildCommands, DefaultFeatures.HostingCommands, and DefaultFeatures.CustomCommands for finer control.
  • Renamed DefaultsToAdd to DefaultFeatures.
  • Adds a new ThrowException module that can be used to throw exceptions based on a config value.
  • Renames BuildCommand to PipelinesCommand.
  • Refactors default commands by renaming build to pipelines 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() and IBootstrapper.AddDefaultsWithout() to create a default bootstrapper without specific components.
  • Renamed IBootstrapper.AddBuildCommand() methods to IBootstrapper.AddPipelineCommand().

1.0.0-alpha.19

22 Nov 04:14
Compare
Choose a tag to compare
1.0.0-alpha.19 Pre-release
Pre-release
  • 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)implement IMetadata through Settings.
  • Added ToString() overloads to IFileSystemEntry (can't believe those weren't already there).
  • Added a Statiq.Netlify extension with a DeployNetlifySite module.
  • IDocument now implements IContentProviderFactory.
  • Added some additional IContentProvider overloads to the DeployAppService module.

1.0.0-alpha.18

08 Nov 03:21
Compare
Choose a tag to compare
1.0.0-alpha.18 Pre-release
Pre-release
  • 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

07 Nov 20:53
Compare
Choose a tag to compare
1.0.0-alpha.17 Pre-release
Pre-release
  • 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

07 Nov 19:07
Compare
Choose a tag to compare
1.0.0-alpha.16 Pre-release
Pre-release
  • Fixes a bug in dependency ordering where deployment pipeline output phases were being run too early.

1.0.0-alpha.15

06 Nov 15:02
Compare
Choose a tag to compare
1.0.0-alpha.15 Pre-release
Pre-release
  • 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 to SetMetadata to better match other module naming conventions and to reflect the metadata key being set might already exist.
  • Renamed ReplaceContent to SetContent 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 changed ExecutionPolicy.Default to specify different behavior depending on if the pipeline is a deployment pipeline.

1.0.0-alpha.14

31 Oct 13:51
Compare
Choose a tag to compare
1.0.0-alpha.14 Pre-release
Pre-release
  • 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

24 Oct 15:48
Compare
Choose a tag to compare
1.0.0-alpha.13 Pre-release
Pre-release
  • 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

23 Oct 18:11
Compare
Choose a tag to compare
1.0.0-alpha.12 Pre-release
Pre-release
  • Changed IBoostrapper.ConfigureSettings() to use a new IConfigurationSettings object that exposes the settings and the underlying IConfiguration
  • Renamed the execution-time IConfigurationSettings to IReadOnlyConfigurationSettings and introduced a new mutable IConfigurationSettings to use in the bootstrapper.
  • Several bug fixes related to settings and configuration.

1.0.0-alpha.11

23 Oct 03:09
Compare
Choose a tag to compare
1.0.0-alpha.11 Pre-release
Pre-release
  • 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 the Dependencies setter in favor of adding to the existing hash set).
  • Adds IReadOnlyApplicationState.IsCommand() to determine the current command.