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
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.