b9 v0.5.62 Release Notes
-
Rewrite
B9.Shake.SharedImageRules
in line with Shake's example for custom rulesReplace
ConcatableSyntax
by usingBinary
instances, and also- Remove/Inline
encodeSyntax
by usingBinary.encode
- Rename
decodeSyntax
todecodeOrFail'
and delegate toBinary.decodeOrFail
.
- Remove/Inline
Add a newtype wrapper around
YamlObject
for cloud-init yaml documentsCloudConfigYaml
This new type serves the purpose of add the
#cloud-config
line to the top of the generated yaml document, as required by cloud-init.The
Binary
instance adds this header line and delegates the rendering of the yaml document toYamlObject
.โ Remove the rendering of this header line in the
YamlObject
Binary
instance.๐ Rename
RenderYaml
toRenderYamlObject
In order to prevent unexpected runtime behaviour in code that uses this library.Introduce the type
Environment
that replaces the ubiquotus[(String, String)]
by a lazyText
basedHashMap
.โ Add
addLocalPositionalArguments
๐ Rename the previous
B9.Artifact.Content
toB9.Artifact.Content
Introduce
ContentGenerator
as an open, extensible alternative toContent
,AST
andCanRender
in the moduleB9.Artifact.Content
๐จ Rename-and-Split refactor
B9.ArtifactSource{Impl}
toB9.Artifact.Generator.{..}
๐ Move
CanRender
fromB9.Artifact.Content.AST
toB9.Artifact.Content
โ Switch to lazy
Text
s andByteString
s where possible, since B9 might read/generate large files.๐ Rename
CanRender
toToContentGenerator
and change the method signatur to return the newContentGenerator
type๐ Fix spelling: Rename B9Invokation to B9Invocation
๐ Rename
FromAST
toFromAST
Rearrange modules for content generation:
- Introduce
Content.FromByteString
- Remove deprecated
Concatenation
- Introduce