0.20.0 - 2026-07-10
New Features
-
Support both sbt 1 and sbt 2
sbt-github-pagesis now cross-published for both sbt series from a single source tree.sbt series Scala Artifact sbt 1 (1.11.2+) 2.12.20 io.kevinlee:sbt-github-pages_2.12_1.0sbt 2 (2.0.1) 3.8.4 io.kevinlee:sbt-github-pages_sbt2_3addSbtPlugin("io.kevinlee" % "sbt-github-pages" % "0.20.0")resolves the right one for you,
so no change is needed inproject/plugins.sbt.The minimum supported sbt 1 version is unchanged (
1.11.2).Note that building the sbt 2 artifact requires JDK 17 or later, because that is what the
Scala 3.8.4 compiler requires. Using the plugin does not.
Internal
-
All tasks (
publishToGitHubPages,gitHubPagesBranchExists,gitHubPagesGetCurrentBranchand
gitHubPagesCreateGitHubPagesBranchIfNotExist) are now markedDef.uncached. sbt 2 caches every
task by default, which would have made thegit-shelling tasks return stale answers within a
single session, and would have madepublishToGitHubPagesa no-op on its second invocation. -
Replaced
http4s-blaze-clientwithhttp4s-ember-client. Blaze is no longer maintained in step
with the rest of http4s (it is pinned at0.23.17while http4s itself is at0.23.36). -
Added unit tests (hedgehog) and scripted tests for both sbt 1 and sbt 2.