Skip to content

Releases: adamko-dev/dokkatoo

v2.4.0

08 Sep 11:26
d2c167c
Compare
Choose a tag to compare

A minor release, mostly containing version bumps. There are some small fixes.

What's Changed

Fixes

  • When using IntelliJ, Dokkatoo logs a localhost link for easier viewing of the Dokka HTML output. The link was incorrect when the root project name didn't match the project's directory name. This now works. #272
  • If Dokkatoo can't detect the default JDK version, it tells Dokka to use JDK11 for generating links to JDK classes. This has no affect on compilation, only on links to JDK types in generated documentation. #239
  • Easier configuration of DokkaPublication output directory by @aSemy in #270
  • Reduce stdout logging during tests by @aSemy in #273

Docs

  • Fix Typo: add suppressInheritedMembers to example by @illarionov in #271
  • Add Spring Boot to Dokkatoo users by @aSemy in #237
  • Add Cloudflare Web Analytics to Dokkatoo website by @aSemy in #247

Dependency updates

New Contributors

Full Changelog: v2.3.1...v2.4.0

v2.3.1

17 Apr 13:26
8720be1
Compare
Choose a tag to compare

This is a minor patch release of Dokkatoo, containing some minor fixes and improvements.

What's Changed

New Contributors

Dependency updates

Full Changelog: v2.3.0...v2.3.1

v2.3.0

25 Mar 11:44
e31cbc1
Compare
Choose a tag to compare

What's Changed

Key changes:

All changes

Features & Fixes

  • Java projects by @aSemy in #195
  • Add dokkatooPlugin parent Configuration by @aSemy in #196
  • Fix Dokkatoo configurations default visibility by @aSemy in #204

Documentation

Dependencies

GitHub Actions

  • GitHub Actions: allow Gradle Build Cache to be written on release branches, and tags by @aSemy in #185
  • Update actions/upload-artifact action to v4 by @renovate in #171
  • Update gradle/wrapper-validation-action action to v2 by @renovate in #178
  • Update gradle/gradle-build-action action to v3 by @renovate in #180

Full Changelog: v2.2.0...v2.3.0

v2.2.0

05 Mar 13:03
ab2f0d8
Compare
Choose a tag to compare

This release contains

What's Changed

  • release 2.2.0-SNAPSHOT by @aSemy in #163
  • Update dependency io.ktor:ktor-bom to v2.3.8 by @renovate in #167
  • remove Gradle.rootGradle util by @aSemy in #172
  • Hack attributes to workaround Gradle bugs by @aSemy in #173
  • prevent Kotlin DSL accessor generation for internal BaseDependencyManager by @aSemy in #177
  • Update dependency dev.adamko.dokkatoo:dokkatoo-plugin to v2.1.0 by @renovate in #179
  • Update dependency org.jetbrains.kotlinx:kotlinx-serialization-bom to v1.6.3 by @renovate in #181
  • update Dokka to 1.9.20 by @aSemy in #182
  • release 2.2.0 by @aSemy in #183

Full Changelog: v2.1.0...v2.2.0

v2.1.0

12 Feb 11:37
113efcb
Compare
Choose a tag to compare

This new release of Dokkatoo brings some significant under-the-hood changes.

Automatic all-projects-page-plugin dependency

Manually adding the all-projects-page-plugin is no longer necessary for multi-module projects - please remove this workaround:

 dependencies {
   // If using Dokkatoo v2.1.0+ a manual dependency on all-modules-page-plugin is no longer required:
-  dokkatooPluginHtml(
-    dokkatoo.versions.jetbrainsDokka.map { dokkaVersion ->
-      "org.jetbrains.dokka:all-modules-page-plugin:$dokkaVersion"
-    }
-  )
 }

If necessary, Dokkatoo will detect when all-projects-page-plugin is missing and log a warning to help diagnose problems.

Full Build Cache compatibility

Dokkatoo can now correctly use remote-build cache)

Updated default Dokka version to 1.9.10

If you manually overrode the version of Dokka that Dokkatoo uses and you want to use the default version, you can remove this.)

Improved handling of Android projects

Android projects with variants should be better supported - feedback is appreciated!)

Configurable Worker Isolation

In previous versions Dokkatoo ran Dokka Generator in a process isolated worker. For some projects this might be undesirable.

Dokkatoo can also run Dokka Generator in the current Gradle process, but with an isolated classpath.

// build.gradle.kts

dokkatoo {
  dokkaGeneratorIsolation.set(
    ClassLoaderIsolation()
  )
}

dokkaGeneratorIsolation can also be used to configure the default JVM parameters for running Dokka Generator in Process Isolation mode:

// build.gradle.kts

dokkatoo {
  dokkaGeneratorIsolation.set(
    ProcessIsolation {
      debug.set(false)
      enableAssertions.set(true)
      minHeapSize.set("64m")
      maxHeapSize.set("512m")
      // ...
    }
  )
}

