From 71f43a1c262f806507e7ea0e7837b7fb1968f5ef Mon Sep 17 00:00:00 2001 From: Jens Halm <3116929+jenshalm@users.noreply.github.com> Date: Sun, 1 Dec 2019 17:42:05 +0000 Subject: [PATCH] release version 0.12.1 --- README.md | 8 ++++---- build.sbt | 2 +- docs/introduction/intro.md | 18 ++++++++++++++---- docs/using-laika/embedded.md | 4 ++-- docs/using-laika/output.md | 4 ++-- docs/using-laika/sbt.md | 2 +- 6 files changed, 24 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 3e6f2a222..ebdcbb7da 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ the final release for Scala 2.10 and sbt 0.13 was 0.7.0. Add the plugin to `project/plugins.sbt`: ```scala -addSbtPlugin("org.planet42" % "laika-sbt" % "0.12.0") +addSbtPlugin("org.planet42" % "laika-sbt" % "0.12.1") ``` Enable the plugin in your project's `build.sbt`: @@ -49,7 +49,7 @@ first, as there were significant changes in the Library API. Adding the Laika dependency to your sbt build: ```scala -libraryDependencies += "org.planet42" %% "laika-core" % "0.12.0" +libraryDependencies += "org.planet42" %% "laika-core" % "0.12.1" ``` Example for transforming Markdown to HTML: @@ -71,7 +71,7 @@ For file/stream IO, parallel processing and/or EPUB support, based on cats-effec add the laika-io module to your build: ```scala -libraryDependencies += "org.planet42" %% "laika-io" % "0.12.0" +libraryDependencies += "org.planet42" %% "laika-io" % "0.12.1" ``` Example for transforming an entire directory of markup files to a single EPUB file: @@ -104,7 +104,7 @@ val res: IO[Unit] = transformer When using Laika's PDF support you need to add one more dependency to your build: ```scala -libraryDependencies += "org.planet42" %% "laika-pdf" % "0.12.0" +libraryDependencies += "org.planet42" %% "laika-pdf" % "0.12.1" ``` The example for how to transform a directory of input files into a PDF file looks diff --git a/build.sbt b/build.sbt index e3445b287..27cf6304e 100644 --- a/build.sbt +++ b/build.sbt @@ -1,5 +1,5 @@ lazy val basicSettings = Seq( - version := "0.13.0-SNAPSHOT", + version := "0.12.1", homepage := Some(new URL("http://planet42.github.io/Laika/")), organization := "org.planet42", organizationHomepage := Some(new URL("http://planet42.org")), diff --git a/docs/introduction/intro.md b/docs/introduction/intro.md index 629a6125d..864931497 100644 --- a/docs/introduction/intro.md +++ b/docs/introduction/intro.md @@ -37,7 +37,7 @@ the final release for Scala 2.10 and sbt 0.13 was 0.7.0. Add the plugin to `project/plugins.sbt`: - addSbtPlugin("org.planet42" % "laika-sbt" % "0.12.0") + addSbtPlugin("org.planet42" % "laika-sbt" % "0.12.1") Enable the plugin in your project's `build.sbt`: @@ -56,7 +56,7 @@ first, as there were significant changes in the Library API. Adding the Laika dependency to your sbt build: - libraryDependencies += "org.planet42" %% "laika-core" % "0.12.0" + libraryDependencies += "org.planet42" %% "laika-core" % "0.12.1" Example for transforming Markdown to HTML: @@ -75,7 +75,7 @@ Example for transforming Markdown to HTML: For file/stream IO, parallel processing and/or EPUB support, based on cats-effect, add the laika-io module to your build: - libraryDependencies += "org.planet42" %% "laika-io" % "0.12.0" + libraryDependencies += "org.planet42" %% "laika-io" % "0.12.1" Example for transforming an entire directory of markup files to a single EPUB file: @@ -105,7 +105,7 @@ Example for transforming an entire directory of markup files to a single EPUB fi When using Laika's PDF support you need to add one more dependency to your build: - libraryDependencies += "org.planet42" %% "laika-pdf" % "0.12.0" + libraryDependencies += "org.planet42" %% "laika-pdf" % "0.12.1" The example for how to transform a directory of input files into a PDF file looks the same as the EPUB example, apart from swapping `EPUB` for `PDF` @@ -203,6 +203,16 @@ Road Map Release History --------------- +* __0.12.1__ (Dec 1, 2019): + + * Fixes and Improvements for the new HOCON parser introduced in version 0.12.0 + * Significant improvements for error messages in HOCON parser + * Fixes for nested self references, missing optional self references, + and objects without '=' or ':' separator + * Parser Combinators: The '|' alternative parser now keeps the failure with the + most processed characters and not the last one, for improved error messages + * Fix for script tag with attributes not being recognized in verbatim HTML in Markdown + * __0.12.0__ (Oct 30, 2019): * New laika-io Module diff --git a/docs/using-laika/embedded.md b/docs/using-laika/embedded.md index 67854e0cd..aa0a31909 100644 --- a/docs/using-laika/embedded.md +++ b/docs/using-laika/embedded.md @@ -31,7 +31,7 @@ as input, and for HTML as output. EPUB and PDF both require additional modules a First add the dependency to your build: - libraryDependencies += "org.planet42" %% "laika-core" % "0.12.0" + libraryDependencies += "org.planet42" %% "laika-core" % "0.12.1" For most cases where you don't use any of the customization hooks, you should be fine with just these imports: @@ -114,7 +114,7 @@ File/Stream IO and Binary Formats In case you want to transform from files or directories, or use one of the binary formats like EPUB or PDF, you need to add another dependency to your build: - libraryDependencies += "org.planet42" %% "laika-io" % "0.12.0" + libraryDependencies += "org.planet42" %% "laika-io" % "0.12.1" This module depends on cats-effect, and models all side effects in an abstract effect, so that you can use it with cats IO, Monix or Zio. diff --git a/docs/using-laika/output.md b/docs/using-laika/output.md index 428d3b4ac..53c28f349 100644 --- a/docs/using-laika/output.md +++ b/docs/using-laika/output.md @@ -151,7 +151,7 @@ See [Using the sbt Plugin] for more details. If you want to produce EPUB files with the library API, the `laika-io` module is required for the binary output: - libraryDependencies += "org.planet42" %% "laika-io" % "0.12.0" + libraryDependencies += "org.planet42" %% "laika-io" % "0.12.1" The EPUB renderer can be used with the `Transform` or `Render` APIs: @@ -294,7 +294,7 @@ See [Using the sbt Plugin] for more details. If you want to produce PDF files with the library API, you need to add the `laika-pdf` module to your build: - libraryDependencies += "org.planet42" %% "laika-pdf" % "0.12.0" + libraryDependencies += "org.planet42" %% "laika-pdf" % "0.12.1" The PDF renderer can be used with the `Transform` or `Render` APIs: diff --git a/docs/using-laika/sbt.md b/docs/using-laika/sbt.md index bed2d2b11..a908d93a4 100644 --- a/docs/using-laika/sbt.md +++ b/docs/using-laika/sbt.md @@ -20,7 +20,7 @@ supporting that sbt version. First add the plugin to `project/plugins.sbt`: - addSbtPlugin("org.planet42" % "laika-sbt" % "0.12.0") + addSbtPlugin("org.planet42" % "laika-sbt" % "0.12.1") If you want to install it globally, add the line above to `~/.sbt/1.0/plugins/build.sbt` instead.