Skip to content

Commit

Permalink
release version 0.18.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshalm committed Dec 12, 2021
1 parent 16cc1a7 commit e508502
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Toolkit for transforming lightweight text markup and template based site and e-b
Latest Release
--------------

The latest release is version **0.18.0**.
The latest release is version **0.18.1**.

The library is published to Maven Central for Scala 3, 2.13, 2.12 and supports cats-effect 3.x and Scala.js 1.x.
The sbt plugin is published for sbt 1.x.
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import sbt.Keys.{artifactPath, crossScalaVersions}
import Dependencies._

lazy val basicSettings = Seq(
version := "0.18.1-SNAPSHOT",
version := "0.18.1",
homepage := Some(new URL("https://planet42.github.io/Laika/")),
organization := "org.planet42",
organizationHomepage := Some(new URL("http://planet42.org")),
Expand Down
2 changes: 1 addition & 1 deletion docs/src/02-running-laika/01-sbt-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ supporting that sbt version.
First add the plugin to `project/plugins.sbt`:

```scala
addSbtPlugin("org.planet42" % "laika-sbt" % "0.18.0")
addSbtPlugin("org.planet42" % "laika-sbt" % "0.18.1")
```

Then enable the plugin in your project's `build.sbt`:
Expand Down
8 changes: 4 additions & 4 deletions docs/src/02-running-laika/02-library-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ If you want to stick to pure transformations from string to string and don't nee
any of the binary output formats like EPUB or PDF, you are fine with just using the `laika-core` module:

```scala
libraryDependencies += "org.planet42" %% "laika-core" % "0.18.0"
libraryDependencies += "org.planet42" %% "laika-core" % "0.18.1"
```

This module is also 100% supported for Scala.js, so you can alternatively use the triple `%%%` syntax
if you want to cross-build for Scala.js and the JVM:

```scala
libraryDependencies += "org.planet42" %%% "laika-core" % "0.18.0"
libraryDependencies += "org.planet42" %%% "laika-core" % "0.18.1"
```

If you want to add support for file and stream IO and/or output in the EPUB format,
you need to depend on the `laika-io` module instead:

```scala
libraryDependencies += "org.planet42" %% "laika-io" % "0.18.0"
libraryDependencies += "org.planet42" %% "laika-io" % "0.18.1"
```

This depends on `laika-core` in turn, so you always only need to add one module as a dependency and will get
Expand All @@ -43,7 +43,7 @@ are in JVM land here.
Finally PDF support comes with its own module as it adds a whole range of additional dependencies:

```scala
libraryDependencies += "org.planet42" %% "laika-pdf" % "0.18.0"
libraryDependencies += "org.planet42" %% "laika-pdf" % "0.18.1"
```

Again, this builds on top of the other modules, so adding just this one dependency is sufficient.
Expand Down
19 changes: 19 additions & 0 deletions docs/src/07-reference/06-release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@
Release Notes
=============

0.18.1 (Dec 12, 2021)
---------------------

* Scala.js support: this is the first release published for Scala 3 on Scala.js
* Link validation now allows duplicate headers on the same page as long as no internal link points to them
* All tests have been migrated from ScalaTest to munit
* Improvements and fixes for the Helium theme
* The content and landing pages now render properly in portrait mode on phones
* The version dropdown now works correctly on unversioned pages
* Anchor placement for section headers no longer overlaps with header text
* The font for code now falls back to `monospace` for unavailable glyphs
* Other Bugfixes:
* Parser inputs with Windows line breaks led to errors
* `mailto` links were incorrectly validated as internal links
* The `laikaPreview` task of the sbt plugin did not report the port correctly when launching
* The `laikaDescribe` task of the sbt plugin failed in case of non-existing input directories
(which is common when using Laika with mdoc)


0.18.0 (Aug 2, 2021)
--------------------

Expand Down
2 changes: 1 addition & 1 deletion project/ManualSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ object ManualSettings {
width = Some(px(327)), height = Some(px(393)), alt = Some("Laika Logo")
)),
subtitle = Some(text.mainDesc),
latestReleases = Seq(ReleaseInfo("Latest Release", "0.18.0")),
latestReleases = Seq(ReleaseInfo("Latest Release", "0.18.1")),
license = Some("Apache 2.0"),
documentationLinks = Seq(
TextLink.internal(Root / "01-about-laika" / "01-features.md", "Features"),
Expand Down

0 comments on commit e508502

Please sign in to comment.