Pull Request details

  • html log link tests and tidying by @aSemy in #124
  • add additional logging for KotlinProjectExtension failures by @aSemy in #125
  • bump Dokka to 1.9.10, plus dependencies by @aSemy in #126
  • automatically add version for Dokka dependencies by @aSemy in #127
  • Automatically add all-modules-page-plugin when aggregating HTML modules by @aSemy in #128
  • enable Renovate dependency updates by @aSemy in #129
  • Update README.md by @martinbonnin in #133
  • Versioning plugin: allow default version order by @martinbonnin in #135
  • Functional tests: assert file existence by @martinbonnin in #134
  • GitHub Actions: fix checkout-ref by @aSemy in #140
  • [test utils] sort file tree entries (so it's stable across OSes) by @aSemy in #138
  • Update dependency io.ktor:ktor-bom to v2.3.7 by @renovate in #141
  • Update dependency dev.adamko.kotlin.binary_compatibility_validator:bcv-gradle-plugin to v0.1.0 by @renovate in #142
  • Update dependency gradle to v8.5 by @renovate in #143
  • Update actions/setup-java action to v4 by @renovate in #146
  • Update actions/upload-pages-artifact action to v3 by @renovate in #147
  • Update actions/deploy-pages action to v3 by @renovate in #145
  • Update actions/checkout action to v4 by @renovate in #144
  • Update android-actions/setup-android action to v3 by @renovate in #148
  • Add option to toggle Dokka Generator Worker API isolation by @martinbonnin in #136
  • add JetBrains Space publishing and consuming by @aSemy in #149
  • publish to and use GCP maven repo by @aSemy in #151
  • Update mikepenz/action-junit-report action to v4 by @renovate in #152
  • fix worker jvm args by @aSemy in #153
  • sync dependency versions with Dokka by @aSemy in #154
  • refactor how Android projects are handled by @aSemy in #150
  • Relocatable build cache v3 by @aSemy in #155
  • log a warning if all-modules-page-plugin is missing by @aSemy in #158
  • Updated automatic all-modules-page-plugin management by @aSemy in #159
  • Update gradlePlugin.android to v8.2.2 by @renovate in #160

New Contributors

Full Changelog: v2.0.0...v2.1.0

v2.0.0

15 Sep 12:32
Compare
Choose a tag to compare

A big update!

Summary

  • Dokkatoo now supports Dokka 1.9.0 by default
  • Minimum supported version of Gradle is 8.0
  • Deprecated functions have been removed

What's Changed

New Contributors

Full Changelog: v1.6.0...v2.0.0

v1.6.0

27 Jun 15:54
792cdae
Compare
Choose a tag to compare

Some minor bug fixes.

What's Changed

  • improve localhost link logging by increasing the ServerActiveCheck timeout #100
  • Integration Test setup: fix relative path error for Android SDK #102
  • fix #99 fetching Android classes from subprojects #101
  • fix #98 add readme.txt to Javadoc JAR #103

Full Changelog: v1.5.0...v1.6.0

v1.5.0

14 Jun 16:48
e3b85e4
Compare
Choose a tag to compare

Incremental improvements to Dokkatoo. The most significant change is that Dokkatoo now uses Dokka 1.8.20 by default.

What's Changed

  • improve URL logging link by @aSemy in #87
  • update Dokka version to 1.8.20 by @aSemy in #89
  • bump Kotest, Dokkatoo, Gradle Plugin Publish, KxS, Dokka by @aSemy in #90
  • move :docs into modules dir by @aSemy in #93
  • Create script for releasing by @aSemy in #92

Full Changelog: v1.4.0...v1.5.0

v1.4.0

02 Jun 15:16
Compare
Choose a tag to compare

This is a big release! Lots of fixes, and some deprecations.

  • Support for Android projects has been improved.
  • Minimum supported Android Gradle Plugin version changed from 4.0.1 to 4.2.2
  • java.net.URL have been replaced with java.net.URI, to better support Gradle caching
  • Dokkatoo's DSL has been improved so that Gradle will generate more type-safe accessors.
  • Lots of build config updates to make configuring the projects used for integration tests easier to manage
  • DokkatooPrepareParametersTask and DokkatooTask.WithSourceSets have been deprecated, so as to better support Gradle caching. This should only impact those who were manually configuring the tasks rather than using the extension DSL, which I suspect no one is doing.

Thanks to @martinbonnin, @hfhbd, and @EdricChan03 for their help with reporting and tracking down bugs!

What's Changed

  • Fix DokkaGenerator not clearing deleted files by @aSemy in #60
  • Mention all-modules-page-plugin in README.md by @martinbonnin in #62
  • Feat/improve plugin DSL by @aSemy in #63
  • Replace URL with URI by @martinbonnin in #65
  • fix typo in package, distibutions -> distributions by @aSemy in #74
  • big refactor of Parameter/Generator tasks, to better support Grade caching by @aSemy in #69
  • Update logo by @aSemy in #75
  • update IJ excludes, to be a little more simple & comprehensive by @aSemy in #79
  • refactor example projects Gradle utils by @aSemy in #80
  • Fix/unknown Android classes by @aSemy in #76
  • remove NDOC extensions from tasks by @aSemy in #81
  • Fix workaround for nested module directories by @aSemy in #85
  • fix convention for package-list URL by @aSemy in #86

New Contributors

Full Changelog: v1.3.0...v1.4.0

v1.3.0

27 Apr 12:08
Compare
Choose a tag to compare

What's Changed

This release contains some under-the-hood fixes for Kotlin Multiplatform and Android projects.

There is one breaking change:

There is one deprecation:

Summary

  • Fix: don't filter subprojects out from a KSS classpath by @aSemy in #58
  • Refactor DokkatooKotlinAdapter, fix AndroidJVM target, add DokkatooAndroidAdapter by @aSemy in #59

Full Changelog: v1.2.0...v1.3.0