github Kotlin/dokka v1.7.0
1.7.0 Beta

latest releases: v1.9.20, v1.9.10, v1.9.0...
22 months ago

Improvements

General

  • Update to Kotlin 1.7.0, IntelliJ Platform 213
  • Support definitely non-nullable types (#2520)
  • Don't expose enum entry constructor arguments, thanks to @ebraminio (#2497)
  • Preserve ordering of enum entries as in source code, previously reversed (#2469)
  • Improve support for inherited Java fields with accessors, now properly interpreted as val/var properties (#2481, #2532, #2540)
  • Skip @Deprecated members with HIDDEN level (#2486)
  • Make rendered default value dependent on source set for expect/actual declarations (#2449)

HTML format

Javadoc format

  • Make Javadoc pages generation deterministic (#2479)
  • Update shipped jQuery to avoid multiple CVEs, thanks to @ToppleTheNun (#1938)

GFM format

  • Support rendering of code blocks and inline code used in KDocs, thanks to @cosinekitty (#2485)

Kotlin-as-Java plugin

Gradle runner

  • Make dokka-analysis dependency compileOnly, this should help avoid compatibility problems if different versions of Kotlin are bundled in Gradle and Dokka (#2521)
  • Enable stricter validation for cacheable Gradle tasks, thanks to @3flex (#2500)
  • Remove unused & redundant dependencies for Gradle runner, thanks to @3flex (#2502)
  • Remove outdated suppression in Gradle runner, thanks to @3flex (#2501)

Fixes

General bugfixes

  • Fixed a compiler deadlock issue which led to stalling builds in some KMP projects (#2480)
  • Fixed incorrect argument names of functional type parameters (#2478)
  • Fixed missing external docs for AndroidX libraries, thanks to @EdricChan03 (#2456)
  • Fixed tests failing on Windows, thanks to @3flex (#2507)

Security

Plugin API

  • Decompose base.ftl template: now header.ftl, footer.ftl and page_metadata.ftl can be overridden individually (#2432)

Other

Thanks to all the contributors!

Don't miss a new dokka release

NewReleases is sending notifications on new releases.