Closed jenshalm closed 11 months ago
This is the final planned coding PR for 1.0. It's simply a final batch of changes for names of types and methods for consistency in naming conventions or for better API docs (e.g. moving some types into companions).
Renaming
RenderContext
Formatter.Context
BinaryPostProcessorBuilder
BinaryPostProcessor.Builder
Font.webCSS
.withWebCSS
Font.embedResource
.withEmbeddedResource
renderMessages
withMessageFilter
failOnMessages
MessageFilter
laika.ast
laika.config
ConfigError
Error
ConfigError.DecodingError
ParserError
RendererError
InvalidInput
InvalidConfig
InvalidElements
New API
Helium.extendWith(Helium => Helium)
This is the final planned coding PR for 1.0. It's simply a final batch of changes for names of types and methods for consistency in naming conventions or for better API docs (e.g. moving some types into companions).
Renaming
RenderContext
->Formatter.Context
BinaryPostProcessorBuilder
->BinaryPostProcessor.Builder
Font.webCSS
->.withWebCSS
Font.embedResource
->.withEmbeddedResource
renderMessages
->withMessageFilter
(in several config types)failOnMessages
->withMessageFilter
(in several config types)MessageFilter
fromlaika.ast
tolaika.config
ConfigError
types to avoid doubleError
postfix (e.g.ConfigError.DecodingError
)ParserError
andRendererError
into traits and use more detailed errors as concrete types:InvalidInput
InvalidConfig
InvalidElements
New API
Helium.extendWith(Helium => Helium)